Sources: ~/.openclaw/skills, ~/.agents/skills, workshop-skills, workspace/skills
1.1 KiB
1.1 KiB
name, description
| name | description |
|---|---|
| github-trending | Access GitHub trending repositories and developers data by scraping github.com/trending. |
GitHub Trending
GitHub does NOT provide an official trending API. The trending page at github.com/trending must be scraped directly.
How to Get GitHub Trending Data
Approach 1: web_fetch github.com/trending
Use web_fetch to get the trending page and extract repository names, descriptions, stars, and languages.
web_fetch url="https://github.com/trending"
Approach 2: GitHub Search API (Limited)
Use the GitHub Search API with date filters:
web_fetch url="https://api.github.com/search/repositories?q=created:>YYYY-MM-DD&sort=stars&order=desc&per_page=10"
Approach 3: ossinsight.io API
web_fetch url="https://api.ossinsight.io/v1/collections/1/hot_repos"
Tips
- Focus on daily/weekly trending, not all-time
- Extract: repo name, description, language, stars gained, total stars
- Use language filter for tech-specific trending:
https://github.com/trending/python?since=daily - ossinsight.io provides structured JSON which is easier to parse