Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: leontius/RSSHub
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: btzj
Choose a base ref
...
head repository: leontius/RSSHub
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Loading
Showing 10,199 changed files with 339,210 additions and 238,282 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
64 changes: 64 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
// https://github.com/devcontainers/images/blob/v0.3.24/src/javascript-node/.devcontainer/devcontainer.json
{
"name": "Node.js",
"image": "mcr.microsoft.com/devcontainers/javascript-node:22-bookworm",

// Configure tool-specific properties.
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"cweijan.vscode-database-client2",
"dbaeumer.vscode-eslint",
"eamodio.gitlens",
"EditorConfig.EditorConfig",
"esbenp.prettier-vscode",
"deepscan.vscode-deepscan",
"SonarSource.sonarlint-vscode",
"unifiedjs.vscode-mdx",
"VASubasRaj.flashpost", // Thunder Client is paywalled in WSL/Codespaces/SSH > 2.30.0
"ZihanLi.at-helper"
]
}
},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [1200, 3000],

"portsAttributes": {
"1200": {
"label": "app port",
"onAutoForward": "notify"
},
"3000": {
"label": "docs port",
"onAutoForward": "notify"
}
},

"onCreateCommand": "sudo apt-get update && export DEBIAN_FRONTEND=noninteractive && sudo apt-get -y install --no-install-recommends ca-certificates fonts-liberation libasound2 libatk-bridge2.0-0 libatk1.0-0 libatspi2.0-0 libcairo2 libcups2 libdbus-1-3 libexpat1 libgbm1 libglib2.0-0 libnspr4 libnss3 libpango-1.0-0 libx11-6 libxcb1 libxcomposite1 libxdamage1 libxext6 libxfixes3 libxkbcommon0 libxrandr2 wget xdg-utils redis-server default-jre-headless && sudo apt-get autoremove -y && sudo apt-get clean -y && sudo rm -rf /var/lib/apt/lists/*",

"updateContentCommand": "export JAVA_HOME=/usr/lib/jvm/default-java && pnpm config set store-dir ~/.local/share/pnpm/store && pnpm i && pnpm rb",

// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "pnpm i && pnpm rb",

// Disable auto start dev env since codespaces sometimes fails to attach to the terminal
// "postAttachCommand": {
// "app": "pnpm i",
// // "docs": "pnpm -C website start"
// },

// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "node",
"features": {
"ghcr.io/devcontainers/features/docker-in-docker": {
"version": "latest"
},
"ghcr.io/devcontainers/features/github-cli": {
"version": "latest"
}
}
}
18 changes: 14 additions & 4 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,35 +1,45 @@
# folders
.devcontainer
.github
.husky
.idea
.vscode
Dockerfile*
LICENSE
Procfile
app-minimal
assets
coverage
docs
node_modules
test

# files
.codecov.yml
.dockerignore
.editorconfig
.env
.eslint*
.gitignore
.gitpod.yml
.markdownlint.jsonc
.prettier*
.(yarn|npm|nvm)rc
*.md
app.json
eslint.config.mjs
docker-compose*
fly.toml
jsconfig.json
npm-debug.log
process.json
package-lock.json
vitest.config.ts
vercel.json

#git but keep the git commit hash
# git but keep the git commit hash
.git/logs
.git/objects
.git/index
.git/info
.git/hooks

# rsshub auxiliary files
lib/routes/**/radar.js
5 changes: 0 additions & 5 deletions .eslintignore

This file was deleted.

91 changes: 0 additions & 91 deletions .eslintrc.json

This file was deleted.

4 changes: 0 additions & 4 deletions .github/FUNDING.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report_en.yml
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ body:
- type: markdown
attributes:
value: |
Please ensure you have read [documentation](https://docs.rsshub.app/en), and provide all the information required by this template, otherwise the issue will be closed immediately.
Please ensure you have read [documentation](https://docs.rsshub.app/), and provide all the information required by this template, otherwise the issue will be closed immediately.
Due to the anti-crawling policy implemented by certain websites, some RSS routes provided by the demo will return status code 403. This is not an issue caused by RSSHub and please do not report it.
- type: textarea
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report_zh.yml
Original file line number Diff line number Diff line change
@@ -69,7 +69,7 @@ body:
label: 部署相关信息
description: |
请提供您的操作系统、node 版本和(如果适用) docker 版本。
请确保您部署的是[主线 master 分支](https://github.com/DIYgod/RSSHub/tree/master)最新版 RSSHub。
请确保您部署的是 [主线 master 分支](https://github.com/DIYgod/RSSHub/tree/master) 最新版 RSSHub。
placeholder: 'OS: Linux, Node: v10.15.3, Docker: v19.03.13'

- type: textarea
@@ -86,5 +86,5 @@ body:
attributes:
label: 这不是重复的 issue
options:
- label: 我已经搜索了[现有 issue](https://github.com/DIYgod/RSSHub/issues),以确保该错误尚未被报告。
- label: 我已经搜索了 [现有 issue](https://github.com/DIYgod/RSSHub/issues),以确保该错误尚未被报告。
required: true
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request_en.yml
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ body:
- type: markdown
attributes:
value: |
Please ensure the feature requested is not listed in [documentation](https://docs.rsshub.app/en) or [issue](https://github.com/DIYgod/RSSHub/issues), and is not a [new RSS proposal](https://github.com/DIYgod/RSSHub/issues/new?assignees=&labels=RSS+proposal&template=rss_request_en.yml), and provide all the information required by this template.
Please ensure the feature requested is not listed in [documentation](https://docs.rsshub.app/) or [issue](https://github.com/DIYgod/RSSHub/issues), and is not a [new RSS proposal](https://github.com/DIYgod/RSSHub/issues/new?assignees=&labels=RSS+proposal&template=rss_request_en.yml), and provide all the information required by this template.
Otherwise the issue will be closed immediately.
- type: textarea
8 changes: 4 additions & 4 deletions .github/ISSUE_TEMPLATE/rss_request_en.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 🍰 RSS Proposal
name: 🧡 RSS Proposal
description: Submit a new RSS proposal
labels: ['RSS proposal']

@@ -7,10 +7,10 @@ body:
- type: markdown
attributes:
value: |
Please ensure the RSS proposal is not listed in [documentation](https://docs.rsshub.app/en) or [issue](https://github.com/DIYgod/RSSHub/issues), website doesn't provide this kind of RSS feed, and provide all the information required by this template.
Please ensure the RSS proposal is not listed in [documentation](https://docs.rsshub.app/) or [issue](https://github.com/DIYgod/RSSHub/issues), website doesn't provide this kind of RSS feed, and provide all the information required by this template.
Otherwise the issue will be closed immediately.
We are flooded with feature requests and short-handed, please try to make it yourself, the [guide](https://docs.rsshub.app/en/joinus) is a good place to start. Submit a pull request when done!
We are flooded with feature requests and short-handed, please try to make it yourself, the [guide](https://docs.rsshub.app/joinus) is a good place to start. Submit a pull request when done!
- type: dropdown
id: category
@@ -27,7 +27,7 @@ body:
- Design
- Live
- Multimedia
- Pciture
- Picture
- ACG
- Application Updates
- University
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/rss_request_zh.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 🍰 RSS 提案
name: 🧡 RSS 提案
description: 提交新的 RSS 提案
labels: ['RSS proposal']

@@ -10,7 +10,7 @@ body:
请确保 [文档](https://docs.rsshub.app) 和 [issue](https://github.com/DIYgod/RSSHub/issues) 中没有相关内容,且源站没有提供 RSS,并按照模版提供信息
否则 issue 将被立即关闭
目前 RSS 提案滞销,如有能力请按照 [指南](https://docs.rsshub.app/joinus) 自行编写并提交 PR
目前 RSS 提案滞销,如有能力请按照 [指南](https://docs.rsshub.app/joinus/quick-start) 自行编写并提交 PR
- type: dropdown
id: category
41 changes: 19 additions & 22 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,47 +1,44 @@
<!--
如有疑问,请参考 https://github.com/DIYgod/RSSHub/discussions/8002
Reference: https://github.com/DIYgod/RSSHub/discussions/8002
If you have any difficulties in filling out this form, please refer to https://docs.rsshub.app/joinus/new-rss/submit-route
如果你在填写此表单时遇到任何困难,请参考 https://docs.rsshub.app/zh/joinus/new-rss/submit-route
-->

## 该 PR 相关 Issue / Involved issue
## Involved Issue / 该 PR 相关 Issue

Close #

## 完整路由地址 / Example for the proposed route(s)
## Example for the Proposed Route(s) / 路由地址示例

<!--
Please include route starts with /, with all required and optional parameters.
Fail to comply will result in your pull request being closed automatically.
请在 `routes` 区域填写以 / 开头的完整路由地址,否则你的 PR 将会被无条件关闭。
如果路由包含在文档中列出可以完全穷举的参数(例如分类),请依次全部列出。
Please include route starts with /, with all required and optional parameters. Fail to comply will result in your pull request being closed automatically.
```route
```routes
/some/route
/some/other/route
/dont/use/this/or/modify/it
/use/the/fenced/code/block/below
```
If your changes are not related to route, please fill in `routes` section with `NOROUTE`. Fail to comply will result in your PR being closed.
如果你的 PR 与路由无关, 请在 `routes` 区域 填写 `NOROUTE`,而不是直接删除 `routes` 区域。否则你的 PR 将会被无条件关闭。
If your changes are not related to route, please fill in `routes` with `NOROUTE`. Fail to comply will result in your PR being closed.
-->

```routes
```

## RSS 检查列表 / New RSS Script Checklist
## New RSS Route Checklist / 新 RSS 路由检查表

- [ ] 新的路由 New Route
- [ ] 跟随 [v2 路由规范](https://docs.rsshub.app/joinus/script-standard.html) Follows [v2 Script Standard](https://docs.rsshub.app/en/joinus/script-standard.html)
- [ ] 文档说明 Documentation
- [ ] 中文文档 CN
- [ ] 英文文档 EN
- [ ] 全文获取 fulltext
- [ ] 使用缓存 Use Cache
- [ ] 反爬/频率限制 anti-bot or rate limit?
- [ ] 如果有, 是否有对应的措施? If yes, do your code reflect this sign?
- [ ] [日期和时间](https://docs.rsshub.app/joinus/pub-date.html) [date and time](https://docs.rsshub.app/en/joinus/pub-date.html)
- [ ] 可以解析 Parsed
- [ ] 时区调整 Correct TimeZone
- [ ] 添加了新的包 New package added
- [ ] New Route / 新的路由
- [ ] Follows [Script Standard](https://docs.rsshub.app/joinus/advanced/script-standard) / 跟随 [路由规范](https://docs.rsshub.app/zh/joinus/advanced/script-standard)
- [ ] Anti-bot or rate limit / 反爬/频率限制
- [ ] If yes, do your code reflect this sign? / 如果有, 是否有对应的措施?
- [ ] [Date and time](https://docs.rsshub.app/joinus/advanced/pub-date) / [日期和时间](https://docs.rsshub.app/zh/joinus/advanced/pub-date)
- [ ] Parsed / 可以解析
- [ ] Correct time zone / 时区正确
- [ ] New package added / 添加了新的包
- [ ] `Puppeteer`

## 说明 / Note
## Note / 说明
Loading