Skip to content

add opengithub-weekly-rank route, display the journal of opengithub on github trending.#21082

Closed
Nemocccc wants to merge 1 commit intoDIYgod:masterfrom
Nemocccc:master
Closed

add opengithub-weekly-rank route, display the journal of opengithub on github trending.#21082
Nemocccc wants to merge 1 commit intoDIYgod:masterfrom
Nemocccc:master

Conversation

@Nemocccc
Copy link

@Nemocccc Nemocccc commented Feb 7, 2026

discription / pr描述

I add a new route, about github trending weekly.
tracking the journals update of opengithub-weekly-rank

Involved Issue / 该 PR 相关 Issue

No

Close #

Example for the Proposed Route(s) / 路由地址示例

http://rsshub.app/opengithub-trending/weekly

/opengithub-trending/weekly-rank

New RSS Route Checklist / 新 RSS 路由检查表

  • [ x ] New Route / 新的路由
  • Anti-bot or rate limit / 反爬/频率限制
    • If yes, do your code reflect this sign? / 如果有, 是否有对应的措施?
  • Date and time / 日期和时间
    • Parsed / 可以解析
    • Correct time zone / 时区正确
  • New package added / 添加了新的包
  • Puppeteer

Note / 说明

@github-actions github-actions bot added route auto: not ready to review Users can't get the RSS feed output according to automated testing results labels Feb 7, 2026
const yearResponse = await got(repoUrl);
const years = yearResponse.data
.filter((item: any) => item.type === 'dir' && /^\d{4}$/.test(item.name))
.sort((a: any, b: any) => b.name.localeCompare(a.name))

Check warning

Code scanning / ESLint

Prefer `Array#toSorted()` over `Array#sort()`. Warning

Use Array#toSorted() instead of Array#sort().
year: yearItem.name,
months: monthResponse.data
.filter((item: any) => item.type === 'dir')
.sort((a: any, b: any) => b.name.localeCompare(a.name))

Check warning

Code scanning / ESLint

Prefer `Array#toSorted()` over `Array#sort()`. Warning

Use Array#toSorted() instead of Array#sort().
month: monthItem.name,
days: dayResponse.data
.filter((item: any) => item.type === 'file' && item.name.endsWith('.md'))
.sort((a: any, b: any) => b.name.localeCompare(a.name))

Check warning

Code scanning / ESLint

Prefer `Array#toSorted()` over `Array#sort()`. Warning

Use Array#toSorted() instead of Array#sort().
@github-actions
Copy link
Contributor

github-actions bot commented Feb 7, 2026

Successfully generated as following:

http://localhost:1200/opengithub-trending/weekly-rank - Failed ❌
HTTPError: Response code 503 (Service Unavailable)

Error Message:<br/>NotFoundError:
Route: /opengithub-trending/weekly-rank
Full Route: /opengithub-trending/weekly-rank
Node Version: v24.13.0
Git Hash: 81158b0c

@Nemocccc Nemocccc closed this Feb 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto: not ready to review Users can't get the RSS feed output according to automated testing results route

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant