Tony
e55ade5117
fix(route/github): fix pr url ( #21974 )
2026-05-11 21:44:59 +08:00
github-actions[bot]
a4b9d76776
style: auto format
2026-05-07 21:41:39 +00:00
github-actions[bot]
788c549948
style: auto format
2026-05-07 20:42:08 +00:00
TehPeGaSuS
78068da475
feat(route): make GitHub pulls title and docs consistent with issues ( #21903 )
...
* feat(route): make GitHub pulls title and docs consistent with issues
I'm not really a coder, but I use RSSHub to bridge GitHub updates into IRC for my community. I noticed that the `pulls.ts` route didn't show the "Open/Closed" state in the feed title like the `issues.ts` route does, which was making my users a bit confused!
I tried my best to replicate the logic and metadata structure from `issues.ts` over to `pulls.ts`.
Changes:
- Updated the feed title to dynamically show the state (Open/Closed/All) and any labels.
- Updated the parameter metadata so the documentation looks as clean and organized as the Issues page.
I've tested this locally and it’s working perfectly for my IRC tracker. Hopefully, this helps keep things consistent across the GitHub routes!
Closes #21902
* Fix title formatting in pull request response
2026-05-08 02:26:57 +08:00
github-actions[bot]
ebfe021b50
style: auto format
2026-04-14 15:15:05 +00:00
Tony
cef5c68b9c
refactor: add GraphQL annotation to queries for auto formatting in oxfmt v0.42
...
79a525cbd3
2026-04-14 08:38:54 +08:00
HaZy-Gaming
92b8da23a9
fix(github): update topics route selector to fix empty route ( #21560 )
...
解决GitHub Topics路由"Error: this route is empty"问题。
2026-03-31 04:31:39 +00:00
Tony
ba0f1ad292
style(eslint): fix `no-unassigned-vars` `no-useless-assignment` `preserve-caught-error` ( #21175 )
...
* fix: fix no-unassigned-vars
* fix: fix preserve-caught-error
* fix: fix no-useless-assignment
* fix: update variable types for better type safety
* fix: replace nullish coalescing with logical OR for limit assignment
* fix: add DataItem type import for better type safety
2026-02-18 22:25:14 +08:00
Pilgrim Lyieu
0e48234e14
fix(github): allow empty notifications feed ( #20875 )
...
* fix(github): allow empty notifications feed
* fix(github): set `allowEmpty` to be always true
2026-01-13 23:07:20 +08:00
Tony
6dba3aa744
style: fix eslint issues ( #20862 )
...
* style: fix n/no-deprecated-api
* style: fix no-useless-escape
* style: fix default-case
* style: fix unicorn/prefer-string-slice
* feat!: remove informedainews
the site is gone
2026-01-13 03:25:37 +08:00
DIYgod
cf4e772de8
refactor: replace art template with jsx ( #20777 )
...
* refactor: replace art template with jsx
* fix: tsx files
* fix: renderToString import
* fix: hono html raw import
* feat: remove art
2025-12-29 12:27:32 +08:00
Stephen Zhou
d5e4fba8b2
style: format
2025-11-27 11:04:48 +08:00
github-actions[bot]
a28890a135
style: auto format
2025-11-27 02:55:46 +00:00
mslxl
49a58764fa
fix(route/github): Fix URL link error in events ( #20386 )
...
* fix(route/github): Fix url of PR event not links to HTML page
* fix(route/github): Fix repo info be replaced in push event
* style: auto format
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-28 20:14:44 +08:00
github-actions[bot]
00bd2cc244
style: auto format
2025-10-25 11:33:27 +00:00
mslxl
259bdcc002
feat(route): add GitHub repo, user and org event routes ( #20330 )
...
* feat(route): add GitHub repository event route
Co-authored-by: LiangddBUG <113956019+LiangddCoder@users.noreply.github.com>
Signed-off-by: mslxl <i@mslxl.com>
* feat(route): add GitHub user and org event routes
Signed-off-by: mslxl <i@mslxl.com>
---------
Signed-off-by: mslxl <i@mslxl.com>
Co-authored-by: LiangddBUG <113956019+LiangddCoder@users.noreply.github.com>
2025-10-25 19:31:37 +08:00
Neko Aria
aeec1eda5d
fix(route/github): handle missing commits in PushEvent payload ( #20262 )
...
Co-authored-by: NekoAria <NekoAria@users.noreply.github.com>
2025-10-10 20:15:53 +08:00
dependabot[bot]
802cbf95d2
chore(deps-dev): bump eslint-plugin-unicorn from 60.0.0 to 61.0.2 ( #19998 )
...
* chore(deps-dev): bump eslint-plugin-unicorn from 60.0.0 to 61.0.1
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn ) from 60.0.0 to 61.0.1.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases )
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v60.0.0...v61.0.1 )
---
updated-dependencies:
- dependency-name: eslint-plugin-unicorn
dependency-version: 61.0.1
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* refactor: replace `replace(/regex/g)` with replaceAll
* refactor: replace sort() with toSorted() for immutability in various routes and utilities
* refactor: fix unicorn/prefer-array-find
* refactor: fix unicorn/prefer-at
* refactor: add unicorn/no-array-sort rule to ESLint configuration
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-08 23:03:48 +08:00
dependabot[bot]
ae3e646ea9
chore(deps-dev): bump eslint-plugin-unicorn from 59.0.1 to 60.0.0 ( #19662 )
...
* chore(deps-dev): bump eslint-plugin-unicorn from 59.0.1 to 60.0.0
---
updated-dependencies:
- dependency-name: eslint-plugin-unicorn
dependency-version: 60.0.0
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* refactor: replace reverse() with toReversed() for improved readability
* chore: update packageManager version to pnpm@10.13.1
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-22 20:45:42 +08:00
Whalko
74124fa9bb
docs(feeds): update guidance on obtaining private feed URL ( #19590 )
2025-07-12 16:44:01 +08:00
github-actions[bot]
cd4c60124e
style: auto format
2025-07-12 05:57:44 +00:00
Whalko
4e2014d7ab
feat(github): add private feed route for user received events ( #19571 )
...
* feat(github): add private feed route for user received events
* feat(github): enhance with additional event types and improved mapping
* refactor(github): improved maintainability
* refactor(github): rename route to feed and clean up handler
* fix(github): add unique GUID and remove comment truncation
* fix(github): enhance PushEvent format
2025-07-12 13:55:43 +08:00
DIYgod
2dce2e32dd
feat: docs sorting and auto popular
2025-05-31 17:10:01 +08:00
DIYgod
025cd6542c
fix(github): activity allow empty
2025-05-29 17:52:16 +08:00
Tony
03969f3867
refactor: fix lint issue ( #18963 )
...
* fix: unicorn/no-empty-file
* fix: unicorn/prefer-node-protocol
* fix: unicorn/prefer-number-properties
* fix: unicorn/consistent-destructuring
* fix: unicorn/no-array-callback-reference
* fix: unicorn/new-for-builtins
* fix: set checkNaN to false in unicorn/prefer-number-properties
* fix: unicorn/prefer-string-slice
* fix: update eslint ignore
2025-04-29 03:00:16 +08:00
DIYgod
83e701b592
feat: compile ts through tsdown ( #18908 )
...
* feat: build ts via tsdown
* feat: exec tsdown
* fix
* fix
* fix
* feat: use tsdown shims
* chore: run rolldown lifecycle script
* fix: use shims
---------
2025-04-22 22:29:11 +08:00
Tony
4fa33716c1
docs: remove indent ( #18247 )
...
* docs: remove indent
* docs: remove more indent
* docs: remove h5 indent
* docs: remove h4 indent
* docs: remove details indent
2025-01-31 22:17:58 +08:00
Tony
04a3e88448
docs: fix admonitions syntax ( #18018 )
2025-01-01 15:52:40 +08:00
CaoMeiYouRen
655f7ac52f
fix(github/repos): 添加日期解析功能并优化数据处理 ( #17893 )
...
- 引入 `parseDate` 工具函数用于解析日期
- 根据排序类型(updated 或 pushed)动态设置发布日期
- 优化数据过滤和映射逻辑,减少嵌套层级
2024-12-14 05:02:44 -08:00
CaoMeiYouRen
17e2fc729d
feat(route/github): enhance /repos route with optional parameters for type, sort, and direction ( #17827 )
...
* feat(route/github): enhance /repos route with optional parameters for type, sort, and direction
- Updated the route to accept optional parameters: type, sort, and direction.
- Added filtering logic for repository types: all, owner, member, public, private, forks, and sources.
- Improved documentation for parameters to clarify usage.
* refactor(github): 优化仓库路由参数配置
- 移除 `direction` 参数,简化排序逻辑
- 更新路由路径以匹配简化后的参数
2024-12-10 10:30:42 +08:00
pseudoyu
0a42f88de7
feat(route): add lang field in route namespace
2024-11-01 22:09:31 +07:00
pseudoyu
a3454ed515
chore: change github activity view to notification
2024-10-23 21:34:05 +08:00
Tony
8d76a0055d
style(eslint): update no-restricted-syntax ( #17215 )
2024-10-20 20:41:31 -07:00
Theresa
d4ff0ff20d
feat(github): 添加 GitHub Advisory Database RSS 路由 ( #16745 )
...
* feat(github-advisor): add GitHub Advisory Database RSS route and namespace
* fix(xiaohongshu): handle optional chaining for cover image URL
* refactor(github-advisor): remove unused code and files
* feat(github): 添加 GitHub Advisory Database RSS 路由
* refactor(route): fix category in GitHub Advisor route
* refactor(route): 更新 GitHub Advisor 路由中的类别参数名
* refactor(route): Updated to scrape HTML directly instead of relying on third-party API
2024-10-05 22:08:26 -07:00
dependabot[bot]
54bd7e7705
chore(deps-dev): bump eslint-plugin-unicorn from 55.0.0 to 56.0.0 ( #17000 )
...
* chore(deps-dev): bump eslint-plugin-unicorn from 55.0.0 to 56.0.0
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn ) from 55.0.0 to 56.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases )
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v55.0.0...v56.0.0 )
---
updated-dependencies:
- dependency-name: eslint-plugin-unicorn
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* chore: fix pnpm install
* style(eslint): ignore `prefer-global-this` for puppeteer
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-04 21:14:37 +08:00
Wayne Zhang
78a5e4fdfc
feat(route): github discussion add category filter ( #16983 )
2024-10-02 04:24:45 +08:00
Wayne Zhang
76e6c0d7da
feat(route): add github discussions route ( #16977 )
...
* feat(route): add route of github discussion
* feat: update route
* refactor: update route
2024-10-01 21:27:25 +08:00
rkscv
7678f8c0e1
fix(route): github comments ( #16835 )
2024-09-20 23:34:43 +08:00
Stephen Zhou
1ec2dd0bdf
fix(github activity): only replace relative link ( #16667 )
2024-09-09 10:57:37 +08:00
Stephen Zhou
a9caa10cf5
fix: clean github activity output ( #16586 )
2024-08-31 12:19:16 +08:00
karasu
66bcaa0c39
fix: github search result ( #16301 )
2024-07-30 13:04:09 +00:00
Stephen Zhou
796981915d
fix(route): short title, use guid for github activities ( #16247 )
2024-07-25 14:38:57 +08:00
DIYgod
f3315cdad4
feat: update popular category
2024-07-23 20:28:08 +08:00
DIYgod
703e46de70
feat: add view
2024-07-23 15:14:21 +08:00
DIYgod
9020861509
feat: update examples
2024-07-22 13:24:26 +08:00
Stephen Zhou
b49df679df
feat(route): github user activity ( #16140 )
...
* feat: new route github user activity
* Apply suggestions from code review
---------
2024-07-11 02:25:22 +08:00
DIYgod
cf1c9c98ff
feat: expanded parameters data
2024-06-26 18:11:19 +08:00
Tony
e22e424493
fix(route): github notification ( #15659 )
2024-05-22 14:41:12 +08:00
DIYgod
6ee5d7267b
chore: add popular category
2024-05-19 23:00:43 +08:00
Raymond Nook
aa3a394c1e
fix: typo
2024-05-08 03:50:55 -07:00