Commit Graph
7896 Commits
Author SHA1 Message Date
Ethan Shen 0c19eef4e5 feat(route): add Potplayer Update History (#19330)
* feat(route): add Potplayer Update History

* fix regexp
2025-06-11 00:22:59 +08:00
Andvari 4c7840f6f7 fix(route/cna): Unify full text fetching method (#19346) 2025-06-10 23:35:50 +08:00
白andgithub-actions[bot] 5458b06a85 fix(route): /tju/yzb/:type? (#19347)
* fix(route): /tju/yzb/:type?

* style: auto format

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-06-10 22:24:04 +08:00
DIYgod 4a84b0267a feat: implement enableCluster 2025-06-09 21:55:24 +08:00
Qiang Huang aefd162586 fix(route/smartlink): Preserve queryparams for image URL to work in smartlinkk (#19331) 2025-06-09 00:49:30 +00:00
ziri2004 b777db4448 feat(route): 添加北京邮电大学网安学院通知公告的路由 (#19311)
* Create scss.ts

* Update scss.ts

* Update scss.ts

* Update scss.ts

* Update scss.ts

* Update scss.ts

* Update scss.ts

* Update scss.ts

* Update scss.ts

* Update scss.ts

* Update scss.ts

* Update scss.ts

* Update scss.ts
2025-06-08 22:51:16 +08:00
FrankFaheyandGitButler e29b4d5696 feat(route/gmu): Add GMU routes (#19182)
* Add GMU routes

* fix rules

* fix

* fix some logic errors and redundancies

* update pnpm-lock.yaml to sync with package.json

* fix package.json

* update

* GitButler Workspace Commit

This is placeholder commit and will be replaced by a merge of yourvirtual branches.

Due to GitButler managing multiple virtual branches, you cannot switch back and
forth between git branches and virtual branches easily. 

If you switch to another branch, GitButler will need to be reinitialized.
If you commit on this branch, GitButler will throw it away.

For more information about what we're doing here, check out our docs:
https://docs.gitbutler.com/features/virtual-branches/integration-branch

* add parameters

* fix namespace

* fix type?

* Revert "fix type?"

This reverts commit 9bf7b1f949.

* fix type?

* fix: add newline at end of package.json

---------

Co-authored-by: GitButler <gitbutler@gitbutler.com>
2025-06-08 21:48:35 +08:00
Qiang Huang 9b15262fc9 feat: add route smartlink.bio (#19329) 2025-06-08 16:45:57 +08:00
极致 d5575cf897 feat(route): 添加华为开发者联盟 HarmonyOS 示例代码路由 (#19328)
* feat(route): 添加华为开发者联盟 HarmonyOS 示例代码路由

* Update samplecode.ts

* Update samplecode.ts

* Update lib/routes/huawei/developer/harmonyos/samplecode.ts
2025-06-08 12:24:52 +08:00
Ethan Shen a4cc4204a8 feat(route): add 半月谈 (#19305) 2025-06-07 01:05:49 +08:00
Tony 4e840c617e feat(route): add chiphell (#19304) 2025-06-07 00:37:04 +08:00
Tony 13c47221a7 fix(route/freewechat): add ua (#19303) 2025-06-07 00:25:12 +08:00
CaoMeiYouRen 850fab1484 feat(xiaohongshu): update guid generation for user feeds and notes (#19302) 2025-06-06 23:47:06 +08:00
github-actions[bot] 771df8a0f6 style: auto format 2025-06-06 14:31:28 +00:00
chris zheng 62ae012cc7 feat(route/mangadex): add three new routes and modify one old route for mangadex.org (#18269)
* feat(namespace): add namespace for CJLU

* feat(route): Add route for graduate school of CJLU

为中国计量大学研究生院添加路由
支持将`教师通知`和`研究生通知`页面转化为 RSS 订阅源

* doc: modify discription of some params

修改参数描述

* fix(radar rule): modify radar rule

修改 radar 规则,以正确提供订阅源

* fix: add exception handling

增加异常处理

* chore: optimize conditional logic

优化判断逻辑

* Update lib/routes/cjlu/yjsy/index.ts

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

* fix(radar rule): list all source choices

在 radar 规则中列出全部的类型
修改行尾符为 LF

* fix(example): correct example of the route

订正路由的案例

* chore: add missing namespace information

* fix(mangadex): resolve incorrect route detection

* chore: update route name and include myself as a maintainer

* feat(mangadex): add token retrieval utility base on config

* feat(mangadex): add utility to retrieve user configurations

Added a utility function `getFilteredLanguages` to retrieve filtered languages based on the current user's configuration.

* feat: add `getMangaMeta` utility to retrive metadata for a manga

* refactor: add utility to retrive chapter info for a manga

Original implementation by @vzz64 was embedded in modules.
Extracted the common logic into a standalone function for better code reusability and maintainability.

* refactor(feed util): move the fallback logic into function

Add a docstring to explain its usage

* doc(access util): add docstrings for key function

* refactor: purify result of function

Change result type from object to array by remove `total` param.

* feat(feed util): add support for alternative parameter type

- Add docstring for util functions
- Add a new combination function
- Improve code type inference

* refactor: move constants to separate files for better organization

* feat: modify the route for single manga

- **important**: add a prefix to the route for space for other routes in namespace, not compatiable to former route
- use integrated utility to retrieve details of a single manga

* refactor: move `token expire time` to constant

* docs(access): add Error docstring

* chore: make cover became thumbnail to save bandwidth and better display

* feat: add new route for user follow's list

- support reading, plan to read etc.
- add new optional param  to utility function

* fix: improve perfomance in retrieving manga's meta data

- if cover is needed, use the optional param `includes` to fetch in one request

* refactor: rearrange code

- skip some code for branch without cover needed

* docs: add description for route

* docs: add a detailed param description for route

- offer a default value for param

* feat: add a new constant

* feat: seperate util-function for better organization

- add docstring for `toQueryString`

* feat: add new utility function to fetch manga meta data in batch

* fix: use dynamic key to cache result

- otherwise it may get wrong result with diffrent types
- rearrange the code

* feat: add a new route for all user's followed mangas

* chore: add parameters' desctiption

- offer a more detailed example
- use local constant to maintance limit
- change some code's style

* style: change style in using utility function

* style: refactor query string construction for improved readability

* style: change a variable's name

* feat: add new route for sepecific mdlist feed

* fix: use correct time for pubDate

* fix: use `image` prop to display thumbnail instead of `description`

* refactor(mangadex): improve access token retrieval logic and handle refresh token errors

* refactor(mangadex): replace getMangaMeta with getMangaMetaByIds for improved efficiency

* chore: modify route's decription

* fix: remove unnecessary nullish coalescing in description assignment

* fix: update access token retrieval to use client ID and secret instead of username and password

* fix: correct spellings in definition

* chore: remove unnecessary code

* fix: dedupe ids before fetch manga metas

- add `limit` param to get the full response

* fix: remove wrong suffix

* fix: remove unnecessary code

* chore: remove unnessary code

* fix: set manga and config feed's cache to not refreshable

* fix: remove filteredLanguages option

* fix: remove filteredLanguages option

* fix: add sort operation after dedupe

* style: add trailing comma

* fix: remove common params

* fix: remove unnecessary  code

* fix: remove route's unnecessary name prefix

* fix: change TTL for hot caches

* fix: remove docs for non-exist config

* refactor: fix lint issue for better readability

* fix: ensure cover image is only set if cover filename exists

---------
2025-06-06 22:29:13 +08:00
Kayandpengkai 5789c25726 feat(route): add bfl.ai announcements feed (#19286)
* feat(route): add bfl.ai announcements feed

* fix: address review comments from maintainer

* chore: remove duplicated route files from incorrect directory

---------

Co-authored-by: pengkai <penkai151@qq.com>
2025-06-06 21:36:51 +08:00
Tony 038848a73b feat(gov/customs): add latest docs (#19289)
* feat(gov/customs): add latest docs

* feat(gov/customs): add language property to response
2025-06-06 05:34:52 +08:00
Tony c6de9e45cb feat(civitai): add user article (#19290) 2025-06-06 05:21:15 +08:00
Tony 081d133a1f fix(route/google): fix search (#19288) 2025-06-06 04:09:18 +08:00
Unknown c150211749 feat(twitter): add option to number the medias (#19050)
* feat(twitter): add number to the media

* (feat/twitter): add option `mediaNumber` to number the medias in tweets

--------
2025-06-06 01:08:59 +08:00
Tony e10c3a51ee feat(logger): add debug logging for matched routes (#19287) 2025-06-05 19:55:45 +08:00
Tony f1117bcd1e fix(route/radio): use new api (#19283) 2025-06-05 02:30:56 +08:00
Ethan Shen e98eef7d34 feat(route): add 国立健康危機管理研究機構感染症発生動向調査週報 (#19282) 2025-06-05 01:21:18 +08:00
AiraNadihandAiraNadih 9405ac50b6 feat(route/everia): add latest, category and search routes (#19280)
* feat(route/everia): add latest, category and search routes

* fix(route/everia): correct category and search routes

---------

Co-authored-by: AiraNadih <AiraNadih@users.noreply.github.com>
2025-06-04 23:44:02 +08:00
AiraNadihandAiraNadih 89fe12969f refactor(twitter): reduce token lock time from 24h to 1h (close #17580) (#19274)
Co-authored-by: AiraNadih <AiraNadih@users.noreply.github.com>
2025-06-04 22:45:53 +08:00
sineeeee 4e958708f1 feat(konachan): add SFW option for konachan via /sfw prefix (#19273)
* update post.ts

* update parameter description

* update

* update

* update
2025-06-04 16:12:22 +08:00
KTachibanaM d6c1b77142 feat: add route for everia.club (#19259)
* feat: add route for everia.club

* Apply suggestions from code review

---------
2025-06-04 12:42:25 +08:00
纪华裕 401c0c563f feat(cache): enhance tryGet method to support generic return types (#19261) 2025-06-03 09:37:43 +08:00
Tony c47d19c01d feat(route/meta): ai blog (#19258) 2025-06-03 00:41:22 +08:00
Ethan Shen ca98581d8f feat(route): add Bandisoft History (#19247)
* feat(route): add Bandisoft History

* fix: add verification
2025-06-03 00:22:36 +08:00
DIYgod 7b0a74e1c8 fix(bilibili): dynamic description 2025-06-02 11:19:32 +08:00
zytomorrow 6b0c1abf5c fix(route): /gov/sichuan/deyang/govpublicinfo/绵竹市 (#19246) 2025-06-01 22:11:59 +08:00
Ethan Wong af2252a8c5 feat(route): add hedwig.pub (#19245)
* feat(route): add hedwig.pub

* feat(route): remove deprecated entry

* docs: add author info from #4122
2025-06-01 04:57:19 +08:00
Andvari 2d7aeebbb5 fix(route/stheadline): Adapt to website redirect (#19229)
* fix(route/stheadline): Adapt to website redirect

* .

* fix: add back radar
2025-05-31 22:57:00 +08:00
DIYgod 2dce2e32dd feat: docs sorting and auto popular 2025-05-31 17:10:01 +08:00
纪华裕 1278fdcacd feat(route/thzt): add route and namespace for thzt blog integration (#19244)
* feat(thzt): add route and namespace for thzt blog integration

* fix(thzt): limit the number of articles fetched to 15
2025-05-30 23:08:36 +08:00
DIYgod 025cd6542c fix(github): activity allow empty 2025-05-29 17:52:16 +08:00
DIYgod 5b84d70d27 fix: smzdm 2025-05-29 17:19:00 +08:00
TonyRL 71fc4f44c2 feat(route/youtube): add radar 2025-05-29 05:01:45 +00:00
DIYgod 44aba27033 fix: smzdm 2025-05-29 12:51:04 +08:00
DIYgod 645c202308 fix: zhihu redirection 2025-05-29 12:12:16 +08:00
DIYgod b39937a123 fix: zhihu hot 2025-05-29 12:08:20 +08:00
DIYgod 314f8a6a87 feat: retry bilibili dynami with different cookie 2025-05-29 10:49:16 +08:00
Tony 4cd3cabc2d feat(route): add zongheng (#19226)
* feat(route): add zongheng

* Update lib/routes/zongheng/detail.ts

* Update detail.ts
2025-05-29 07:11:00 +08:00
Tony 5cf663659a fix: add 'networkidle2' option to waitUntil in getPuppeteerPage 2025-05-29 04:02:55 +08:00
DIYgod cf8e3bdf45 feat: bilibili new puppeteer 2025-05-28 22:07:44 +08:00
DIYgod 27305f107a test: fix puppeteer 2025-05-28 21:26:06 +08:00
DIYgod bf3649324b fix: puppeteer proxy regex 2025-05-28 21:12:21 +08:00
DIYgod afbc797334 fix: xsijishe ua 2025-05-28 15:00:09 +08:00
DIYgod 34c43eaa0d fix: puppeteer proxy 2025-05-28 12:51:43 +08:00