{"id":48883267,"url":"https://github.com/adminlove520/github_monitor","last_synced_at":"2026-04-16T04:04:09.444Z","repository":{"id":262953876,"uuid":"885834116","full_name":"adminlove520/github_monitor","owner":"adminlove520","description":"实时监控github上新增的cve、自定义关键词、安全工具更新、大佬仓库监控，并多渠道推送通知","archived":false,"fork":false,"pushed_at":"2026-04-09T20:47:11.000Z","size":3879,"stargazers_count":10,"open_issues_count":1,"forks_count":5,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-04-09T21:33:21.673Z","etag":null,"topics":["cve-monitor","github-monitor","keyboard","push-notifications","security-tools"],"latest_commit_sha":null,"homepage":"https://adminlove520.github.io/github_monitor/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adminlove520.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-11-09T14:17:33.000Z","updated_at":"2026-04-09T20:47:17.000Z","dependencies_parsed_at":"2024-11-15T08:41:37.144Z","dependency_job_id":null,"html_url":"https://github.com/adminlove520/github_monitor","commit_stats":null,"previous_names":["adminlove520/github_monitor_cve","adminlove520/github_monitor"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/adminlove520/github_monitor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adminlove520%2Fgithub_monitor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adminlove520%2Fgithub_monitor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adminlove520%2Fgithub_monitor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adminlove520%2Fgithub_monitor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adminlove520","download_url":"https://codeload.github.com/adminlove520/github_monitor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adminlove520%2Fgithub_monitor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31870520,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"online","status_checked_at":"2026-04-16T02:00:06.042Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["cve-monitor","github-monitor","keyboard","push-notifications","security-tools"],"created_at":"2026-04-16T04:03:51.152Z","updated_at":"2026-04-16T04:04:09.428Z","avatar_url":"https://github.com/adminlove520.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# github-monitor\n\n\u003e 实时监控 GitHub 上新增的 CVE、自定义关键词、安全工具更新、大佬仓库监控，并多渠道推送通知。\n\n当前版本：**V1.1.1**\n版本更新时间：2026-01-05\n\n\n## 实时监控github上新增的cve、自定义关键词、安全工具更新、大佬仓库监控，并多渠道推送通知\n\n每日定时检测github是否有新的cve漏洞提交、安全工具更新记录、关键词监控和大佬仓库更新，若有则通过配置的渠道通知用户\n\n## 功能特性\n\n- ✅ CVE漏洞监控\n- ✅ 自定义关键词监控\n- ✅ 安全工具更新监控\n- ✅ 大佬仓库监控\n- ✅ 多渠道推送（钉钉、飞书、Telegram）\n- ✅ 日报生成功能\n- ✅ 百度翻译集成（替代有道翻译）\n- ✅ 翻译缓存机制\n- ✅ 访问频率控制\n- ✅ 黑名单配置\n- ✅ GitHub Actions 支持\n\n## 技术栈\n\n- Python 3.x\n- Requests\n- SQLite3\n- GitHub API\n- 百度翻译 API\n\n## 配置说明\n\n### 配置文件（config.yaml）\n\n- `github_token`: GitHub API Token\n- `push_channel`: 推送渠道配置（钉钉、飞书、Telegram）\n- `translate`: 翻译功能配置\n- `black_user`: 黑名单用户配置\n\n### 百度翻译配置\n\n已集成百度翻译API，替换了原有的有道翻译\n- APP ID: ${{ secrets.BAIDU_APP_ID }}\n- 密钥: ${{ secrets.BAIDU_SECRET_KEY }}\n\n## 注意事项\n\n- 如非必须，请勿使用翻译功能\n- 提交代码不可包含敏感信息，否则会导致 GitHub Token 失效\n- 翻译功能已优化，添加了缓存和访问频率控制，避免API调用限制\n- 支持代理配置，可根据网络环境调整\n- 支持 GitHub Actions 部署，无需本地运行\n\n## 部署方式\n\n### 本地部署\n\n```bash\n# 安装依赖\npip install -r requirements.txt\n\n# 运行脚本\npython github_cve_monitor.py\n```\n\n### GitHub Actions 部署 (免费)\n\n1. Fork 本仓库\n2. 添加 Secrets：\n   - `GITHUB_TOKEN`: GitHub API Token\n   - `DINGDING_WEBHOOK`: 钉钉机器人 Webhook\n   - `DINGDING_SECRETKEY`: 钉钉机器人密钥\n   - `FEISHU_WEBHOOK`: 飞书机器人 Webhook\n   - `TG_BOT_TOKEN`: Telegram Bot Token\n   - `TG_GROUP_ID`: Telegram 群组 ID\n   - `DISCARD_WEBHOOK`: Discard 推送 Webhook\n   - `DISCARD_SWITCH`: Discard 推送开关\n   - `DISCARD_SEND_DAILY_REPORT`: Discard 日报推送开关\n   - `DISCARD_SEND_NORMAL_MSG`: Discard 普通消息推送开关\n   - `BAIDU_APP_ID`: 百度翻译 APP ID\n   - `BAIDU_SECRET_KEY`: 百度翻译密钥\n3. 启用 GitHub Actions\n\n### Docker / Zeabur 部署 (推荐)\n\n代码推送到 `main` 分支会自动构建镜像到 GHCR。\n\n1. **部署**：在 Zeabur 或 Docker 环境中使用镜像 `ghcr.io/${{ github.repository_owner }}/github_monitor:latest`。\n2. **环境变量**：参考 GitHub Actions 部署中的 Secrets。\n3. **数据持久化 (Zeabur)**：\n   - 挂载路径: `/app/data.db`。挂载此文件以确保数据库在重启后不会丢失。\n\n## 日报功能\n\n- 每日自动生成监控日报\n- 包含CVE、关键词、工具更新等信息\n- 格式优化，便于构建知识库\n- 存储在 `archive` 目录下\n\n## 许可证\n\nMIT License\n\n## 更新日志\n\n### v1.0.0 (2024-11-09)\n- 仓库创建\n- 实现基础功能：CVE漏洞监控、自定义关键词监控、安全工具更新监控、大佬仓库监控\n- 支持多渠道推送（钉钉、飞书、Telegram）\n- 集成GitHub Actions\n\n### v1.1.0 (2025-12-26)\n- 新增Discard推送支持\n- 优化日报生成功能\n- 实现按日期建立文件夹保存日报\n- 日报列表显示统计信息（总更新数、CVE数、关键字监控数、红队工具更新数）\n- 优化index.html界面设计\n- 修复当日多次更新日报时重复条目的问题\n- 完善GitHub Actions环境变量配置\n\n### v1.2.0 (2025-12-26)\n- 优化日报模板UI设计\n- 实现渐变背景和动画效果\n- 增强响应式设计\n- 优化卡片布局和视觉层次\n\n# CreateBy 东方隐侠·Anonymous\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadminlove520%2Fgithub_monitor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadminlove520%2Fgithub_monitor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadminlove520%2Fgithub_monitor/lists"}