RSSHub Monkey Helper
快速生成并复制 RSSHub 订阅链接,支持 Bilibili、YouTube、X 等主流平台的浏览器用户脚本

✨ 功能特点
- 🚀 一键复制:自动检测当前页面并生成对应的 RSSHub 订阅链接
- 🎯 智能识别:支持自动识别 Bilibili、YouTube、X (Twitter) 等平台
- 🎨 现代界面:基于 SolidJS 构建的响应式用户界面
- 🌙 暗黑模式:自动适配系统暗黑模式
- 📱 移动友好:支持移动���浏览器使用
🎪 支持平台
Bilibili
YouTube
X (Twitter)
更多平台正在添加中...
🚀 安装使用
方式一:从 Release 安装(推荐)
- 安装用户脚本管理器:Tampermonkey 或 Violentmonkey
- 点击安装:📦 安装 RSSHub Monkey Helper
方式二:从源码构建
# 克隆仓库
git clone https://github.com/chlorinec/rsshub-monkey-helper.git
cd rsshub-monkey-helper
# 安装依赖
bun install
# 构建
bun run build
# 安装 dist/rsshub-monkey-helper.user.js 到用户脚本管理器
📖 使用说明
- 访问支持的平台(如 bilibili.com、youtube.com)
- 页面右下角会出现 RSSHub 图标按钮
- 点击按钮打开订阅面板
- 选择需要的订阅类型,一键复制链接
- 将链接添加到你的 RSS 阅读器
🛠️ 开发指南
技术栈
- 框架:SolidJS - 高性能响应式 UI 框架
- 构建:Vite + vite-plugin-monkey - 现代化构建工具
- 语言:TypeScript - 类型安全
- 样式:CSS Modules - 组件化样式
本地开发
# 开发模式(热重载)
bun dev
# 构建生产版本
bun build
# 预览构建结果
bun preview
项目结构
src/
├── components/ # UI 组件
│ ├── Panel.tsx # 主面板组件
│ └── RuleItem.tsx # 规则项组件
├── icons/ # SVG 图标
├── rsshub-rules.ts # 平台规则配置
├── platform-detectors.ts # 平台检测逻辑
├── App.tsx # 主应用组件
└── index.tsx # 入口文件
添加新平台支持
- 在
src/rsshub-rules.ts 中添加平台配置:
{
id: 'new-platform',
name: '新平台',
icon: newPlatformIcon,
rules: [
{
id: 'rule-id',
name: '规则名称',
desc: '规则描述',
doc: 'https://docs.rsshub.app/...',
genLink: ({ param }) => `/new-platform/${param}`,
preview: '/new-platform/example',
}
]
}
- 在
src/platform-detectors.ts 中添加检测逻辑:
export function detectParams(platformId: Platform): Record<string, string> {
switch (platformId) {
case 'new-platform':
// 从当前页面 URL 提取参数
return { param: extractFromURL() };
// ...
}
}
🤝 贡献指南
欢迎提交 Issue 和 Pull Request!
提交 Issue
- 🐛 Bug 报告
- ✨ 功能请求
- 📝 文档改进
- ❓ 使用问题
提交 PR
- Fork 本仓库
- 创建功能分支:
git checkout -b feature/new-feature
- 推送分支:
git push origin feature/new-feature
- 创建 Pull Request
📄 开源协议
本项目采用 MIT 协议开源。
🙏 致谢
📊 项目状态

如果觉得这个项目对你有帮助,请给它一个 ⭐ Star!