39 Commits

Author SHA1 Message Date
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
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
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
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
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
DarkCat09
9ffba003e6
Use "swagger" config entry 2023-09-25 11:16:15 +04:00
DarkCat09
1cec7ac3f0
app.ts: unused import 2023-09-22 13:00:44 +04:00
DarkCat09
f56b79c563
getConfig() 2023-09-21 16:28:55 +04:00
DarkCat09
553efb1da6
New config entries 2023-09-21 16:26:32 +04:00
DarkCat09
47e4db1fc8
Proxying 2023-09-21 13:51:25 +04:00
Artemy Egorov
739d029339 refactor: routes 2023-08-26 11:46:36 +03:00
DarkCat09
61d5dc45fe
Shorter config key, comments 2023-08-21 15:30:06 +04:00
Artemy Egorov
51a190b8cb refactor: hide not api routes in swagger 2023-08-20 08:44:48 +03:00
Artemy
08a89190ed fix: proxy url 2023-08-18 11:38:05 +03:00
DarkCat09
48dcd43f63
Refactored config 2023-08-16 18:10:05 +04:00
Artemy
9e29561ad3 refactor: Error Handler 2023-08-16 13:20:24 +03:00
Artemy
af2c964e4d doc: add title, version, description to swagger 2023-08-16 12:15:51 +03:00
Artemy
9da9ea3ade feat: swagger-ui
In /doc route
2023-08-16 10:49:55 +03:00
Artemy
4c7571bcfe feat: swagger 2023-08-16 10:36:04 +03:00
Artemy
eafdcf6240 feat: raw html page
For custom user clients
2023-08-16 09:43:43 +03:00
Artemy
4f5abcbc2d ci: fix path 2023-08-15 17:34:39 +03:00
DarkCat09
aed37d6698
Static content; CSS: dark theme, improvements 2023-08-15 16:57:50 +04:00
DarkCat09
871a3cecfd
Refactor: / (main.ts) -> /get (get.ts), /start (start.ts) -> / (index.ts) 2023-08-15 16:03:28 +04:00
Artemy
dcac759ded refactor: rename routes 2023-08-14 18:22:03 +03:00
Artemy
c614e51708 feat: start surfing page 2023-08-14 18:08:26 +03:00
Artemy
b62a566aba refactor: remove node-cache
Let nginx or something similar take care of the cache
2023-08-14 16:47:20 +03:00
Artemy
2e1e4d53be fix: fastify listen callback 2023-08-14 16:44:23 +03:00
DarkCat09
94f14d31ab
GET parameters, rendering HTML with ejs 2023-08-14 16:39:40 +04:00
Artemy
1442eed6db format: line breaks 2023-08-14 13:59:32 +03:00
Artemy
ac366d57f6 Merge branch 'main' of https://github.com/TxtDot/txtdot 2023-08-14 13:52:29 +03:00
Artemy
82b53b7dc5 refactor: routes 2023-08-14 13:51:46 +03:00
DarkCat09
5d6f43650f
Refactor: rename minify -> handlePage 2023-08-14 14:46:13 +04:00
DarkCat09
c17bbdbfda
Format: line breaks 2023-08-14 14:44:53 +04:00
Artemy
3a1fac2b65 refactor: rename minify function
rename minify function to getCorrespondingReaderView
2023-08-14 13:07:58 +03:00
Artemy
7fad4874ce refactor: move types into single file 2023-08-14 13:05:34 +03:00
Artemy
25dbad0f3b refactor: fastify migration 2023-08-14 13:03:19 +03:00
Artemy
e15fb2a07b feat: handlers 2023-08-13 21:39:23 +03:00
Artemy
d02317c587 Initial commit 2023-08-13 20:38:33 +03:00