Commit Graph
5766 Commits
Author SHA1 Message Date
DIYgod ba1bdf9bdc feat: use hono context json and text 2024-03-01 20:50:17 +08:00
DIYgod 6cc452bf60 feat: move vercel entrance to api 2024-03-01 02:15:11 +08:00
DIYgod 9169e5fe9b feat: add vercel entrance 2024-03-01 02:11:15 +08:00
DIYgod 6f57c02538 feat: rename routes dir - 2/2 2024-03-01 01:24:49 +08:00
DIYgod 398be0f592 feat: rename routes dir - 1/2 2024-03-01 01:21:28 +08:00
DIYgod 0ae5f09b1f fix: routes import error in node 20 2024-03-01 00:52:53 +08:00
Tony d35c47e444 fix: favicon not found (#14598) 2024-02-29 23:30:36 +08:00
github-actions[bot] 0d79eaec80 style: auto format 2024-02-29 10:58:54 +00:00
DIYgod 9d980d7670 feat: v3 migration - 16/n 2024-02-29 18:49:27 +08:00
DIYgod 300d450fe0 feat: v3 migration - 15/n 2024-02-29 18:07:33 +08:00
DIYgod 9787a92c84 feat: v3 migration - 14/n 2024-02-29 18:02:51 +08:00
DIYgod 05f5f50206 Merge remote-tracking branch 'origin/master' into feature/hono 2024-02-29 17:44:22 +08:00
DIYgod 735904a630 feat: v3 migration - 13/n 2024-02-29 17:33:33 +08:00
github-actions[bot] 29276d8399 style: auto format 2024-02-29 03:37:39 +00:00
shiquda aae92ab9c0 feat(route): tongji/bks (#14558)
* feat(route): tongji/bks

* chore: format corrections

* Update lib/v2/tongji/radar.js

---------
2024-02-29 11:35:42 +08:00
tssujt 0a9f1f8067 feat(route): Add wmpvp (#14586) 2024-02-29 11:02:52 +08:00
1badc67a6a feat(route): Telegram Channels (with video and files) (#13255)
* add tg via client library for full-res video + photo support

* fix expiring links

* fix photo downloads

* add inline thumbnails

* document thumbnails + streaming cache lock workaround

* true streaming support via Range requests

* add radar rules

* parse entities in messages to html

* tune chunking for video downloads

* add CLI option to generate TG_SESSION

* update pnpm-lock.yaml

* update telegram

* fix console usages

* remove unnecessary comment

* add english docs

* respond to review comments

* update pnpm-lock.yaml

* fix linting

* backwards compatibility for routeParams

* fix linting

* tune requestSize for smoother streaming

* fix incorrect tail post handling

* fix apiId env var bug

* html.unparse must be called on stripped text, not source markdown

* fix video streaming (requestSize is raw TL `limit`, chunkSize auto-aligns offsets by gramjs)

* replace newlines with <br> in messages because unparse doesn't do that

* must be replaceAll \n to <br/>

* Apply suggestions from code review

avoid unnecessarily starting gramjs

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* docs: fix docs

* fix import core router

* docs: fix docs merge

* fix: eslint

* fix: guard media access with key

* docs: fix maintainer

* chore: fix pnpm @babel/*

---------

Co-authored-by: syn <syn@localhost.localdomain>
2024-02-29 10:00:28 +08:00
Keo 645e6c0be9 feat(route): add 刺猬猫 (#14592)
* add 刺猬猫

* fix getting chapter content

* add docs & radar; fix image

* update default limit

* do not fetch chapter content if chapter is locked
2024-02-29 08:52:24 +08:00
Tony cbbd82918e feat: internal media proxy (#14593)
* feat: image proxy

* feat: use Map

* docs: add docs

* fix: change config name

* Add lightnovel.us as a media source

* fix: break hostname extraction

* feat: add psl for more accurate domain extraction

* feat: split referer map

* perf(deps): replace `psl` with `tldts`

* fix: add indienova.com to referer map
2024-02-29 08:38:15 +08:00
Keo e41ed0c48a feat(route): add 欢乐书客 (#14591)
* feat(route): add 欢乐书客

* update radar

* rm redundant code
2024-02-29 04:41:18 +08:00
DIYgod ce80d52dbf feat: v3 migration - 12/n 2024-02-29 02:50:25 +08:00
DIYgod df4433789b feat: v3 migration - 11/n 2024-02-29 02:15:07 +08:00
DIYgod 2092fcec37 feat: v3 migration - 10/n 2024-02-29 00:55:47 +08:00
Keo 09cf6dbdd2 feat(route): add sfacg (#14579)
* feat(route): add sfacg

* refactor code

* feat: add radar.js

* update description

* add feed desc & img

* update radar.js

* update http url replacement

* fix: radar

* fix: maintainer

---------
2024-02-29 00:46:00 +08:00
Ethan Shen b735b645d8 feat(route): add TV Tropes Featured (#14574)
* feat(route): add TV Tropes Featured

* fix typo

---------
2024-02-29 00:28:02 +08:00
DIYgod 46701c20de feat: v3 migration - 9/n 2024-02-29 00:16:32 +08:00
github-actions[bot] 3676871a7d style: auto format 2024-02-28 16:10:37 +00:00
cnkmmk f02487a97c feat(route): add 赵容部落 (#14580) 2024-02-29 00:08:40 +08:00
DIYgod ac7cb259fc Merge remote-tracking branch 'origin/master' into feature/hono 2024-02-28 23:57:29 +08:00
DIYgod b621d38e51 feat: v3 migration - 8/n 2024-02-28 23:49:11 +08:00
DIYgod 5e2986fcd9 feat: v3 migration - 7/n 2024-02-28 21:07:10 +08:00
DIYgod e288e29ecc feat: lazy load route 2024-02-28 20:53:29 +08:00
DIYgod 3eb1545bc5 feat: v3 migration - 6/n 2024-02-28 19:40:21 +08:00
DIYgod e5397f9e3e feat: export common-utils 2024-02-28 19:34:15 +08:00
DIYgod db9e515c7c feat: v3 migration - 5/n 2024-02-28 19:31:09 +08:00
DIYgod 7a719369be feat: v3 migration - 4/n 2024-02-28 16:51:42 +08:00
DIYgod fdf3fcac57 feat: v3 migration - 3/n 2024-02-28 16:33:13 +08:00
DIYgod 185b5d1441 feat: v3 migration - 2/n 2024-02-28 16:26:24 +08:00
DIYgod c88553b225 feat: v3 migration - 1/n 2024-02-28 16:25:59 +08:00
DIYgod 85ad31e260 feat: render export 2024-02-28 14:58:50 +08:00
randompasser a98079239b feat(route/pcr/news): Fetch full text (#14559)
* feat(route/pcr/news): Fetch full text

* fix(route/pcr/news): add missing language code

* fix(route/pcr/news) Use cache.tryGet()

* refactor: migrate to v2

---------
2024-02-28 02:39:33 +08:00
moemoe af87f6be1c fix(route): 2048/:type (#14572) 2024-02-27 23:10:30 +08:00
DIYgod e3df4f4673 refactor: eslint warning 2024-02-27 00:57:51 +08:00
DIYgod c975400b4c refactor: remove useless router 2024-02-26 22:54:02 +08:00
DIYgod 765c6777f8 Merge remote-tracking branch 'origin/master' into feature/hono 2024-02-26 22:51:20 +08:00
DIYgod 5645b8466a test: mock client ip 2024-02-26 22:38:18 +08:00
DIYgod 373b188e0c test: timezone 2024-02-26 22:05:03 +08:00
DIYgod 1cbefd4ae7 refactor: rename sentry middleware 2024-02-26 21:32:37 +08:00
DIYgod a6b7b17131 feat: use @fullerstack/nax-ipware and add helpers test 2024-02-26 21:30:38 +08:00
storytellerF 51f79ef184 feat(router/u3c3): support preview (#14548)
* feat(router/u3c3): support preview

* fix(router/u3c3): modify route maintainer
2024-02-26 20:38:26 +08:00