About github-trending
github-trending is a skill for summarizing and delivering GitHub Trending projects, suited to people who want a digest of current projects. It fetches the top five projects of the day and their READMEs, creates Chinese summaries, and sends them through a WeCom bot.
Key features
- 01Fetches the day's top five trending projects
- 02Retrieves project READMEs
- 03Summarizes project details and tech stacks
- 04Sends digests through a WeCom bot
- 05Configures GitHub API and webhook via environment variables
Use cases
- 01Receive a daily project digest in a WeCom group
- 02Scan trending projects for their problem areas and tech stacks
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ wwwzhouhui/ skills_collection --skill github-trendingAfter installing, type/github-trendingin Claude Code to confirm it loaded.
Bundled filesfetch_trending.pysend_wecom_summary.py
Details
From the project READMEGitHub Trending 摘要推送
功能
- 抓取 https://github.com/trending 今日热门前 5 项目
- 拉取每个项目 README
- 生成包含项目是什么、解决问题、技术栈、Star 数量的中文摘要
- 通过企业微信机器人发送摘要
脚本
1. 抓取与保存
python fetch_trending.py --output trending_top5.json
2. 生成摘要并发送
python send_wecom_summary.py --input trending_top5.json
配置
- 可选环境变量
GITHUB_TOKEN用于提高 GitHub API 额度 - 可选环境变量
WEIXIN_WEBHOOK覆盖默认企业微信机器人地址
Comments
Markdown supported