A lightweight Python CLI tool to fetch and display trending GitHub repositories without authentication.
- Fetch GitHub trending repositories (all languages or specific)
- Filter by daily, weekly, or monthly
- Display stars, forks, language, and description
- Save results to JSON
- No authentication required (uses public GitHub API)
pip install requestspython trending.py # Today's trending (all languages)
python trending.py --lang python --period weekly # Weekly Python trending
python trending.py --limit 20 --output results.json # Save top 20 to JSON======================================================================
π₯ GitHub Trending (Today) - All Languages
======================================================================
1. opencodeai/opencode
β 12.3k | π΄ 1.2k | π Python
Efficient code editing model
π https://github.com/opencodeai/opencode
2. some-repo/example
β 8.5k | π΄ 600 | π TypeScript
Description here
π https://github.com/some-repo/example
GitHub Search API (public, 5000 req/hr rate limit for unauthenticated)
MIT