Commit Graph
5786 Commits
Author SHA1 Message Date
DIYgod dee7da3105 feat: pure esm and typescript routes 2024-03-04 00:17:16 +08:00
DIYgod 9fc6361ef7 Revert "fix: test error"
This reverts commit 310180d61f.
2024-03-03 23:19:59 +08:00
DIYgod 310180d61f fix: test error 2024-03-03 23:11:42 +08:00
DIYgod 38e42156a0 feat: replace jest with vitest 2024-03-03 18:57:07 +08:00
DIYgod 3bfdf9427c feat: new home page 2024-03-03 17:36:08 +08:00
DIYgod 0ab8996f40 feat: remove allowlist and denylist 2024-03-02 21:35:40 +08:00
DIYgod c91c46d888 fix: unclean require 2024-03-02 19:59:27 +08:00
DIYgod 2e5728fd85 feat: unclean routes export 2024-03-02 05:00:59 +08:00
DIYgod c5b37ee8c0 Merge remote-tracking branch 'origin/master' into feature/esm 2024-03-02 04:56:06 +08:00
DIYgod 1b0acc996b test: import app instead of index 2024-03-02 04:50:51 +08:00
Tony 90d0b33feb fix(route): gamer ani (#14621) 2024-03-02 04:28:57 +08:00
DIYgod 91e6fe3d1a feat: remove unclean require in core 2024-03-02 03:50:42 +08:00
DIYgod a2a3e1b58b feat: remove unclean require in router.js 2024-03-02 03:27:44 +08:00
DIYgod df57bb5d50 feat: esm standard for routes 2024-03-02 03:25:26 +08:00
Tony 8171d927f1 fix(route): migrate tongli (#14618) 2024-03-01 23:57:02 +08:00
DIYgod d88620c39c feat: update esm dependencies 2024-03-01 22:58:04 +08:00
DIYgod a9de313f41 test: robots.txt response content type 2024-03-01 22:09:43 +08:00
DIYgod ed63b7b220 fix: debug.html response content type 2024-03-01 21:59:31 +08:00
DIYgod 68a99bf4d9 feat: logger middleware 2024-03-01 21:42:51 +08:00
DIYgod 7af2a2ae27 feat: use hono compress 2024-03-01 21:11:15 +08:00
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