Commit Graph

274 Commits

Author SHA1 Message Date
dependabot[bot]
5ca900be7d
Build(deps-dev): Bump @typescript-eslint/eslint-plugin
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 7.8.0 to 7.9.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.9.0/packages/eslint-plugin)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-20 05:01:32 +00:00
Artemy
150e83e5ea fix(plugins, server): remove cdn 2024-05-16 17:00:22 +03:00
Artemy
f23bd51130 fix: remove google fonts 2024-05-16 14:16:42 +03:00
Artemy
8ca194cd38 feat: big badge configuration 2024-05-16 11:32:56 +03:00
Artemy
d4c1a27540 doc: update links, remove not relevant 2024-05-15 17:50:34 +03:00
Artemy Egorov
adde7d96ee
Merge pull request #158 from TxtDot/middlewares
Middlewares
2024-05-15 17:31:10 +03:00
Artemy
736fa9578b feat: fallback engine errors
You can now make engines for individual pages, uncovered pages will be handled by readability or other engines
2024-05-15 17:28:47 +03:00
Artemy
26ed97b4e3 fix(server): content output 2024-05-15 17:20:38 +03:00
Artemy
a98f532cf6 feat: habr navigation
fix: dompurify
fix: middleware processing
2024-05-15 17:06:51 +03:00
Artemy
8be52a0237 fix(server): configuration page 2024-05-15 16:12:48 +03:00
Artemy
d477de027a feat: middlewares
feat: highlighter
2024-05-15 16:09:01 +03:00
Artemy
752939d099 fix(plugins): searx and html2text wrap 2024-05-14 15:52:22 +03:00
Artemy
1d47c66f7d fix(plugins): html2text format 2024-05-14 15:21:39 +03:00
Artemy
41dab54df3 doc: plugin config comments 2024-05-14 14:51:22 +03:00
Artemy
36207f470f fix(server): text links 2024-05-14 13:34:25 +03:00
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
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