Commit Graph

310 Commits

Author SHA1 Message Date
Artemy
1a48066684 fix(server): title in text output 2024-05-14 13:11:59 +03:00
Artemy
dba42c64b4 fix(plugins): text content output in searx, stackoverflow 2024-05-14 13:05:57 +03:00
Artemy
9a6819e652 feat: auto html-to-text conversion
fixes: #100
2024-05-14 12:56:51 +03:00
Artemy
04322ea3c5 doc: one line logger instead ugly one 2024-05-14 11:12:20 +03:00
Artemy
91cbc415bf fix(sdk): jsx content join
and fix searx search title
2024-05-14 11:05:21 +03:00
Artemy
d4aa5b47a6 doc: fix licenses 2024-05-14 10:17:15 +03:00
Artemy
af0049707a refactor: footer 2024-05-14 10:11:28 +03:00
Artemy Egorov
e4402c5448
Merge pull request #156 from TxtDot/engines-refactor
Add jsx support to engines plugins
2024-05-13 18:43:18 +03:00
Artemy
78e45f3c80 refactor(plugins): stackoverflow rewrite to jsx 2024-05-13 18:42:12 +03:00
Artemy
c2e6475624 refactor(plugins): searx rewrite to jsx
and fix pageno problem
2024-05-13 17:59:31 +03:00
Artemy
3cee45b591 feat(sdk, plugins): jsx support 2024-05-13 16:35:36 +03:00
Artemy
bdf625bb1f refactor: engine output 2024-05-13 13:30:47 +03:00
Artemy
494d1c8134 fix@sdk: types export 2024-05-13 12:54:14 +03:00
Artemy Egorov
1a8eadea7b
Merge pull request #155 from TxtDot/dependabot/npm_and_yarn/dev/linkedom-0.18.0
Build(deps): Bump linkedom from 0.16.11 to 0.18.0
2024-05-13 12:21:00 +03:00
dependabot[bot]
1836571163
Build(deps): Bump linkedom from 0.16.11 to 0.18.0
Bumps [linkedom](https://github.com/WebReflection/linkedom) from 0.16.11 to 0.18.0.
- [Commits](https://github.com/WebReflection/linkedom/compare/v0.16.11...v0.18.0)

---
updated-dependencies:
- dependency-name: linkedom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-13 04:32:02 +00:00
Artemy Egorov
036173ae8e
Merge pull request #154 from TxtDot/dev
Monorepo
2024-05-12 19:43:20 +03:00
Artemy
f20adcc3fd ci: update versions in actions 2024-05-12 17:46:13 +03:00
Artemy
36164f765b ci: fix: docker 2024-05-12 17:39:55 +03:00
Artemy Egorov
fc2576b288
Merge pull request #153 from TxtDot/monorepo
Monorepo
2024-05-12 16:31:08 +03:00
Artemy
c16f3d0266 Update package.json 2024-05-12 16:29:36 +03:00
Artemy
593b4cde4a fix: lock and format 2024-05-12 16:28:25 +03:00
Artemy
30977d1357 refactor: create monorepo 2024-05-12 16:24:50 +03:00
dependabot[bot]
b21ee84629
Build(deps): Bump dompurify from 3.1.1 to 3.1.2 (#152)
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/3.1.1...3.1.2)

---
updated-dependencies:
- dependency-name: dompurify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-12 15:03:52 +03:00
Artemy Egorov
6e9e9a6cc6
Plugins config (#147)
* refactor: rename configs

* refactor: create plugin config

* refactor: universal config

* fix: engine plugins default list
2024-04-27 22:15:19 +03:00
Artemy Egorov
c04ea407ae
Plugins (#146)
* refactor: move engines to the sdk

* refactor: move engines to plugins

* refactor: move engines to plugins

* fix: prettier
2024-04-27 16:21:41 +00:00
Artemy Egorov
4460d3df1d
Webder support (#145)
* Webder support (#144)

* refactor: remove search configuration.

Create third_party

* feat: webder support
2024-04-26 17:08:34 +00:00
dependabot[bot]
6cc3d23b70
Build(deps): Bump follow-redirects from 1.15.5 to 1.15.6 (#113)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.5 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.5...v1.15.6)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-17 10:57:28 +03:00
Artemy Egorov
2fd7ec55c8
v1.7.0 (#105)
* ci: add build check to pull requests

* Build(deps-dev): Bump @types/node from 20.10.6 to 20.11.24 (#91)

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.10.6 to 20.11.24.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feat: image compression (#101)

* feat: image compression

* fix: not compress svg

Maybe we should add a function to disable this fix. Since I noticed that if you compress svg in webp it becomes magically smaller.

* Configuration page (#104)

* feat: image compression

* feat: configuration page

* refactor: json stringify

and change engine buttons to ordered list

* fix: engine distributor matching

* fix: formatting

* build: update txtdot version to 1.7.0

* fix: configuration page title

* doc: features (#102)

* fix: delete islocal from proxy

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-07 12:43:29 +00:00
Artemy Egorov
7c72d985f7
Merge pull request from GHSA-4gj5-xj97-j8fp
* ci: add build check to pull requests

* Build(deps-dev): Bump @types/node from 20.10.6 to 20.11.24 (#91)

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.10.6 to 20.11.24.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feat: image compression (#101)

* feat: image compression

* fix: not compress svg

Maybe we should add a function to disable this fix. Since I noticed that if you compress svg in webp it becomes magically smaller.

* Configuration page (#104)

* feat: image compression

* feat: configuration page

* refactor: json stringify

and change engine buttons to ordered list

* fix: engine distributor matching

* fix: formatting

* build: update txtdot version to 1.7.0

* fix: configuration page title

* doc: features (#102)

* fix: ssrf

GHSA-4gj5-xj97-j8fp

Doesn't fully correct the error! You need to configure the server to block requests.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-07 14:49:54 +03:00
Artemy Egorov
f241a46e05
fix: isLocalResourse for proxy (#103)
GHSA-4c78-229v-hf6m
2024-03-05 21:53:40 +03:00
Artemy Egorov
a7fdaf80fd
Fix dependabot (#95)
* Build(deps): Bump linkedom from 0.16.6 to 0.16.8 (#89)

Bumps [linkedom](https://github.com/WebReflection/linkedom) from 0.16.6 to 0.16.8.
- [Commits](https://github.com/WebReflection/linkedom/compare/v0.16.6...v0.16.8)

---
updated-dependencies:
- dependency-name: linkedom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Build(deps-dev): Bump @typescript-eslint/parser from 6.18.0 to 7.1.0 (#88)

Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 6.18.0 to 7.1.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.1.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Build(deps): Bump @fastify/swagger from 8.13.0 to 8.14.0 (#87)

Bumps [@fastify/swagger](https://github.com/fastify/fastify-swagger) from 8.13.0 to 8.14.0.
- [Release notes](https://github.com/fastify/fastify-swagger/releases)
- [Commits](https://github.com/fastify/fastify-swagger/compare/v8.13.0...v8.14.0)

---
updated-dependencies:
- dependency-name: "@fastify/swagger"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Build(deps): Bump @fastify/view from 8.2.0 to 9.0.0 (#86)

Bumps [@fastify/view](https://github.com/fastify/point-of-view) from 8.2.0 to 9.0.0.
- [Release notes](https://github.com/fastify/point-of-view/releases)
- [Commits](https://github.com/fastify/point-of-view/compare/v8.2.0...v9.0.0)

---
updated-dependencies:
- dependency-name: "@fastify/view"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Build(deps-dev): Bump @types/node from 20.10.6 to 20.11.20 (#85)

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.10.6 to 20.11.20.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* ci: fix dependabot branches and create packages in dev

* fix: version link in index

* dep: update eslint-plugin

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-04 08:10:37 +00:00
Artemy Egorov
b8ed1ec711
Update dependabot.yml (#84) 2024-02-27 15:08:55 +00:00
Artemy Egorov
b78da40255
Mass refactoring and stackoverflow users parser (#83)
* refactor: public config

delete public config, replace with package.json. Update version to 1.6.0 for this pull request.

* fix: searx pagination

* refactor: type system for routes

* refactor: universal redirection

* fix: stackoverflow questions

add No handler Found error

* feat: stackoverflow users parser
2024-02-25 18:17:56 +00:00
Artemy Egorov
c9f9e48acb
Engine routing (#82)
* refactor: move engines to folder

* refactor: engine class

* refactor: add distributor and readability, searx engines class

* delete: google engine

useless since searx added

* fix: stackoverflow

* update version
2024-02-17 12:25:54 +00:00
Andrey
92ab68c587
Fix build scripts (#77)
* Copy all templates, fix #76

* copy any folders in templates

---------

Co-authored-by: Artemy <artegoser@gmail.com>
2024-02-14 09:42:48 +00:00
dependabot[bot]
af29af9f16
Build(deps): Bump @fastify/swagger-ui from 2.0.1 to 2.1.0 (#75)
Bumps [@fastify/swagger-ui](https://github.com/fastify/fastify-swagger-ui) from 2.0.1 to 2.1.0.
- [Release notes](https://github.com/fastify/fastify-swagger-ui/releases)
- [Commits](https://github.com/fastify/fastify-swagger-ui/compare/v2.0.1...v2.1.0)

---
updated-dependencies:
- dependency-name: "@fastify/swagger-ui"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-14 10:31:52 +03:00
Artemy Egorov
3b5f402d77
Interface improvements (#74)
* fix: interface style improvements

and components in ejs templates

* fix: improvement of improvements

* Redesign: kind of MD3

* Working url/search switch

* formatting

* Add switch animation, adjust sizes, adjust btn colors, rename bg2 to outline

* Format

---------

Co-authored-by: DarkCat09 <gh@dc09.ru>
2024-02-14 10:23:13 +03:00
Artemy Egorov
ead78e79ab
Fix connection refusion (#72)
* fix: socket connection refused

* chore: update versions
2024-01-06 18:46:55 +00:00
Artemy Egorov
fa6c9cc2a0
Search by default (#71)
* feat: searx parser

* feat: search form in get page

* feat: search in main page

* fix: button naming

* chore: update version
2024-01-06 17:46:10 +00:00
Artemy Egorov
8524289f55
Code format (#69)
* ci: format

* Create format-check.yml

* Update package.json

* format
2023-12-14 14:27:23 +04:00
Artemy Egorov
8f707c800e
Timeout (#70)
* fix: long response time due to many <a>...

... without hrefs. It's a temporary measure until it's clear how to deal with such performance issues.

* perf: remove jsdom install linkedom

* feat: timeout

But still this timeout works only for the time of transfer of the page itself, not its processing by the server

* fix: links

* format
2023-12-13 21:08:24 +04:00
Andrey
b805f19f78
Merge pull request #66 from TxtDot/artegoser-patch-1
Create dependabot.yml
2023-11-17 18:28:25 +00:00
Artemy Egorov
bc59e73c89
Create dependabot.yml 2023-11-11 18:05:49 +03:00
Artemy Egorov
0b6087d2ab
Merge pull request #65 from TxtDot/npm-upd
NPM deps updated
2023-11-11 18:03:23 +03:00
DarkCat09
17ada35e7a
Updated deps, cleanup 2023-11-10 18:11:04 +04:00
DarkCat09
60c7ed6e98
Update: dompurify 2023-11-10 18:04:56 +04:00
DarkCat09
7fd791c8a3
Security fix: Axios updated 2023-11-10 18:03:02 +04:00
Artemy Egorov
c64eef7794
Merge pull request #64 from TxtDot/compose-upd
Updated docker-compose
2023-09-28 11:04:16 +03:00
DarkCat09
272613e099
Fix: .env config path 2023-09-26 17:45:17 +04:00
DarkCat09
51bcc663b6
Compose: use pre-built image on ghcr, pass .env 2023-09-25 12:54:39 +04:00