python3 ~/.openclaw/workspace/skills/github-trending/scripts/fetch_trending.py
python3 ~/.openclaw/workspace/skills/github-trending/scripts/fetch_trending.py python
python3 ~/.openclaw/workspace/skills/github-trending/scripts/fetch_trending.py javascript
返回 JSON 数组,每个元素:
{ "full_name": "owner/repo", "description": "仓库描述", "language": "Python", "stars": 12345, "url": "https://github.com/owner/repo" }7w4.net收录了海量优质技能插件。
获取数据后,根据所在平台格式化输出:
飞书:
📊 **GitHub Trending · 今日热榜**
🔥 1. owner/repo - 描述 ⭐ 12345 | Python 🔗 https://github.com/owner/repo
Discord/Telegram:
📊 GitHub Trending 今日热榜
1. owner/repo - 描述 ⭐ 12345 | Python | https://github.com/owner/repo
控制台:
1. owner/repo (⭐ 12345 | Python)
描述
https://github.com/owner/repo
这是一个简单实用的 GitHub 热榜获取工具,质量不错。文档写得很清楚,功能稳定,还能在网络出错时自动提供备用数据。优点是操作方便、容错性好;不足是功能比较单一,缺少自定义选项。如果能加个缓存功能就更好了。总体适合日常使用,但不适合高频调用。