Commit Graph

52 Commits

Author SHA1 Message Date
Artemy
9ad4d3d353 refactor: move to utils 2023-08-17 17:06:21 +03:00
DarkCat09
d498488875
Bugfix: disallow proxying of local resources 2023-08-17 18:00:39 +04:00
DarkCat09
48dcd43f63
Refactored config 2023-08-16 18:10:05 +04:00
Artemy Egorov
0750485e4b
Merge pull request #18 from TxtDot/styling2
Completed styling
2023-08-16 14:33:08 +03:00
Artemy
9e29561ad3 refactor: Error Handler 2023-08-16 13:20:24 +03:00
DarkCat09
22b8af4012
Menu in /get 2023-08-16 14:08:53 +04:00
Artemy
399992fce0 fix: imports 2023-08-16 12:23:14 +03:00
Artemy
d873be0226 Merge branch 'main' into non-html 2023-08-16 12:21:06 +03:00
DarkCat09
ebc0552169
Custom exceptions, redirect in case of non-html content 2023-08-16 13:17:47 +04:00
Artemy
af2c964e4d doc: add title, version, description to swagger 2023-08-16 12:15:51 +03:00
Artemy
b0bbcd0bba doc: all available pages schema 2023-08-16 12:07:12 +03:00
Artemy
20755f2b89 doc: schema for get 2023-08-16 11:54:22 +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
DarkCat09
367565a799
Small code cleanup, generateRequestUrl 2023-08-15 19:42:48 +04:00
Artemy
2efe1091f8 fix: add value to input in google search 2023-08-15 17:39:57 +03:00
Artemy
4f5abcbc2d ci: fix path 2023-08-15 17:34:39 +03:00
Artemy
c70a84db52 fix: update redirect link 2023-08-15 16:26:36 +03:00
DarkCat09
aed37d6698
Static content; CSS: dark theme, improvements 2023-08-15 16:57:50 +04:00
DarkCat09
e4c711336f
Fix: template paths 2023-08-15 16:19:02 +04:00
DarkCat09
871a3cecfd
Refactor: / (main.ts) -> /get (get.ts), /start (start.ts) -> / (index.ts) 2023-08-15 16:03:28 +04:00
DarkCat09
4dbc4fc8a0
Basic HTML + CSS; description moved to template 2023-08-15 15:55:18 +04:00
DarkCat09
f688304c07
Fixed HTML formatting; added description 2023-08-15 14:57:10 +04:00
Artemy
1630dbfa17 fix: lang, textContent 2023-08-15 13:37:21 +03:00
Artemy
23a6484e20 feat: dynamic engine list in start page 2023-08-15 13:11:09 +03:00
Artemy
7000189d6d feat: google parsing and search 2023-08-15 13:05:06 +03:00
Artemy
239994ac5e refactor: change handlers argument to window 2023-08-15 11:18:08 +03:00
Artemy
dcac759ded refactor: rename routes 2023-08-14 18:22:03 +03:00
Artemy
847ab55a82 Merge branch 'main' into start-surfing 2023-08-14 18:12:37 +03:00
Artemy
c614e51708 feat: start surfing page 2023-08-14 18:08:26 +03:00
Artemy
126a0f1d13 format: delete comment 2023-08-14 17:47:37 +03:00
Artemy
2f67e968c7 feat: change links to proxied 2023-08-14 17:45:19 +03:00
Artemy
27d0db2f6f refactor: move request to handlePage 2023-08-14 16:54:05 +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
974ef6cd6a refactor: handlePage
throw error when invalid engine
2023-08-14 16:45:06 +03:00
Artemy
2e1e4d53be fix: fastify listen callback 2023-08-14 16:44:23 +03:00
DarkCat09
aec8960d32
Merge branch 'main' into new-routing 2023-08-14 16:58:33 +04:00
DarkCat09
94f14d31ab
GET parameters, rendering HTML with ejs 2023-08-14 16:39:40 +04:00
Artemy
5325941078 feat: engine choose 2023-08-14 15:02:52 +03:00
Artemy
ec7d100867 feat: custom axios instance 2023-08-14 14:17:53 +03:00
Artemy
1442eed6db format: line breaks 2023-08-14 13:59:32 +03:00
Artemy
8586178657 refactor: rename getCorrespondingReaderView
rename getCorrespondingReaderView to handlePage
2023-08-14 13:57:03 +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