Skip to content

feat: 每日推送 GitHub 热门仓库与 Hacker News 到飞书 - #1196

Closed
bhrajate wants to merge 1 commit into
sansan0:masterfrom
bhrajate:feature/github-daily-push
Closed

feat: 每日推送 GitHub 热门仓库与 Hacker News 到飞书#1196
bhrajate wants to merge 1 commit into
sansan0:masterfrom
bhrajate:feature/github-daily-push

Conversation

@bhrajate

Copy link
Copy Markdown

数据源改为 GitHub Trending + Hacker News,每天北京时间 10:11 推送一次。

  • config.yaml: 热榜源替换为 github-trending-today(域名校验 github.com), 原中文热榜源改为注释保留便于恢复;RSS 仅启用 hacker-news; display_mode 改为 platform,按来源分组更清晰
  • 新增 config/custom/keyword/github.txt: catch-all 关键词 /.*/ GitHub 仓库名与 HN 标题均为英文,默认中文关键词匹配率接近 0; 且推送开关 has_any_content 只看关键词匹配结果,standalone 数据不计入, 仅配 standalone 会导致完全不推送,故用 catch-all 放行全部条目
  • crawler.yml: cron 由每小时改为每日 UTC 02:11(北京 10:11); 移除 Check Expiration 步骤及 actions:write 权限,不再需要每 7 天签到续期; 注入 FREQUENCY_WORDS_PATH 指向专用关键词文件

推送渠道仅飞书:dispatcher 按各渠道配置值是否为空独立判断,
仅 FEISHU_WEBHOOK_URL 有值,其余渠道不触发,无需改代码。

数据源改为 GitHub Trending + Hacker News,每天北京时间 10:11 推送一次。

- config.yaml: 热榜源替换为 github-trending-today(域名校验 github.com),
  原中文热榜源改为注释保留便于恢复;RSS 仅启用 hacker-news;
  display_mode 改为 platform,按来源分组更清晰
- 新增 config/custom/keyword/github.txt: catch-all 关键词 /.*/
  GitHub 仓库名与 HN 标题均为英文,默认中文关键词匹配率接近 0;
  且推送开关 has_any_content 只看关键词匹配结果,standalone 数据不计入,
  仅配 standalone 会导致完全不推送,故用 catch-all 放行全部条目
- crawler.yml: cron 由每小时改为每日 UTC 02:11(北京 10:11);
  移除 Check Expiration 步骤及 actions:write 权限,不再需要每 7 天签到续期;
  注入 FREQUENCY_WORDS_PATH 指向专用关键词文件

推送渠道仅飞书:dispatcher 按各渠道配置值是否为空独立判断,
仅 FEISHU_WEBHOOK_URL 有值,其余渠道不触发,无需改代码。
@bhrajate
bhrajate force-pushed the feature/github-daily-push branch from e0598f2 to 31f3b9b Compare July 31, 2026 09:43
@bhrajate bhrajate closed this by deleting the head repository Jul 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant