Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

GitHub Trending Fetcher

A lightweight Python CLI tool to fetch and display trending GitHub repositories without authentication.

Features

  • 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)

Installation

pip install requests

Usage

python 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

Example Output

======================================================================
        πŸ”₯ 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

API Used

GitHub Search API (public, 5000 req/hr rate limit for unauthenticated)

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages