diff --git a/website/docs/install/config.md b/website/docs/install/config.md
index 03ae506a7c..d731061404 100644
--- a/website/docs/install/config.md
+++ b/website/docs/install/config.md
@@ -235,7 +235,7 @@ Configs in this sections are in beta stage, and **are turn off by default**. Ple
`OPENAI_PROMPT`: OpenAI prompt, used for using ChatGPT to summarize articles, see [OpenAI API reference](https://platform.openai.com/docs/api-reference/chat) for details
-## Route-specific Configurations
+## Route-specific Configurations {#route-specific-configurations}
:::tip
diff --git a/website/docs/joinus/new-rss/add-docs.md b/website/docs/joinus/new-rss/add-docs.md
index a007ecfb4a..b069a3f02f 100644
--- a/website/docs/joinus/new-rss/add-docs.md
+++ b/website/docs/joinus/new-rss/add-docs.md
@@ -217,7 +217,7 @@ In addition to the aforementioned component properties, there are several other
- `puppeteer`: set to `1` if the feed uses puppeteer.
- `radar`: set to `1` if the feed has a radar rule.
- `rssbud`: set to `1` if the radar rule is also compatible with RSSBud
-- `selfhost`: set to `1` if the feed requires extra configuration through environment variables.
+- `configRequired`: set to `1` if the feed requires extra configuration through environment variables.
- `supportBT`: set to `1` if the feed supports BitTorrent.
- `supportPodcast`: set to `1` if the feed supports podcasts.
- `supportScihub`: set to `1` if the feed supports Sci-Hub.
@@ -225,12 +225,12 @@ In addition to the aforementioned component properties, there are several other
By using these properties, you can provide valuable information to users and make it easier for them to understand and use your route. Adding these properties to your route documentation will add a badge in front of it.
```tsx
-
+
```
---
-
+
---
diff --git a/website/docs/routes/anime.mdx b/website/docs/routes/anime.mdx
index d151c34d5a..3430df4bc7 100644
--- a/website/docs/routes/anime.mdx
+++ b/website/docs/routes/anime.mdx
@@ -354,7 +354,7 @@ If you subscribe to [Discounted works Latest Discounts - Newest to Oldest](https
### User Subscriptions {#iwara-user-subscriptions}
-
+
:::warning
@@ -795,7 +795,7 @@ You can use some RSS parsing libraries (like `feedpraser` in `Python`) to receiv
### 漫画个人订阅 {#kan-man-hua-man-hua-ge-ren-ding-yue}
-
+
:::tip
diff --git a/website/docs/routes/bbs.mdx b/website/docs/routes/bbs.mdx
index b69e5dc98c..370f23e719 100644
--- a/website/docs/routes/bbs.mdx
+++ b/website/docs/routes/bbs.mdx
@@ -217,11 +217,11 @@ You need to set the environment variable `DISCOURSE_CONFIG_{id}` before using it
### Latest posts {#discourse-latest-posts}
-
+
### Notifications {#discourse-notifications}
-
+
:::warning
@@ -503,7 +503,7 @@ When accessing Joeyray's Bar, `SCBOY_BBS_TOKEN` needs to be filled in `environme
### forum {#zodgame-forum}
-
+
## Zuvio {#zuvio}
diff --git a/website/docs/routes/blog.mdx b/website/docs/routes/blog.mdx
index 119dec09b1..bed7c38662 100644
--- a/website/docs/routes/blog.mdx
+++ b/website/docs/routes/blog.mdx
@@ -118,15 +118,15 @@ username 为博主用户名,而非`xxx.hashnode.dev`中`xxx`所代表的 blog
### Blog using Next theme {#hexo-blog-using-next-theme}
-
+
### Blog using Yilia theme {#hexo-blog-using-yilia-theme}
-
+
### Blog using Fluid theme {#hexo-blog-using-fluid-theme}
-
+
## Hi, DIYgod {#hi-diygod}
@@ -204,7 +204,7 @@ To access private lists, only self-hosting is supported.
### Personalized Recommendations - For You {#medium-personalized-recommendations-for-you}
-
+
:::warning
@@ -216,7 +216,7 @@ Personalized recommendations require the cookie value after logging in, so only
### Personalized Recommendations - Following {#medium-personalized-recommendations-following}
-
+
:::warning
@@ -228,7 +228,7 @@ Personalized recommendations require the cookie value after logging in, so only
### Personalized Recommendations - Tag {#medium-personalized-recommendations-tag}
-
+
There are many tags, which can be obtained by clicking on a tag from the homepage and looking at the URL. For example, if the URL is `https://medium.com/?tag=web3`, then the tag is `web3`.
diff --git a/website/docs/routes/design.mdx b/website/docs/routes/design.mdx
index dd0df8ed2b..ee9948e05d 100644
--- a/website/docs/routes/design.mdx
+++ b/website/docs/routes/design.mdx
@@ -76,7 +76,7 @@ Behance user's profile URL, like [https://www.behance.net/mishapetrick](https://
### Google Fonts {#google-google-fonts}
-
+
| Newest | Trending | Most popular | Name | Number of styles |
| :----: | :------: | :----------: | :--: | :--------------: |
diff --git a/website/docs/routes/forecast.mdx b/website/docs/routes/forecast.mdx
index aed83a902f..a17a545ec1 100644
--- a/website/docs/routes/forecast.mdx
+++ b/website/docs/routes/forecast.mdx
@@ -86,7 +86,7 @@ Please skip the local service area code for `name`, for example `https://outage.
### 近三天天气 {#he-feng-tian-qi-jin-san-tian-tian-qi}
-
+
需自行注册获取 api 的 key,并在环境变量 HEFENG_KEY 中进行配置,获取订阅近三天天气预报
@@ -94,7 +94,7 @@ Please skip the local service area code for `name`, for example `https://outage.
### 实时天气 {#he-feng-tian-qi-shi-shi-tian-qi}
-
+
需自行注册获取 api 的 key,每小时更新一次数据
diff --git a/website/docs/routes/multimedia.mdx b/website/docs/routes/multimedia.mdx
index 148286329b..0544c5cab9 100644
--- a/website/docs/routes/multimedia.mdx
+++ b/website/docs/routes/multimedia.mdx
@@ -1261,27 +1261,27 @@ Refer to [Pornhub F.A.Qs](https://help.pornhub.com/hc/en-us/articles/36004432703
### Artist Albums {#spotify-artist-albums}
-
+
### Playlist {#spotify-playlist}
-
+
### Personal Saved Tracks {#spotify-personal-saved-tracks}
-
+
### Personal Top Tracks {#spotify-personal-top-tracks}
-
+
### Personal Top Artists {#spotify-personal-top-artists}
-
+
### Show {#spotify-show}
-
+
## Sub HD {#sub-hd}
@@ -1651,7 +1651,7 @@ When `mediaType` is `movie`, `sheet` should be:
### 最新资源 {#pian-yuan-wang-zui-xin-zi-yuan}
-
+
| 电影 | 剧集 |
| ---- | ---- |
@@ -1659,7 +1659,7 @@ When `mediaType` is `movie`, `sheet` should be:
### 搜索 {#pian-yuan-wang-sou-suo}
-
+
搜索路由模仿 jackett 的搜索 api, 以提供给 nastools 使用,填写在 nastools 配置 indexer 中
@@ -1733,7 +1733,7 @@ When `mediaType` is `movie`, `sheet` should be:
### 作者文章 {#se-hua-tang-zuo-zhe-wen-zhang}
-
+
## 深影译站 {#shen-ying-yi-zhan}
@@ -1845,7 +1845,7 @@ Tiny Tiny RSS 会给所有 iframe 元素添加 `sandbox="allow-scripts"` 属性
### 专辑(不输出 ShowNote) {#xi-ma-la-ya-zhuan-ji-bu-shu-chu-shownote}
-
+
目前喜马拉雅的 API 只能一集一集的获取各节目上的 ShowNote,会极大的占用系统资源,所以默认为不获取节目的 ShowNote。下方有一个新的路径可选获取 ShowNote。
@@ -1861,7 +1861,7 @@ Tiny Tiny RSS 会给所有 iframe 元素添加 `sandbox="allow-scripts"` 属性
### 专辑(输出 ShowNote) {#xi-ma-la-ya-zhuan-ji-shu-chu-shownote}
-
+
@@ -1869,7 +1869,7 @@ Tiny Tiny RSS 会给所有 iframe 元素添加 `sandbox="allow-scripts"` 属性
### 发现 {#xiao-yu-zhou-fa-xian}
-
+
:::warning
diff --git a/website/docs/routes/new-media.mdx b/website/docs/routes/new-media.mdx
index ca8c99a77a..e394aa789f 100644
--- a/website/docs/routes/new-media.mdx
+++ b/website/docs/routes/new-media.mdx
@@ -5669,7 +5669,7 @@ column 为 third 时可选的 category:
### 公众号(微阅读来源) {#wei-xin-gong-zhong-hao-wei-yue-du-lai-yuan}
-
+
:::warning
diff --git a/website/docs/routes/other.mdx b/website/docs/routes/other.mdx
index 2bc0b343b3..7f9aea3143 100644
--- a/website/docs/routes/other.mdx
+++ b/website/docs/routes/other.mdx
@@ -4,7 +4,7 @@
### 4399 论坛 {#4399-lun-tan-4399-lun-tan}
-
+
:::warning
@@ -219,7 +219,7 @@ Official Website: [https://news.yahoo.co.jp/pages/article/20200207](https://news
> Only support IMAP protocol, email password and other settings refer to [Email setting](/install)
-
+
## Emi Nitta official website 新田惠海官方网站 {#emi-nitta-official-website-xin-tian-hui-hai-guan-fang-wang-zhan}
@@ -393,7 +393,7 @@ For example:
### 订阅列表 {#miniflux-ding-yue-lie-biao}
-
+
1. 如无指定参数,默认输出全部订阅源
2. 分类 ID 或订阅源 ID 请于`分类`(快捷键 `g` `c`)或`源`(快捷键 `g` `f`)页面获取,每个分类(或订阅源)的网址即显示其 ID 信息。
@@ -405,7 +405,7 @@ For example:
### 获取订阅源内容 {#miniflux-huo-qu-ding-yue-yuan-nei-rong}
-
+
1. 支持获取全部内容:即可通过 `/miniflux/all` 或 `/miniflux/default` 等关键字获取全部订阅源下的内容。
2. 支持通过订阅源的 ID 获取指定订阅源的订阅内容,订阅源 ID 请于`源`(快捷键 `g` `f`)所在的页面获取,每个分类(或订阅源)的网址即显示其 ID 信息。而格式上有如下选择:
@@ -496,7 +496,7 @@ It is recommended to use with clipping tools such as Notion Web Clipper.
### Database {#notion-database}
-
+
There is an optional query parameter called `properties=` that can be used to customize field mapping. There are three built-in fields: author, pubTime and link, which can be used to add additional information.
@@ -596,7 +596,7 @@ Specify options (in the format of query string) in parameter `routeParams` param
| `itemPubDate` | The HTML elements as `pubDate` in `item` using CSS selector | `string` | `item` element |
| `itemPubDateAttr` | The attributes of `pubDate` element as pubDate | `string` | Element html |
-
+
Parameters parsing in the above example:
@@ -632,7 +632,7 @@ JSON Path only supports format like `a.b.c`. if you need to access arrays, like
:::
-
+
Parameters parsing in the above example:
@@ -660,7 +660,7 @@ Specify options (in the format of query string) in parameter `routeParams` param
|-----------------|----------------------------------------------------------------|-----------------|------------------------|
| `title` | The title of the RSS | `string` | Extract from `` |
-
+
Parameters parsing in the above example:
@@ -851,7 +851,7 @@ Refer to [the list of supported currencies](https://wise.com/tools/exchange-rate
:::
-
+
## 福利资源 - met.red {#fu-li-zi-yuan-met.red}
diff --git a/website/docs/routes/picture.mdx b/website/docs/routes/picture.mdx
index 2f694edd23..cd24b65b38 100644
--- a/website/docs/routes/picture.mdx
+++ b/website/docs/routes/picture.mdx
@@ -471,7 +471,7 @@ For example:
### Search {#pixabay-search}
-
+
## Porn Image XXX {#porn-image-xxx}
diff --git a/website/docs/routes/programming.mdx b/website/docs/routes/programming.mdx
index 2f90b014ab..1ad3d79dbf 100644
--- a/website/docs/routes/programming.mdx
+++ b/website/docs/routes/programming.mdx
@@ -310,7 +310,7 @@ GitHub provides some official RSS feeds:
### Trending {#github-trending}
-
+
### Topics {#github-topics}
@@ -399,7 +399,7 @@ For instance, the `/github/topics/framework/l=php&o=desc&s=stars` route will gen
### Notifications {#github-notifications}
-
+
### Gist Commits {#github-gist-commits}
diff --git a/website/docs/routes/reading.mdx b/website/docs/routes/reading.mdx
index 6021fcf30e..e111ecad25 100644
--- a/website/docs/routes/reading.mdx
+++ b/website/docs/routes/reading.mdx
@@ -497,7 +497,7 @@ count 的取值范围为 1-12,为防止请求次数过多,推荐设置为 5
### 首页分类 {#qing-xiao-shuo-wen-ku-shou-ye-fen-lei}
-
+
:::warning
diff --git a/website/docs/routes/social-media.mdx b/website/docs/routes/social-media.mdx
index 1140eb93fa..cd245957f0 100644
--- a/website/docs/routes/social-media.mdx
+++ b/website/docs/routes/social-media.mdx
@@ -85,7 +85,7 @@ Tiny Tiny RSS 会给所有 iframe 元素添加 `sandbox="allow-scripts"` 属性
### UP 主粉丝 {#bilibili-up-zhu-fen-si}
-
+
:::warning
@@ -97,7 +97,7 @@ UP 主粉丝现在需要 b 站登录后的 Cookie 值,所以只能自建,详
### UP 主关注用户 {#bilibili-up-zhu-guan-zhu-yong-hu}
-
+
:::warning
@@ -265,7 +265,7 @@ UP 主关注用户现在需要 b 站登录后的 Cookie 值,所以只能自建
### 用户关注动态 {#bilibili-yong-hu-guan-zhu-dong-tai}
-
+
:::warning
@@ -277,7 +277,7 @@ UP 主关注用户现在需要 b 站登录后的 Cookie 值,所以只能自建
### 用户关注视频动态 {#bilibili-yong-hu-guan-zhu-shi-pin-dong-tai}
-
+
:::warning
@@ -289,7 +289,7 @@ UP 主关注用户现在需要 b 站登录后的 Cookie 值,所以只能自建
### 用户关注专栏 {#bilibili-yong-hu-guan-zhu-zhuan-lan}
-
+
:::warning
@@ -301,7 +301,7 @@ UP 主关注用户现在需要 b 站登录后的 Cookie 值,所以只能自建
### 用户稍后再看 {#bilibili-yong-hu-shao-hou-zai-kan}
-
+
:::warning
@@ -391,7 +391,7 @@ UP 主关注用户现在需要 b 站登录后的 Cookie 值,所以只能自建
### 用户追漫更新 {#bilibili-yong-hu-zhui-man-geng-xin}
-
+
:::warning
@@ -471,7 +471,7 @@ UP 主关注用户现在需要 b 站登录后的 Cookie 值,所以只能自建
### Channel Messages {#discord-channel-messages}
-
+
## Disqus {#disqus}
@@ -607,7 +607,7 @@ Due to [Instagram Private API](https://github.com/dilame/instagram-private-api)
:::
-
+
## Keep {#keep}
@@ -619,7 +619,7 @@ Due to [Instagram Private API](https://github.com/dilame/instagram-private-api)
### Community {#lemmy-community}
-
+
## Lofter {#lofter}
@@ -759,7 +759,7 @@ Though, every Story expires after 24 hours, so it may be not so serious.
### Following timeline {#pixiv-following-timeline}
-
+
:::warning
@@ -976,23 +976,23 @@ generates
### User timeline {#twitter-user-timeline}
-
+
### User media {#twitter-user-media}
-
+
### Keyword {#twitter-keyword}
-
+
### Tweet Details {#twitter-tweet-details}
-
+
### User following timeline {#twitter-user-following-timeline}
-
+
:::warning
@@ -1016,7 +1016,7 @@ This route requires Twitter token's corresponding id, therefore it's only availa
### Collection {#twitter-collection}
-
+
:::warning
@@ -1090,7 +1090,7 @@ YouTube provides official RSS feeds for channels, for instance [https://www.yout
### Subscriptions {#youtube-subscriptions}
-
+
### Music Charts {#youtube-music-charts}
@@ -1760,7 +1760,7 @@ rule
### 个人时间线 {#wei-bo-ge-ren-shi-jian-xian}
-
+
:::warning
@@ -1774,7 +1774,7 @@ rule
### 自定义分组 {#wei-bo-zi-ding-yi-fen-zu}
-
+
:::warning
@@ -1841,11 +1841,11 @@ rule
### 微信公众号 {#xin-bang-wei-xin-gong-zhong-hao}
-
+
### 抖音短视频 {#xin-bang-dou-yin-duan-shi-pin}
-
+
:::warning
@@ -1931,7 +1931,7 @@ rule
### 用户关注时间线 {#zhi-hu-yong-hu-guan-zhu-shi-jian-xian}
-
+
:::warning
diff --git a/website/docs/routes/university.mdx b/website/docs/routes/university.mdx
index 54ae864759..295cae2249 100644
--- a/website/docs/routes/university.mdx
+++ b/website/docs/routes/university.mdx
@@ -555,7 +555,7 @@ Note:[Source website](https://ece.umass.edu/seminar) may be empty when there's
### BTBYR 趣味盒 {#bei-jing-you-dian-da-xue-btbyr-qu-wei-he}
-
+
:::warning
@@ -3885,7 +3885,7 @@ jsjxy.hbut.edu.cn 证书链不全,自建 RSSHub 可设置环境变量 NODE_TLS
### 选课信息教务通知 {#zhong-guo-hai-yang-da-xue-xuan-ke-xin-xi-jiao-wu-tong-zhi}
-
+
:::warning
diff --git a/website/i18n/en/code.json b/website/i18n/en/code.json
index d31873b8ee..73d33e844d 100644
--- a/website/i18n/en/code.json
+++ b/website/i18n/en/code.json
@@ -14,15 +14,15 @@
"badge.anticrawler": {
"message": "Strict anti-crawler policy"
},
- "badge.selfhost": {
- "message": "Self-host only"
- },
"badge.radar": {
"message": "Support browser extension"
},
"badge.rssbud": {
"message": "Support RSSBud"
},
+ "badge.configRequired": {
+ "message": "Config required"
+ },
"route.author": {
"message": "Author: "
},
diff --git a/website/i18n/zh/code.json b/website/i18n/zh/code.json
index 412dcabfb7..e714a59166 100644
--- a/website/i18n/zh/code.json
+++ b/website/i18n/zh/code.json
@@ -14,15 +14,15 @@
"badge.anticrawler": {
"message": "反爬严格"
},
- "badge.selfhost": {
- "message": "仅支持自建"
- },
"badge.radar": {
"message": "支持浏览器扩展"
},
"badge.rssbud": {
"message": "支持 RSSBud"
},
+ "badge.configRequired": {
+ "message": "需要配置"
+ },
"route.author": {
"message": "作者:"
},
diff --git a/website/i18n/zh/docusaurus-plugin-content-docs/current/install/config.md b/website/i18n/zh/docusaurus-plugin-content-docs/current/install/config.md
index 4ff2f005cf..55245669fd 100644
--- a/website/i18n/zh/docusaurus-plugin-content-docs/current/install/config.md
+++ b/website/i18n/zh/docusaurus-plugin-content-docs/current/install/config.md
@@ -235,7 +235,7 @@ RSSHub 支持使用访问密钥 / 码,允许清单和拒绝清单三种方式
`OPENAI_PROMPT`: OpenAI 提示语,用于使用 ChatGPT 总结文章,详见 [OpenAI API 文档](https://platform.openai.com/docs/api-reference/chat)
-## 部分 RSS 模块配置
+## 部分 RSS 模块配置 {#route-specific-configurations}
:::tip
diff --git a/website/i18n/zh/docusaurus-plugin-content-docs/current/joinus/new-rss/add-docs.md b/website/i18n/zh/docusaurus-plugin-content-docs/current/joinus/new-rss/add-docs.md
index b945ef94c4..ff1b6be9e6 100644
--- a/website/i18n/zh/docusaurus-plugin-content-docs/current/joinus/new-rss/add-docs.md
+++ b/website/i18n/zh/docusaurus-plugin-content-docs/current/joinus/new-rss/add-docs.md
@@ -226,7 +226,7 @@ pnpm run start
- `puppeteer`:如果源使用 puppeteer 抓取,则设置为 `1`。
- `radar`:如果此源有相应的 Radar 规则,则设置为 `1`。
- `rssbud`:如果 Radar 规则与 RSSBud 兼容,则设置为 `1`。
-- `selfhost`:如果 RSS 源需要通过环境变量进行额外配置,则设置为 `1`。
+- `configRequired`:如果 RSS 源需要通过环境变量进行额外配置,则设置为 `1`。
- `supportBT`:如果支持被 BitTorrent 客户端识别,则设置为 `1`。
- `supportPodcast`:如果源支持播客,则设置为 `1`。
- `supportScihub`:如果源支持 Sci-Hub,则设置为 `1`。
@@ -234,12 +234,12 @@ pnpm run start
通过添加这些属性,您可以向用户提供有用的信息,并使其更易于理解和使用您的路由。将这些属性添加到路由文档中将在其前面添加一个徽章。
```tsx
-
+
```
---
-
+
---
diff --git a/website/src/components/Route.tsx b/website/src/components/Route.tsx
index bb7afc5bc7..a2650acfc7 100644
--- a/website/src/components/Route.tsx
+++ b/website/src/components/Route.tsx
@@ -14,7 +14,7 @@ export default function Route({
supportScihub = null,
radar = null,
rssbud = null,
- selfhost = null,
+ configRequired = null,
puppeteer = null,
children = null,
}: {
@@ -28,7 +28,7 @@ export default function Route({
supportScihub?: boolean;
radar?: boolean;
rssbud?: boolean;
- selfhost?: boolean;
+ configRequired?: boolean;
puppeteer?: boolean;
children?: JSX.Element | JSX.Element[];
}): JSX.Element {
@@ -54,9 +54,9 @@ export default function Route({
)}
- {selfhost && (
-
-
+ {configRequired && (
+
+
)}
{radar && (