diff --git a/.github/README.md b/.github/README.md index ce4689d0..5faf04f7 100644 --- a/.github/README.md +++ b/.github/README.md @@ -119,6 +119,7 @@ | 🟢 | | QingLong | https://github.com/whyour/qinglong/ | 【青龙】支持 Python3、JavaScript、Shell、Typescript 的定时任务管理平台 | | | 🟢 | | Reader3 | https://github.com/hectorqin/reader/ | 【阅读3】阅读3服务器版,不需要手机 | | | 🟢 | | Redis | https://redis.io/ | 从世界上最快的内存数据库创建者那里获取该数据库 | | +| 🟢 | | RssHub | https://rsshub.app/ | 从任何内容生成 RSS/Atom/JSON 订阅源 | | | 🟢 | | Sentinel | https://sentinelguard.io/ | 面向分布式、多语言异构化服务架构的流量治理组件 | | | 🟢 | | SiYuan | https://b3log.org/siyuan/ | 【思源笔记】一款隐私优先、自托管、完全开源的个人知识管理软件 | | | 🟢 | | SpeedTest | https://www.speedtest.net/ | 互联网速度测试 | SpeedTest | diff --git a/README.md b/README.md index 0effd2d9..93b7af7f 100644 --- a/README.md +++ b/README.md @@ -102,6 +102,7 @@ | 🟢 | | QingLong | https://github.com/whyour/qinglong/ | 【青龙】支持 Python3、JavaScript、Shell、Typescript 的定时任务管理平台 | | | 🟢 | | Reader3 | https://github.com/hectorqin/reader/ | 【阅读3】阅读3服务器版,不需要手机 | | | 🟢 | | Redis | https://redis.io/ | 从世界上最快的内存数据库创建者那里获取该数据库 | | +| 🟢 | | RssHub | https://rsshub.app/ | 从任何内容生成 RSS/Atom/JSON 订阅源 | | | 🟢 | | Sentinel | https://sentinelguard.io/ | 面向分布式、多语言异构化服务架构的流量治理组件 | | | 🟢 | | SiYuan | https://b3log.org/siyuan/ | 【思源笔记】一款隐私优先、自托管、完全开源的个人知识管理软件 | | | 🟢 | | SpeedTest | https://www.speedtest.net/ | 互联网速度测试 | SpeedTest | diff --git a/apps/rsshub/2024-08-06/data.yml b/apps/rsshub/2024-08-06/data.yml new file mode 100644 index 00000000..bcf3f520 --- /dev/null +++ b/apps/rsshub/2024-08-06/data.yml @@ -0,0 +1,43 @@ +additionalProperties: + formFields: + - default: 1200 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelZh: WebUI 端口 + labelEn: WebUI port + required: true + rule: paramPort + type: number + - default: "" + edit: true + envKey: ACCESS_KEY + labelZh: 访问密钥 + labelEn: Access key + required: true + type: text + - default: "memory" + edit: true + envKey: CACHE_TYPE + labelZh: 缓存类型 + labelEn: Cache type + required: true + type: select + values: + - label: 内存 + value: "memory" + - label: Redis + value: "redis" + - default: "redis://127.0.0.1:6379/" + edit: true + envKey: REDIS_URL + labelZh: Redis URL 地址 + labelEn: Redis URL address + required: false + type: text + - default: "" + edit: true + envKey: PROXY_URI + labelZh: 代理 URL 地址 + labelEn: Proxy URL address + required: false + type: text diff --git a/apps/rsshub/2024-08-06/docker-compose.yml b/apps/rsshub/2024-08-06/docker-compose.yml new file mode 100644 index 00000000..a5617eff --- /dev/null +++ b/apps/rsshub/2024-08-06/docker-compose.yml @@ -0,0 +1,30 @@ +version: "3.8" + +networks: + 1panel-network: + external: true + +services: + rsshub: + image: diygod/rsshub:chromium-bundled-2024-08-06 + container_name: ${CONTAINER_NAME} + labels: + createdBy: "Apps" + restart: always + networks: + - 1panel-network + ports: + - ${PANEL_APP_PORT_HTTP}:1200 + env_file: + - /etc/1panel/envs/global.env + - ${ENV_FILE:-/etc/1panel/envs/default.env} + environment: + - NODE_ENV=production + - PORT=1200 + - LISTEN_INADDR_ANY=1 + - REQUEST_RETRY=2 + - REQUEST_TIMEOUT=3000 + - ALLOW_ORIGIN=* + - CACHE_CONTENT_EXPIRE=360 + - CACHE_EXPIRE=300 + - MEMORY_MAX=256 diff --git a/apps/rsshub/2024-08-06/scripts/init.sh b/apps/rsshub/2024-08-06/scripts/init.sh new file mode 100644 index 00000000..77b84912 --- /dev/null +++ b/apps/rsshub/2024-08-06/scripts/init.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +if [ -f .env ]; then + source .env + + # setup-1 add default values + CURRENT_DIR=$(pwd) + sed -i '/^ENV_FILE=/d' .env + echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env + + echo "Check Finish." + +else + echo "Error: .env file not found." +fi diff --git a/apps/rsshub/2024-08-06/scripts/uninstall.sh b/apps/rsshub/2024-08-06/scripts/uninstall.sh new file mode 100644 index 00000000..c86c4fbc --- /dev/null +++ b/apps/rsshub/2024-08-06/scripts/uninstall.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +if [ -f .env ]; then + source .env + + echo "Check Finish." + +else + echo "Error: .env file not found." +fi diff --git a/apps/rsshub/2024-08-06/scripts/upgrade.sh b/apps/rsshub/2024-08-06/scripts/upgrade.sh new file mode 100644 index 00000000..77b84912 --- /dev/null +++ b/apps/rsshub/2024-08-06/scripts/upgrade.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +if [ -f .env ]; then + source .env + + # setup-1 add default values + CURRENT_DIR=$(pwd) + sed -i '/^ENV_FILE=/d' .env + echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env + + echo "Check Finish." + +else + echo "Error: .env file not found." +fi diff --git a/apps/rsshub/README.md b/apps/rsshub/README.md new file mode 100644 index 00000000..6de0afc6 --- /dev/null +++ b/apps/rsshub/README.md @@ -0,0 +1,44 @@ +# RssHub + +万物皆可 RSS + +![RssHub](https://file.lifebus.top/imgs/rsshub_cover.png) + +从任何内容生成 RSS/Atom/JSON 订阅源 + +![](https://img.shields.io/badge/%E6%96%B0%E7%96%86%E8%90%8C%E6%A3%AE%E8%BD%AF%E4%BB%B6%E5%BC%80%E5%8F%91%E5%B7%A5%E4%BD%9C%E5%AE%A4-%E6%8F%90%E4%BE%9B%E6%8A%80%E6%9C%AF%E6%94%AF%E6%8C%81-blue) + +## 安装说明 + +我们建议您使用 Redis 作为缓存数据库,以提高性能。 + +## 使用说明 + +请参考官方文档:[RssHub 使用说明](https://docs.rsshub.app/zh/guide/) + +## 配置说明 + +一些站点的RSS Feed需要登录后才能访问,这时候就需要配置一些鉴权配置 + +具体配置方法请参考官方文档:[RssHub 配置说明](https://docs.rsshub.app/zh/deploy/config/) + +## 注意事项 + +1. 请勿滥用本软件,否则后果自负 +2. 请遵守各网站的使用规定 +3. 请勿将本软件用于商业用途 +4. 请勿将本软件用于违法用途 +5. 请勿将本软件用于违反道德用途 +6. 请勿将本软件用于违反社会公德用途 +7. 请勿将本软件用于违反国家法律用途 +8. 请勿将本软件用于违反国家政策用途 +9. 请勿将本软件用于违反国家战略用途 +10. 请勿将本软件用于违反国家安全用途 +11. 请勿将本软件用于违反国家利益用途 +12. 请勿将本软件用于违反国家尊严用途 +13. 请勿将本软件用于违反国家权益用途 +14. 总而言之,请遵守法律法规,文明上网 + +--- + +![Ms Studio](https://file.lifebus.top/imgs/ms_blank_001.png) diff --git a/apps/rsshub/data.yml b/apps/rsshub/data.yml new file mode 100644 index 00000000..76e3cf49 --- /dev/null +++ b/apps/rsshub/data.yml @@ -0,0 +1,19 @@ +name: RssHub +title: 从任何内容生成 RSS/Atom/JSON 订阅源 +description: +additionalProperties: + key: rsshub + name: RssHub + tags: + - WebSite + - Middleware + - Tool + - Local + shortDescZh: 从任何内容生成 RSS/Atom/JSON 订阅源 + shortDescEn: Generate RSS/Atom/JSON feeds from any content + type: website + crossVersionUpdate: true + limit: 0 + website: https://rsshub.app/ + github: https://github.com/DIYgod/RSSHub/ + document: https://docs.rsshub.app/ diff --git a/apps/rsshub/logo.png b/apps/rsshub/logo.png new file mode 100644 index 00000000..3ca374f0 Binary files /dev/null and b/apps/rsshub/logo.png differ