{"id":19235628,"url":"https://github.com/vu1nt0tal/yarb","last_synced_at":"2025-05-15T05:07:23.524Z","repository":{"id":39251591,"uuid":"478809713","full_name":"Vu1nT0tal/yarb","owner":"Vu1nT0tal","description":"方便获取每日安全资讯的爬虫和推送程序","archived":false,"fork":false,"pushed_at":"2025-05-09T03:15:46.000Z","size":16117,"stargazers_count":721,"open_issues_count":6,"forks_count":237,"subscribers_count":105,"default_branch":"main","last_synced_at":"2025-05-09T04:24:34.131Z","etag":null,"topics":["bot","rss","security"],"latest_commit_sha":null,"homepage":"https://vulntotal-team.github.io/yarb/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Vu1nT0tal.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,"zenodo":null}},"created_at":"2022-04-07T03:14:28.000Z","updated_at":"2025-05-09T03:15:49.000Z","dependencies_parsed_at":"2023-09-24T06:01:44.466Z","dependency_job_id":"fe5ef93b-2f81-499f-bbbe-0354271701f9","html_url":"https://github.com/Vu1nT0tal/yarb","commit_stats":null,"previous_names":["vu1nt0tal/yarb"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vu1nT0tal%2Fyarb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vu1nT0tal%2Fyarb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vu1nT0tal%2Fyarb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vu1nT0tal%2Fyarb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vu1nT0tal","download_url":"https://codeload.github.com/Vu1nT0tal/yarb/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254276447,"owners_count":22043867,"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":["bot","rss","security"],"created_at":"2024-11-09T16:17:37.490Z","updated_at":"2025-05-15T05:07:18.509Z","avatar_url":"https://github.com/Vu1nT0tal.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# yarb (Yet Another Rss Bot)\n\n一个方便获取每日安全资讯的爬虫和推送程序。支持导入 opml 文件，因此也可以订阅其他任何 RSS 源。\n\n**懒人福音，每日自动更新，点击右上角 Watch 即可：[每日安全资讯](./today.md)，[历史存档](./archive)**\n\n- [yarb (Yet Another Rss Bot)](#yarb-yet-another-rss-bot)\n  - [安装](#安装)\n  - [运行](#运行)\n    - [本地搭建](#本地搭建)\n    - [Github Actions](#github-actions)\n  - [订阅源](#订阅源)\n  - [关注我们](#关注我们)\n\n## 安装\n\n```sh\n$ git clone https://github.com/VulnTotal-Team/yarb.git\n$ cd yarb \u0026\u0026 ./install.sh\n```\n\n## 运行\n\n### 本地搭建\n\n编辑配置文件 `config.json`，启用所需的订阅源和机器人（key 也可以通过环境变量传入），最好启用代理。\n\n```sh\n$ ./yarb.py --help                            \nusage: yarb.py [-h] [--update] [--cron CRON] [--config CONFIG] [--test]\noptional arguments:\n  -h, --help       show this help message and exit\n  --update         Update RSS config file\n  --cron CRON      Execute scheduled tasks every day (eg:\"11:00\")\n  --config CONFIG  Use specified config file\n  --test           Test bot\n\n# 单次任务\n$ ./yarb.py\n\n# 每日定时任务\n$ nohup ./yarb.py --cron 11:00 \u003e run.log 2\u003e\u00261 \u0026\n```\n\n### Github Actions\n\n利用 Github Actions 提供的服务，你只需要 fork 本项目，在 Settings 中添加 secrets，即可完成部署。\n\n目前支持的推送机器人及对应的 secrets：\n\n- [邮件机器人](https://service.mail.qq.com/cgi-bin/help?subtype=1\u0026\u0026id=28\u0026\u0026no=1001256)\n  - `MAIL_KEY`（需要申请授权码，订阅较多时推荐）\n  - `MAIL_RECEIVER`（可选，接收人，以“,”分隔）\n- [飞书群机器人](https://open.feishu.cn/document/ukTMukTMukTM/ucTM5YjL3ETO24yNxkjN)：`FEISHU_KEY`\n- [企业微信群机器人](https://developer.work.weixin.qq.com/document/path/91770)：`WECOM_KEY`\n- [钉钉群机器人](https://open.dingtalk.com/document/robots/custom-robot-access)：`DINGTALK_KEY`（机器人安全设置可以使用“自定义关键词”，设置为“Yarb”）\n- [QQ群机器人](https://github.com/Mrs4s/go-cqhttp)：`QQ_KEY`（需要关闭登录设备锁）\n- [Telegram机器人](https://core.telegram.org/bots/api): `TELEGRAM_KEY`（需要代理）\n\n## 订阅源\n\n推荐订阅源：\n\n- [CustomRSS](rss/CustomRSS.opml)\n\n其他订阅源：\n\n- [CyberSecurityRSS](https://github.com/zer0yu/CyberSecurityRSS)\n- [Chinese-Security-RSS](https://github.com/zhengjim/Chinese-Security-RSS)\n- [awesome-security-feed](https://github.com/mrtouch93/awesome-security-feed)\n- [安全技术公众号](https://github.com/ttttmr/wechat2rss)\n- [SecWiki 安全聚合](https://www.sec-wiki.com/opml/index)\n- [Hacking8 安全信息流](https://i.hacking8.com/)\n\n非安全订阅源：\n\n- [中文独立博客列表](https://github.com/timqian/chinese-independent-blogs)\n\n添加自定义订阅有两种方法：\n\n1. 在 `config.json` 中添加本地或远程仓库：\n\n```json\n{\n  \"rss\": {\n      \"CustomRSS\": {\n          \"enabled\": true,\n          \"filename\": \"CustomRSS.opml\"\n      },\n      \"CyberSecurityRSS\": {\n          \"enabled\": true,\n          \"url\": \"https://raw.githubusercontent.com/zer0yu/CyberSecurityRSS/master/CyberSecurityRSS.opml\",\n          \"filename\": \"CyberSecurityRSS.opml\"\n      },\n```\n\n2. 在 `rss/CustomRSS.opml` 中添加链接：\n\n```opml\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n\u003copml version=\"2.0\"\u003e\n\u003chead\u003e\u003ctitle\u003eCustomRSS\u003c/title\u003e\u003c/head\u003e\n\u003cbody\u003e\n\u003coutline type=\"rss\" xmlUrl=\"https://forum.butian.net/Rss\" text=\"奇安信攻防社区\" title=\"奇安信攻防社区\" htmlUrl=\"https://forum.butian.net\" /\u003e\n\u003c/body\u003e\n\u003c/opml\u003e\n```\n\n## 关注我们\n\n[VulnTotal安全](https://github.com/VulnTotal-Team)致力于分享高质量原创文章和开源工具，包括物联网/汽车安全、移动安全、网络攻防等。\n\nGNU General Public License v3.0\n\n[![Stargazers over time](https://starchart.cc/VulnTotal-Team/yarb.svg)](https://starchart.cc/VulnTotal-Team/yarb)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvu1nt0tal%2Fyarb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvu1nt0tal%2Fyarb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvu1nt0tal%2Fyarb/lists"}