🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

GitHub Trending Scraper

by @yes999zc

Scrape GitHub Trending repos into structured JSON. Use when the user asks about GitHub trending, hottest repos, trending repositories, what's popular on GitH...

Versionv1.0.0
πŸ’‘ Examples

# All languages, today, top 25
python3 scripts/github_trending.py

Python repos, this week, top 10

python3 scripts/github_trending.py --language python --since weekly --top 10

Save to file

python3 scripts/github_trending.py -o /tmp/github-trending.json

βš™οΈ Configuration

| Flag | Short | Default | Description | |------|-------|---------|-------------| | --language | -l | all | Filter by language (python, rust, go, javascript, etc.) | | --since | -s | daily | Time range: daily, weekly, monthly | | --top | -n | 25 | Number of repos to return | | --output | -o | stdout | Output file path | | --compact | | | Minified JSON output |

πŸ“‹ Tips & Best Practices

  • No API key required; scrapes the public GitHub Trending page
  • Rate limit: reasonable use only; avoid rapid repeated calls
  • Some repos (e.g. sponsors/username) may show 0 stars/forks due to GitHub page structure
  • View on ClawHub
    TERMINAL
    clawhub install github-trending-scraper

    πŸ§ͺ Use this skill with your agent

    Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

    πŸ” Can't find the right skill?

    Search 60,000+ AI agent skills β€” free, no login needed.

    Search Skills β†’