github-trending-scraper

Scrape GitHub Trending repos into structured JSON. Use when the user asks about GitHub trending, hottest repos, trending repositories, what's popular on GitHub today, or needs GitHub trending data for cards/visualizations. Supports language filters (python, rust, go, etc.) and time ranges (daily, weekly, monthly).

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "github-trending-scraper" with this command: npx skills add yes999zc/github-trending-scraper

GitHub Trending Scraper

Scrapes https://github.com/trending and outputs structured JSON.

Quick Start

# 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

Options

FlagShortDefaultDescription
--language-lallFilter by language (python, rust, go, javascript, etc.)
--since-sdailyTime range: daily, weekly, monthly
--top-n25Number of repos to return
--output-ostdoutOutput file path
--compactMinified JSON output

Output Schema

{
  "source": "github-trending",
  "scraped_at": "ISO-8601",
  "language": "all|python|rust|...",
  "since": "daily|weekly|monthly",
  "count": 25,
  "repos": [
    {
      "rank": 1,
      "owner": "warpdotdev",
      "name": "warp",
      "full_name": "warpdotdev/warp",
      "url": "https://github.com/warpdotdev/warp",
      "description": "Warp is an agentic development environment...",
      "language": "Rust",
      "stars": 46667,
      "forks": 2917,
      "stars_period": 12822,
      "stars_period_label": "today"
    }
  ]
}

Integration with Trending Cards

Pipe output into the existing trending card generator:

python3 scripts/github_trending.py -o /tmp/github-trending.json
python3 ~/.openclaw/workspace/scripts/trending-card-gen.py \
  --input /tmp/github-trending.json \
  --output /tmp/trending-card.html \
  --platform github --theme white --size hd

Notes

  • 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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

Azure Devops

Azure DevOps integration. Manage data, records, and automate workflows. Use when the user wants to interact with Azure DevOps data.

Registry SourceRecently Updated
1670Profile unavailable
Coding

Barcode Lookup

Barcode Lookup integration. Manage data, records, and automate workflows. Use when the user wants to interact with Barcode Lookup data.

Registry SourceRecently Updated
1800Profile unavailable
Coding

Addevent

Addevent integration. Manage data, records, and automate workflows. Use when the user wants to interact with Addevent data.

Registry SourceRecently Updated
1610Profile unavailable
Coding

Tapfiliate

Tapfiliate integration. Manage Affiliates, Referrals, Conversions, Programs, Invoices. Use when the user wants to interact with Tapfiliate data.

Registry SourceRecently Updated
2070Profile unavailable