{"id":13453445,"url":"https://github.com/yllhwa/RSSWorker","last_synced_at":"2025-03-24T01:31:30.517Z","repository":{"id":199044494,"uuid":"702034002","full_name":"yllhwa/RSSWorker","owner":"yllhwa","description":"运行在Cloudflare Worker上的RSS订阅生成器","archived":false,"fork":false,"pushed_at":"2024-09-19T14:50:49.000Z","size":553,"stargazers_count":609,"open_issues_count":6,"forks_count":472,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-16T20:42:44.242Z","etag":null,"topics":["bilibili","rss","rss-generator","telegram","weibo","xiaohongshu"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yllhwa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-08T09:59:42.000Z","updated_at":"2025-03-15T05:17:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"6a595a05-8148-4f77-87ea-30528ac81215","html_url":"https://github.com/yllhwa/RSSWorker","commit_stats":null,"previous_names":["yllhwa/rssworker"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yllhwa%2FRSSWorker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yllhwa%2FRSSWorker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yllhwa%2FRSSWorker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yllhwa%2FRSSWorker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yllhwa","download_url":"https://codeload.github.com/yllhwa/RSSWorker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245194231,"owners_count":20575725,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bilibili","rss","rss-generator","telegram","weibo","xiaohongshu"],"created_at":"2024-07-31T08:00:40.135Z","updated_at":"2025-03-24T01:31:27.466Z","avatar_url":"https://github.com/yllhwa.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","其他","Sonstiges"],"sub_categories":[],"readme":"# RSSWorker\n\nRSSWorker 是一个轻量级的 RSS 订阅工具，可以部署在 Cloudflare Worker 上。\n\n## 支持\n\n注：以下路由均在 `[域名]/rss/` 下，如 `https://example.com/rss/bilibili/user/dynamic/1`。\n\n- bilibili 动态 (/bilibili/user/dynamic/:uid)\n- bilibili 视频 (/bilibili/user/video/:uid)\n- telegram 频道 (/telegram/channel/:username)\n- weibo 用户 (/weibo/user/:uid)\n- 小红书用户 (/xiaohongshu/user/:uid)\n\n\u003e 小红书更新后不能再使用小红书号，需要使用小红书用户ID。  \n\u003e 获取方法：  \n\u003e 移动端：用户页面 \u003e 右上角三个点 \u003e 复制链接 \u003e 获取链接中的用户ID  \n\u003e 网页端：用户页面 \u003e 链接中的用户ID  \n\u003e 格式：https://www.xiaohongshu.com/user/profile/5d2aec020000000012037401\n\n## 部署\n\n[![Deploy to Cloudflare Workers](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/yllhwa/RSSWorker)\n\n## 开发\n\n在 `src/lib/[网站名称]/[功能]` 参照已有的 demo 添加脚本，然后在 `src/route.js` 中添加插件即可。\n\n注意事项：\n1. Cloudflare Worker 有最大打包体积限制（免费用户 1 MB，付费用户 10 MB），所以插件需要尽量轻量化。如使用 fetch 进行请求、使用 Cloudflare Worker 提供的 HTMLRewriter 进行 HTML 解析等。\n\n模板引擎使用的格式为：\n\n```js\nlet items = [\n\t{\n\t\ttitle: 'Bilibili User Dynamic',\n\t\tlink: `https://space.bilibili.com/${uid}/dynamic`,\n\t\tdescription: 'Bilibili User Dynamic233',\n\t\tpubDate: new Date().toUTCString(),\n\t\tguid: `https://space.bilibili.com/${uid}/dynamic`,\n\t\tauthor: 'bilibili@bilibili.com',\n\t\tcategory: 'video',\n\t\tcomments: `https://space.bilibili.com/${uid}/dynamic`,\n\t\tenclosure: {\n\t\t\turl: 'https://www.bilibili.com/favicon.ico',\n\t\t\ttype: 'image/x-icon',\n\t\t\tlength: 0,\n\t\t},\n\t\tsource: {\n\t\t\ttitle: 'Bilibili',\n\t\t\turl: 'https://www.bilibili.com',\n\t\t},\n\t},\n];\nlet data = {\n    title: `bilibili 动态`,\n    link: `https://space.bilibili.com/${uid}/dynamic`,\n    description: `${globalUsername} 的 bilibili 动态`,\n    language: 'zh-cn',\n    category: 'bilibili',\n    items: items,\n};\n```\n\n## 致谢\n\n- [RSSHub](https://github.com/DIYgod/RSSHub) 灵感和部分代码来源","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyllhwa%2FRSSWorker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyllhwa%2FRSSWorker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyllhwa%2FRSSWorker/lists"}