Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from diygod:master #38

Open
wants to merge 734 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
734 commits
Select commit Hold shift + click to select a range
fb8e90d
feat(route/pixiv): refactor novels api and add series support (#17532)
Tsuyumi25 Nov 12, 2024
51ab456
feat(route): afr (#17547)
TonyRL Nov 12, 2024
482986d
chore(deps-dev): bump @typescript-eslint/parser from 8.13.0 to 8.14.0…
dependabot[bot] Nov 12, 2024
91d9acc
fix: redirection in router handler
DIYgod Nov 12, 2024
91dbce4
fix: redirect old bilibili ranking route (#17553)
hyoban Nov 12, 2024
03e881a
chore(deps-dev): bump @typescript-eslint/eslint-plugin (#17549)
dependabot[bot] Nov 12, 2024
05acee4
fix(route/mittrchina): update api (#17552)
EsuRt Nov 12, 2024
078fa0c
fix(route): hellogithub 月刊路由增加 pubDate (#17555)
CaoMeiYouRen Nov 12, 2024
d10cd08
feat: add route for HRBEU School of Naval Architecture(哈尔滨工程大学船舶工程学院)…
Chi-hong22 Nov 12, 2024
40d4a1f
fix(route): 修复 部分情况下 url.expanded_url 可能为 undefined 的问题 (#17560)
TonyRL Nov 12, 2024
f4c0c98
feat(route): vertikal (#17561)
TonyRL Nov 12, 2024
dee35fa
fix(route/natgeo): replace got with ofetch for content loading and im…
TonyRL Nov 12, 2024
489630a
feat(route): add Science Tokyo News 東京科学大学ニュース (#17550)
catyyy Nov 13, 2024
f6c2ebb
fix(route/oschina): improve cookie handling (#17564)
TonyRL Nov 13, 2024
1a89886
chore(deps): bump hono from 4.6.9 to 4.6.10 (#17568)
dependabot[bot] Nov 13, 2024
a60b136
chore(deps): bump @hono/node-server from 1.13.6 to 1.13.7 (#17569)
dependabot[bot] Nov 13, 2024
716c0a3
feat(route/caixin): Add support for photos channel. Example: https://…
dzx-dzx Nov 13, 2024
c37d64c
fix: Use renote ID for cross-instance notes (#17572)
Tsuyumi25 Nov 13, 2024
8550150
fix(route/inspirehep): fix getAuthorById custom accept header (#17574)
TonyRL Nov 13, 2024
5ab6618
chore(deps): bump tldts from 6.1.60 to 6.1.61 (#17579)
dependabot[bot] Nov 14, 2024
091ed08
chore(deps): bump undici from 6.20.1 to 6.21.0 (#17578)
dependabot[bot] Nov 14, 2024
44d1333
feat: new router logrocket (#17533)
findwei Nov 15, 2024
2cc724f
fix: example edit or authentication source (#17583)
findwei Nov 15, 2024
481504d
chore(deps-dev): bump eslint-plugin-n from 17.13.1 to 17.13.2 (#17588)
dependabot[bot] Nov 15, 2024
2ec4755
chore(deps-dev): bump discord-api-types from 0.37.104 to 0.37.105 (#1…
dependabot[bot] Nov 15, 2024
a526309
chore(deps): bump codecov/codecov-action from 4 to 5 (#17587)
dependabot[bot] Nov 15, 2024
b857abc
feat(route): javtrailers (#17590)
TonyRL Nov 15, 2024
e8f020e
feat(mastodon): add 'fosstodon.org' to allowed site list
TonyRL Nov 15, 2024
47ae077
feat(route): qstheory magazine (#17591)
TonyRL Nov 15, 2024
99ee9e7
chore: escape HTML entity in route test URL display (#17592)
Tsuyumi25 Nov 15, 2024
4b66586
fix(twitter)!: 修复Twitter 长文本显示不全 (#17596)
lifegpc Nov 15, 2024
adbe01d
feat(route): wallstreetcn (#17597)
TonyRL Nov 15, 2024
682d954
fix(bilibili)!: update article api (#17586)
hyoban Nov 15, 2024
7ce029a
feat(route): add dw route (#17575)
quiniapiezoelectricity Nov 15, 2024
af7e399
style: auto format
github-actions[bot] Nov 15, 2024
b05cb70
chore(deps): bump @eslint/plugin-kit from 0.2.2 to 0.2.3 (#17599)
dependabot[bot] Nov 15, 2024
97cdb21
feat(route): add scu jwc notice (#17014)
Kyle-You Nov 17, 2024
34053ad
feat: add icon for /scu/jwc (#17603)
Kyle-You Nov 17, 2024
ae98fe1
docs: update maintainer github id
TonyRL Nov 18, 2024
ffcc025
chore(deps): bump @hono/zod-openapi from 0.17.0 to 0.17.1 (#17614)
dependabot[bot] Nov 18, 2024
94e3173
chore(deps): bump proxy-chain from 2.5.4 to 2.5.5 (#17616)
dependabot[bot] Nov 18, 2024
1705caa
chore(deps-dev): bump @eslint/eslintrc from 3.1.0 to 3.2.0 (#17612)
dependabot[bot] Nov 18, 2024
25c00b8
chore(deps-dev): bump @eslint/js from 9.14.0 to 9.15.0 (#17613)
dependabot[bot] Nov 18, 2024
f6a6627
chore(deps-dev): bump eslint from 9.14.0 to 9.15.0 (#17615)
dependabot[bot] Nov 18, 2024
437e7ca
revert: "chore(deps-dev): bump eslint from 9.14.0 to 9.15.0 (#17615)"
TonyRL Nov 18, 2024
d9ca0d0
feat(route): patreon (#17621)
TonyRL Nov 18, 2024
e0d9b79
fix(route): 78动漫 (#17598)
nczitzk Nov 18, 2024
100ee1f
feat: add new route about air-level 空气质量 (#17594)
lifetraveler Nov 19, 2024
45f42b4
chore(deps): bump @hono/zod-openapi from 0.17.1 to 0.18.0 (#17632)
dependabot[bot] Nov 19, 2024
9c8e1a1
chore(deps-dev): bump husky from 9.1.6 to 9.1.7 (#17624)
dependabot[bot] Nov 19, 2024
436b7e7
chore(deps-dev): bump @typescript-eslint/parser from 8.14.0 to 8.15.0…
dependabot[bot] Nov 19, 2024
b07054d
chore(deps): bump @opentelemetry/resources from 1.27.0 to 1.28.0 (#17…
dependabot[bot] Nov 19, 2024
245f57c
chore(deps-dev): bump @stylistic/eslint-plugin from 2.10.1 to 2.11.0 …
dependabot[bot] Nov 19, 2024
bc2decf
chore(deps-dev): bump @typescript-eslint/eslint-plugin (#17631)
dependabot[bot] Nov 19, 2024
bf25fba
chore(deps): bump @opentelemetry/sdk-trace-base from 1.27.0 to 1.28.0…
dependabot[bot] Nov 19, 2024
cfa3ea5
chore(deps): bump @opentelemetry/exporter-trace-otlp-http (#17626)
dependabot[bot] Nov 19, 2024
a6c84b2
chore(deps): bump @opentelemetry/exporter-prometheus (#17622)
dependabot[bot] Nov 19, 2024
dde64d8
chore(deps): bump @opentelemetry/sdk-metrics from 1.27.0 to 1.28.0 (#…
dependabot[bot] Nov 19, 2024
877a3ec
chore(deps-dev): bump eslint-plugin-unicorn from 56.0.0 to 56.0.1 (#1…
dependabot[bot] Nov 19, 2024
618cbbd
chore(deps-dev): bump eslint from 9.14.0 to 9.15.0 (#17630)
dependabot[bot] Nov 19, 2024
a41cfc7
fix(youtube): handle empty channel (#17633)
TonyRL Nov 19, 2024
63e4c92
fix(route/xiaohongshu): add current time as pubDate
pseudoyu Nov 20, 2024
210f4d9
feat(route/steam/search): add thumbnails to steam search items (#17638)
dandersch Nov 20, 2024
7e5502f
style: auto format
github-actions[bot] Nov 20, 2024
6b68375
fix: radar rules (#17639)
TonyRL Nov 20, 2024
6940c4a
feat(route): add idolmaster news (#17619)
keocheung Nov 20, 2024
1db3f63
chore(deps-dev): bump vite-tsconfig-paths from 5.1.2 to 5.1.3 (#17641)
dependabot[bot] Nov 20, 2024
7abdf56
chore(deps): bump telegram from 2.26.6 to 2.26.8 (#17642)
dependabot[bot] Nov 20, 2024
be599db
chore(deps): bump re2js from 0.4.2 to 0.4.3 (#17643)
dependabot[bot] Nov 20, 2024
403bf3a
chore(deps): bump hono from 4.6.10 to 4.6.11 (#17646)
dependabot[bot] Nov 20, 2024
c48361a
feat(route): add 「ONE · 一个」http://wufazhuce.com (#17637)
sicheng1806 Nov 20, 2024
26b251e
chore(deps-dev): bump @types/node from 22.9.0 to 22.9.1 (#17644)
dependabot[bot] Nov 20, 2024
4ae91c5
chore(deps): bump xxhash-wasm from 1.0.2 to 1.1.0 (#17647)
dependabot[bot] Nov 20, 2024
84e7a4c
chore(deps): bump @scalar/hono-api-reference from 0.5.159 to 0.5.160 …
dependabot[bot] Nov 20, 2024
c068096
chore(deps): bump title from 3.5.3 to 4.0.0 (#17645)
dependabot[bot] Nov 20, 2024
7e17a50
fix(route/idolmaster): fix doc (#17640)
keocheung Nov 20, 2024
2070264
feat(route): 円谷ステーション (#17650)
KarasuShin Nov 20, 2024
9d7e28c
fix(route): add radar rules for ‘哈尔滨理工大学教务公告’ (#17657)
cscnk52 Nov 21, 2024
0179806
fix(/scu/scupi): optimize the layout (#17653)
sitdownkevin Nov 21, 2024
02501d5
chore(deps): bump tldts from 6.1.61 to 6.1.62 (#17659)
dependabot[bot] Nov 21, 2024
a8303de
chore(deps): bump title from 4.0.0 to 4.0.1 (#17660)
dependabot[bot] Nov 21, 2024
b017246
chore(deps): bump @opentelemetry/semantic-conventions (#17658)
dependabot[bot] Nov 21, 2024
e7d732b
fix(/tongji/sem): Add the correct icon (#17662)
sitdownkevin Nov 21, 2024
5d967b0
revert(route/xiaohongshu): add current time as pubDate (#17665)
KawausoJyou Nov 21, 2024
f9641b5
fix(route): xiaohongshu fulltext add cookie authentication (#17228)
dddaniel1 Nov 21, 2024
790ea65
feat(route/xiaohongshu): merge notes route to user and enable cookie
pseudoyu Nov 21, 2024
e286c77
feat(route/xiaohongshu): add fallback get notes logics
pseudoyu Nov 21, 2024
7416065
feat(route): thepaper user (#17666)
TonyRL Nov 21, 2024
d78a47e
fix(core/cache): update cache key generation to include query limit (…
TonyRL Nov 21, 2024
1ec9ab9
fix(route/xueqiu): fix getting cookie logic (#17675)
Gnosnay Nov 22, 2024
63fae03
refactor(route/xiaohongshu): merge helper methods to util
pseudoyu Nov 22, 2024
cc18b94
chore(deps): bump tldts from 6.1.62 to 6.1.63 (#17679)
dependabot[bot] Nov 22, 2024
436bb11
chore(deps-dev): bump discord-api-types from 0.37.105 to 0.37.107 (#1…
dependabot[bot] Nov 22, 2024
ffb0c90
chore(deps-dev): bump eslint-plugin-n from 17.13.2 to 17.14.0 (#17678)
dependabot[bot] Nov 22, 2024
7c4d3cc
feat(route): add route for social science journals (#17656)
CNYoki Nov 22, 2024
cc23a80
feat(route/pixiv): add language attributes for novels (#17667)
keocheung Nov 22, 2024
f1b270d
feat(route): cybersecurityventures (#17677)
KarasuShin Nov 22, 2024
6dc521e
fix(twitter): set title to author (#17673)
ricklahaye Nov 22, 2024
5cb3437
feat(route): fix syosetu & add more routes (#17500)
Tsuyumi25 Nov 22, 2024
14d49ee
fix(route): linkresearcher (#17681)
KarasuShin Nov 22, 2024
407658b
docs(route/syosetu): add URLs and improve ranking docs (#17686)
Tsuyumi25 Nov 22, 2024
8e9229f
chore: use some lighter dependencies (#17685)
asukaminato0721 Nov 23, 2024
6cdaa3f
fix(cnki): deprecate author articles with `:code`, now use `:name` an…
Derekmini Nov 23, 2024
3db53f5
chore: remove thunder client from devcontainer and gitpod configurati…
TonyRL Nov 23, 2024
0ea051c
feat(dockerhub): 添加 DockerHub 仓库路由 (#17691)
CaoMeiYouRen Nov 24, 2024
a9f4b38
fix(route) ikea/cn/low-price (#17697)
dddaniel1 Nov 24, 2024
334a197
fix: fix dataguidance news feed (#17695)
harveyqiu Nov 24, 2024
ab5b967
fix(route/kcna): Remove juche date parsing (#17694)
dzx-dzx Nov 24, 2024
eb3c9b8
fix(ieee): Restore author.ts (#17688)
Derekmini Nov 25, 2024
5f5eb88
chore(deps-dev): bump got from 14.4.4 to 14.4.5 (#17700)
dependabot[bot] Nov 25, 2024
a5e3eb6
chore(deps-dev): bump @types/node from 22.9.1 to 22.9.3 (#17702)
dependabot[bot] Nov 25, 2024
ebbc4b0
chore(deps): bump tldts from 6.1.63 to 6.1.64 (#17704)
dependabot[bot] Nov 25, 2024
92475ce
chore(deps): bump @scalar/hono-api-reference from 0.5.160 to 0.5.161 …
dependabot[bot] Nov 25, 2024
d17b40b
chore(deps): bump hono from 4.6.11 to 4.6.12 (#17705)
dependabot[bot] Nov 25, 2024
c0c0d11
feat(route/pixiv): add more precise datetime and author name for NSFW…
keocheung Nov 25, 2024
4c3dffa
fix(route/syosetu): HTML escaping in novel description & some minor c…
Tsuyumi25 Nov 25, 2024
f9c5ccb
fix(route/bilibili): fix manga updates (#17711)
yan12125 Nov 26, 2024
fa1dcc5
chore(route): add more popular routes
pseudoyu Nov 26, 2024
755a732
chore(route): add more social media popular routes
pseudoyu Nov 26, 2024
fdfd7e0
chore(route): add more new media routes
pseudoyu Nov 26, 2024
8a9a3b3
fix(route): daily.ts 骨朵日榜修复 (#17652)
zy84338719 Nov 26, 2024
3471d7b
chore(route): add more new media routes
pseudoyu Nov 26, 2024
1b277b3
fix(route): aeon and bjp url
pseudoyu Nov 26, 2024
80b0dfc
chore(deps-dev): bump discord-api-types from 0.37.107 to 0.37.108 (#1…
dependabot[bot] Nov 26, 2024
f764bde
chore(route/xiaohongshu): set note as default type
pseudoyu Nov 26, 2024
6f8f776
chore(deps-dev): bump @types/node from 22.9.3 to 22.10.0 (#17717)
dependabot[bot] Nov 26, 2024
33148c8
chore(deps-dev): bump @typescript-eslint/parser from 8.15.0 to 8.16.0…
dependabot[bot] Nov 26, 2024
386e2f1
chore(deps-dev): bump @typescript-eslint/eslint-plugin (#17715)
dependabot[bot] Nov 26, 2024
4ee77c7
chore(deps-dev): bump typescript from 5.6.3 to 5.7.2 (#17701)
dependabot[bot] Nov 26, 2024
3e2d8b4
chore(deps-dev): bump prettier from 3.3.3 to 3.4.0 (#17716)
dependabot[bot] Nov 26, 2024
771f9fc
fix(route): mwm namespace
TonyRL Nov 26, 2024
b8e63d6
fix(route/dockerhub): new tag route
pseudoyu Nov 26, 2024
d042b63
fix(api): rss3 network format
pseudoyu Nov 26, 2024
a28cdc2
chore(deps-dev): bump prettier from 3.4.0 to 3.4.1 (#17724)
dependabot[bot] Nov 27, 2024
b496e16
chore(deps-dev): bump discord-api-types from 0.37.108 to 0.37.109 (#1…
dependabot[bot] Nov 27, 2024
18c6f26
chore(deps-dev): bump @bbob/types from 4.1.1 to 4.2.0 (#17726)
dependabot[bot] Nov 27, 2024
5bdf940
chore(deps): bump @bbob/preset-html5 from 4.1.1 to 4.2.0 (#17727)
dependabot[bot] Nov 27, 2024
fce3dd9
chore(deps): bump @bbob/html from 4.1.1 to 4.2.0 (#17725)
dependabot[bot] Nov 27, 2024
b6956b2
fix(route): agirls topic list (#17731)
TonyRL Nov 27, 2024
f59d7da
feat(routes/shu): add routes for SHU's Int'l Dept, Grad School, and C…
GhhG123 Nov 27, 2024
cc7062d
style: auto format
github-actions[bot] Nov 27, 2024
4b64e22
fix(route): taptap (#17732)
TonyRL Nov 27, 2024
6110b9c
chore(route/thepetcity): update namespace language
pseudoyu Nov 28, 2024
aef6aa8
chore(route/theverge): add popular new media routes
pseudoyu Nov 28, 2024
ddd7098
chore(deps): bump @hono/zod-openapi from 0.18.0 to 0.18.1 (#17737)
dependabot[bot] Nov 28, 2024
e08ad94
chore(deps): bump @scalar/hono-api-reference from 0.5.161 to 0.5.162 …
dependabot[bot] Nov 28, 2024
bcc2a05
feat(api/rss3): change platform to RSSHub
pseudoyu Nov 28, 2024
99f77b1
chore(deps-dev): bump @types/node from 22.10.0 to 22.10.1 (#17738)
dependabot[bot] Nov 28, 2024
899bd05
fix(wallstreetcn): crash when article delete (#17734)
defp Nov 28, 2024
35589ca
feat(route/apple/podcast): add optional region parameter (#17741)
shunwork Nov 28, 2024
13696b9
feat(aeon): enhance category and type routes with detailed parameters…
TonyRL Nov 28, 2024
71af316
feat: Added <category> for Isct news. (#17744)
catyyy Nov 28, 2024
52c8c8f
feat(pinterest): add pinterest (#17747)
TonyRL Nov 28, 2024
3f12f92
feat(route/twitter): add third-party twitter api support
pseudoyu Nov 29, 2024
3e102d5
refactor(route/twitter): keep twitter graphql endpoints consistent
pseudoyu Nov 29, 2024
b32c5ca
fix(route/twitter): add enable thirdparty api switcher
pseudoyu Nov 29, 2024
ad7d5c3
chore(deps-dev): bump discord-api-types from 0.37.109 to 0.37.110 (#1…
dependabot[bot] Nov 29, 2024
cbdbec8
chore(deps): bump @hono/zod-openapi from 0.18.1 to 0.18.2 (#17753)
dependabot[bot] Nov 29, 2024
39e3493
feat(route): add UK Parliament Petitions (#17746)
nczitzk Nov 29, 2024
3380b56
fix(route/newrank): wechat route error
pseudoyu Nov 29, 2024
c85ecdc
fix(route): bluesky allow empty (#17751)
xiangzy1 Nov 29, 2024
c106c5f
feat: Feature/foodtalks (#17718)
Geraldxm Nov 29, 2024
bc89b3d
feat(picnob): cache user metadata & video playback in img_multi (#17756)
TonyRL Nov 29, 2024
6f55194
feat: add param :limit? to set article numbers (#17755)
Geraldxm Nov 29, 2024
5cd2382
fix(latepost): TypeError: Cannot read properties of undefined (readin…
defp Nov 30, 2024
4dc5ae9
fix(route/fastbull): Use another site (#17765)
dzx-dzx Dec 1, 2024
310515b
feat(route): add 趣集盐选故事 (#17761)
nczitzk Dec 1, 2024
4c09251
feat(route/qingting): return first page program instead of 10
pseudoyu Dec 2, 2024
784c69f
feat(route): 添加小红书 LivePhoto 视频支持 (#17760)
Dec 2, 2024
85647f6
chore(deps): bump mailparser from 3.7.1 to 3.7.2 (#17769)
dependabot[bot] Dec 2, 2024
95fb9f1
chore(deps-dev): bump @vercel/nft from 0.27.6 to 0.27.7 (#17775)
dependabot[bot] Dec 2, 2024
0e98940
chore(deps-dev): bump eslint-plugin-yml from 1.15.0 to 1.16.0 (#17768)
dependabot[bot] Dec 2, 2024
d3d81c8
chore(deps): bump dawidd6/action-download-artifact from 6 to 7 (#17776)
dependabot[bot] Dec 2, 2024
f8af6cd
chore(deps): bump @hono/zod-openapi from 0.18.2 to 0.18.3 (#17773)
dependabot[bot] Dec 2, 2024
63d5743
chore(deps-dev): bump globals from 15.12.0 to 15.13.0 (#17774)
dependabot[bot] Dec 2, 2024
2119248
chore(deps): bump tldts from 6.1.64 to 6.1.65 (#17772)
dependabot[bot] Dec 2, 2024
7fbe0ca
chore(deps-dev): bump @eslint/js from 9.15.0 to 9.16.0 (#17771)
dependabot[bot] Dec 2, 2024
5a188a3
chore(deps-dev): bump eslint from 9.15.0 to 9.16.0 (#17770)
dependabot[bot] Dec 2, 2024
84a66f9
feat(route): add taiwanmobile rate-plans (#17766)
Tsuyumi25 Dec 2, 2024
4080d7c
style: auto format
github-actions[bot] Dec 2, 2024
44e0622
feat(route): dingshao (#17778)
TonyRL Dec 2, 2024
122cc76
chore(deps-dev): bump node-network-devtools from 1.0.22 to 1.0.23 (#1…
dependabot[bot] Dec 3, 2024
df3edf3
chore(deps-dev): bump @typescript-eslint/parser from 8.16.0 to 8.17.0…
dependabot[bot] Dec 3, 2024
f3844a3
chore(deps-dev): bump @typescript-eslint/eslint-plugin (#17784)
dependabot[bot] Dec 3, 2024
3e87b79
chore(deps): bump dotenv from 16.4.5 to 16.4.6 (#17780)
dependabot[bot] Dec 3, 2024
2ee154c
feat(hellogithub): hellogithub 添加文章路由 (#17779)
CaoMeiYouRen Dec 3, 2024
32e2fea
feat(route): add Jones Lang LaSalle Trends & Insights (#17788)
nczitzk Dec 3, 2024
70b5cb4
chore(route/bilibili): add m.bilibili domain
pseudoyu Dec 4, 2024
f4d5a32
chore(deps): bump dotenv from 16.4.6 to 16.4.7 (#17793)
dependabot[bot] Dec 4, 2024
5baa847
chore(deps): bump proxy-chain from 2.5.5 to 2.5.6 (#17795)
dependabot[bot] Dec 4, 2024
39b5eac
chore(deps-dev): bump prettier from 3.4.1 to 3.4.2 (#17796)
dependabot[bot] Dec 4, 2024
147964c
fix(route): Jones Lang LaSalle (#17797)
nczitzk Dec 4, 2024
4f0a740
feat(route): add amz123.com (#17799)
defp Dec 4, 2024
b138698
chore(api): increase maxHeaderSize
pseudoyu Dec 4, 2024
cb551b4
fix(route/hbr): remove Latest from type
pseudoyu Dec 4, 2024
d81a618
feat(route/spotify): add podcasts route to popular
pseudoyu Dec 4, 2024
103ef92
fix(view/index): update logo image path to relative (#17803)
TonyRL Dec 4, 2024
b12b135
feat(route): add Yonhap News Agency route (#17802)
quiniapiezoelectricity Dec 4, 2024
8b765e6
style: auto format
github-actions[bot] Dec 4, 2024
0a5e907
feat(route): luogu (#17804)
TonyRL Dec 4, 2024
c731e6e
fix(route/theatlantic): null image issue
pseudoyu Dec 5, 2024
9d1d667
fix: route/bloomburg
pseudoyu Dec 5, 2024
0cac38f
chore(deps): bump @scalar/hono-api-reference from 0.5.162 to 0.5.163 …
dependabot[bot] Dec 5, 2024
55df956
chore(deps): bump @opentelemetry/sdk-metrics from 1.28.0 to 1.29.0 (#…
dependabot[bot] Dec 5, 2024
ab3c415
chore(deps): bump @opentelemetry/sdk-trace-base from 1.28.0 to 1.29.0…
dependabot[bot] Dec 5, 2024
14e02b7
chore(deps): bump @opentelemetry/resources from 1.28.0 to 1.29.0 (#17…
dependabot[bot] Dec 5, 2024
96416bd
chore(deps): bump @opentelemetry/exporter-trace-otlp-http (#17809)
dependabot[bot] Dec 5, 2024
9b684c2
chore(deps): bump @opentelemetry/exporter-prometheus (#17811)
dependabot[bot] Dec 5, 2024
b35d47d
fix(36kr): add checks
TonyRL Dec 5, 2024
166e69b
fix(api): decrease maxHeaderSize
pseudoyu Dec 5, 2024
db98160
fix(mihoyo/bbs): 修复 timeline API URL (#17806)
CaoMeiYouRen Dec 5, 2024
ce2b89a
fix: qweather route example inaccuracy. (#17805)
MiuNice Dec 5, 2024
d7447b2
chore(route/joneslanglasalle): fetch 12 items by default
pseudoyu Dec 5, 2024
db18c56
fix(route/joneslanglasalle): radix to 10 and set default to 12
pseudoyu Dec 5, 2024
60dd8f6
feat(route/twitter): support getUserTweets thirdparty api
pseudoyu Dec 6, 2024
8eb7abb
chore(deps): bump imapflow from 1.0.169 to 1.0.171 (#17817)
dependabot[bot] Dec 6, 2024
0d07768
chore(deps): bump hono from 4.6.12 to 4.6.13 (#17818)
dependabot[bot] Dec 6, 2024
5c3d6fa
feat(route): 添加 上海交通大学教务处 面向学生的通知 路由 (#17823)
pangbo13 Dec 7, 2024
3b1de0d
feat(route): add 游侠网资讯 (#17815)
nczitzk Dec 9, 2024
4af0c75
chore(deps): bump tldts from 6.1.65 to 6.1.66 (#17829)
dependabot[bot] Dec 9, 2024
95c71c5
chore(deps): bump socks-proxy-agent from 8.0.4 to 8.0.5 (#17833)
dependabot[bot] Dec 9, 2024
503a779
chore(deps): bump https-proxy-agent from 7.0.5 to 7.0.6 (#17834)
dependabot[bot] Dec 9, 2024
c70fda5
feat(route/twitter): support tweets with replies
pseudoyu Dec 9, 2024
43f635d
chore(deps-dev): bump @stylistic/eslint-plugin from 2.11.0 to 2.12.0 …
dependabot[bot] Dec 9, 2024
134d114
chore(deps-dev): bump vite-tsconfig-paths from 5.1.3 to 5.1.4 (#17830)
dependabot[bot] Dec 9, 2024
74f50c3
chore(deps): bump pac-proxy-agent from 7.0.2 to 7.1.0 (#17835)
dependabot[bot] Dec 9, 2024
8434009
fix(route/sohu): add image URL decryption for fetched articles (#17837)
TonyRL Dec 9, 2024
17e2fc7
feat(route/github): enhance /repos route with optional parameters for…
CaoMeiYouRen Dec 10, 2024
844e658
feat(route/twitter): only apply third-party api supported routes
pseudoyu Dec 10, 2024
b17d360
chore(deps-dev): bump discord-api-types from 0.37.110 to 0.37.111 (#1…
dependabot[bot] Dec 10, 2024
9714a48
chore(deps-dev): bump @vercel/nft from 0.27.7 to 0.27.9 (#17851)
dependabot[bot] Dec 10, 2024
0d1a9d2
chore(deps): bump nanoid from 3.3.7 to 3.3.8 (#17854)
dependabot[bot] Dec 10, 2024
f1c793a
fix(route/isct): TIP overflow layout (#17838)
iusx Dec 10, 2024
61725b2
chore(deps-dev): bump @typescript-eslint/parser from 8.17.0 to 8.18.0…
dependabot[bot] Dec 10, 2024
23f3dbd
chore(deps-dev): bump @typescript-eslint/eslint-plugin (#17848)
dependabot[bot] Dec 10, 2024
d93568f
chore(deps-dev): bump eslint-plugin-n from 17.14.0 to 17.15.0 (#17850)
dependabot[bot] Dec 10, 2024
e764739
fix(route/duckdb): change blogs link and author (#17856)
mocusez Dec 10, 2024
32d0935
chore(deps-dev): bump @stylistic/eslint-plugin from 2.12.0 to 2.12.1 …
dependabot[bot] Dec 11, 2024
f9165ac
chore(deps-dev): bump lint-staged from 15.2.10 to 15.2.11 (#17863)
dependabot[bot] Dec 11, 2024
a15355e
chore(deps): bump rfc4648 from 1.5.3 to 1.5.4 (#17866)
dependabot[bot] Dec 11, 2024
c876e39
chore(deps): bump http-cookie-agent from 6.0.6 to 6.0.7 (#17868)
dependabot[bot] Dec 11, 2024
ab760e9
fix(/mittrchina/breaking): TypeError: Cannot read properties of null …
defp Dec 11, 2024
a49355b
fix(route): filter out invalid subscriptions (#17861)
KarasuShin Dec 11, 2024
3cb7925
feat(route): 新增 i黑马网 (#17843)
p3psi-boo Dec 11, 2024
107cc03
feat(route): 添加 白鲸出海 (#17845)
p3psi-boo Dec 11, 2024
936045a
chore(deps): bump zod from 3.23.8 to 3.24.1 (#17865)
dependabot[bot] Dec 11, 2024
7a36be7
feat: add routes (#17792)
GuoChen-thlg Dec 11, 2024
91399b3
feat: get full text for routes/qbitai/category (#17740)
Geraldxm Dec 11, 2024
e1c5e63
feat(route): add 中国疾病预防控制中心 (#17873)
nczitzk Dec 11, 2024
7c5a04f
feat(route): add cool paper first-author infomation (#17857)
Muyun99 Dec 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
"EditorConfig.EditorConfig",
"esbenp.prettier-vscode",
"deepscan.vscode-deepscan",
"rangav.vscode-thunder-client",
"SonarSource.sonarlint-vscode",
"unifiedjs.vscode-mdx",
"VASubasRaj.flashpost", // Thunder Client is paywalled in WSL/Codespaces/SSH > 2.30.0
"ZihanLi.at-helper"
]
}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependabot-fork.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
uses: actions/checkout@v4

- name: Comment Dependabot PR
uses: thollander/actions-comment-pull-request@v2
uses: thollander/actions-comment-pull-request@v3
with:
message: '@dependabot ignore this dependency'
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/docker-test-cont.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:

- name: Fetch Docker image
if: (env.TEST_CONTINUE)
uses: dawidd6/action-download-artifact@v6
uses: dawidd6/action-download-artifact@v7
with:
workflow: ${{ github.event.workflow_run.workflow_id }}
run_id: ${{ github.event.workflow_run.id }}
Expand Down
23 changes: 21 additions & 2 deletions .github/workflows/issue-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,31 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 5
permissions:
issues: write
attestations: write
issues: write
pull-requests: write
steps:
- name: Fetch PR data (for PR)
if: github.event.issue.pull_request
uses: octokit/[email protected]
id: pr-data
with:
route: GET /repos/{repo}/pulls/{number}
repo: ${{ github.repository }}
number: ${{ github.event.issue.number }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Checkout
if: ${{ !github.event.issue.pull_request }}
uses: actions/checkout@v4

- name: Checkout PR
if: github.event.issue.pull_request
uses: actions/checkout@v4
with:
ref: ${{ fromJson(steps.pr-data.outputs.data).head.ref }}

- name: Install pnpm
uses: pnpm/action-setup@v4

Expand Down Expand Up @@ -105,7 +124,7 @@ jobs:
await test({ github, context, core }, link, routes, number)

- name: Print logs
if: (env.TEST_CONTINUE)
if: env.TEST_CONTINUE
run: cat ${{ github.workspace }}/logs/combined.log

- name: Upload Artifact
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ jobs:
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
# pinned to 18 until https://github.com/compulim/version-from-git/issues/16 is fixed
node-version: 18
node-version: lts/*
cache: 'pnpm'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies (pnpm)
Expand Down
35 changes: 5 additions & 30 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,31 +15,6 @@ permissions:
checks: write

jobs:
fix-pnpm-lock:
# workaround for https://github.com/dependabot/dependabot-core/issues/7258
# until https://github.com/pnpm/pnpm/issues/6530 is fixed
if: github.triggering_actor == 'dependabot[bot]' && github.event_name == 'pull_request'
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: write
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
cache: 'pnpm'
- run: |
rm pnpm-lock.yaml
pnpm i
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: 'chore: fix pnpm install'
commit_user_name: dependabot[bot]
commit_user_email: 49699333+dependabot[bot]@users.noreply.github.com
commit_author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

vitest:
runs-on: ubuntu-latest
timeout-minutes: 10
Expand All @@ -52,7 +27,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [ 20, 22 ]
node-version: [ latest, lts/*, lts/-1 ]
name: Vitest on Node ${{ matrix.node-version }}
steps:
- uses: actions/checkout@v4
Expand All @@ -72,8 +47,8 @@ jobs:
env:
REDIS_URL: redis://localhost:${{ job.services.redis.ports[6379] }}/
- name: Upload coverage to Codecov
if: ${{ matrix.node-version == '20' }}
uses: codecov/codecov-action@v4
if: ${{ matrix.node-version == 'lts/*' }}
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos as documented, but seems broken

Expand All @@ -83,7 +58,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [ 20, 22 ]
node-version: [ latest, lts/*, lts/-1 ]
chromium:
- name: bundled Chromium
dependency: ''
Expand Down Expand Up @@ -140,7 +115,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [ 20, 22 ]
node-version: [ 23, 22, 20 ]
name: Build radar and maintainer on Node ${{ matrix.node-version }}
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ vscode:
- EditorConfig.EditorConfig
- esbenp.prettier-vscode
- deepscan.vscode-deepscan
- rangav.vscode-thunder-client
- sonarsource.sonarlint-vscode
# - VASubasRaj.flashpost not available on Open VSX, Thunder Client is paywalled in WSL/Codespaces/SSH > 2.30.0
- unifiedjs.vscode-mdx
# - ZihanLi.at-helper not available on Open VSX
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ WORKDIR /app
ARG USE_CHINA_NPM_REGISTRY=0
RUN \
set -ex && \
corepack enable pnpm && \
if [ "$USE_CHINA_NPM_REGISTRY" = 1 ]; then \
echo 'use npm mirror' && \
npm config set registry https://registry.npmmirror.com && \
Expand All @@ -23,7 +24,6 @@ COPY ./package.json /app/
RUN \
set -ex && \
export PUPPETEER_SKIP_DOWNLOAD=true && \
corepack enable pnpm && \
pnpm install --frozen-lockfile && \
pnpm rb

Expand Down
6 changes: 5 additions & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,10 @@ export default [{

'no-restricted-syntax': ['warn', {
selector: "CallExpression[callee.property.name='get'][arguments.length=0]",
message: "Please use toArray instead.",
message: "Please use .toArray() instead.",
}, {
selector: "CallExpression[callee.property.name='toArray'] MemberExpression[object.callee.property.name='map']",
message: "Please use .toArray() before .map().",
}],

'no-unneeded-ternary': 'error',
Expand Down Expand Up @@ -179,6 +182,7 @@ export default [{
}],

'unicorn/prefer-code-point': 'warn',
'unicorn/prefer-global-this': 'off',
'unicorn/prefer-logical-operator-over-ternary': 'warn',
'unicorn/prefer-module': 'off',
'unicorn/prefer-node-protocol': 'off',
Expand Down
31 changes: 29 additions & 2 deletions lib/api/category/one.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,23 +32,50 @@ const ParamsSchema = z.object({
}),
});

const QuerySchema = z.object({
categories: z
.string()
.transform((val) => val.split(','))
.optional(),
lang: z.string().optional(),
});

const route = createRoute({
method: 'get',
path: '/category/{category}',
tags: ['Category'],
request: {
query: QuerySchema,
params: ParamsSchema,
},
responses: {
200: {
description: 'Namespace list by category',
description: 'Namespace list by categories and language',
},
},
});

const handler: RouteHandler<typeof route> = (ctx) => {
const { categories, lang } = ctx.req.valid('query');
const { category } = ctx.req.valid('param');
return ctx.json(categoryList[category]);

let allCategories = [category];
if (categories && categories.length > 0) {
allCategories = [...allCategories, ...categories];
}

// Get namespaces that exist in all requested categories
const commonNamespaces = Object.keys(categoryList[category] || {}).filter((namespace) => allCategories.every((cat) => categoryList[cat]?.[namespace]));

// Create result directly from common namespaces
let result = Object.fromEntries(commonNamespaces.map((namespace) => [namespace, categoryList[category][namespace]]));

// Filter by language if provided
if (lang) {
result = Object.fromEntries(Object.entries(result).filter(([, value]) => value.lang === lang));
}

return ctx.json(result);
};

export { route, handler };
Loading