github-discover

Discover trending and interesting GitHub repositories from your terminal.
$ github-discover trending -n 5
Trending Repositories (weekly)
────────────────────────────────────────────────────────────────────────────────
1. freeCodeCamp/freeCodeCamp ★ 438.7k [TypeScript]
freeCodeCamp.org's open-source codebase and curriculum.
2. public-apis/public-apis ★ 414.4k [Python]
A collective list of free APIs
3. EbookFoundation/free-programming-books ★ 384.4k [Python]
Freely available programming books
4. kamranahmedse/developer-roadmap ★ 351.5k [TypeScript]
Interactive roadmaps, guides and other educational content
5. donnemartin/system-design-primer ★ 339.9k [Python]
Learn how to design large-scale systems.
────────────────────────────────────────────────────────────────────────────────
Features
- Trending: View trending repositories by time range and language
- Category Browsing: Explore repositories organized by category (cli, web, ai, devops, security, data, mobile)
- Random Discovery: Get random repository recommendations
- Enhanced Search: Search repositories with popularity-sorted results
- Similar Repos: Find repositories similar to one you already know
- Detailed Info: View repository details with popularity stats
- Bilingual: Supports English and Japanese
Installation
brew tap atani/tap
brew install github-discover
Or download the binary from Releases.
Usage
Trending Repositories
# Show weekly trending (default)
github-discover trending
# Daily trending in Go
github-discover trending --since daily -l go
# Monthly trending, top 10
github-discover trending --since monthly -n 10
Browse by Category
# List all categories
github-discover browse
# Browse AI & Machine Learning repos
github-discover browse ai
# Available categories: cli, web, ai, devops, security, data, mobile
Random Recommendations
# Get a random recommendation
github-discover random
# Get 5 random picks
github-discover random -n 5
# Random Rust repos
github-discover random -l rust
Search
# Search repositories
github-discover search "web framework"
# Search Go repositories sorted by recent updates
github-discover search router -l go --sort updated
Similar Repositories
# Find repos similar to a given repository
github-discover similar golang/go
# Limit results
github-discover similar denoland/deno -n 5
Repository Info
# Show detailed info
github-discover info golang/go
Language
# Use Japanese
github-discover trending --lang ja
Authentication
github-discover works without authentication, but GitHub API rate limits are stricter for unauthenticated requests. Set a token for higher limits:
export GITHUB_TOKEN=ghp_xxxxxxxxxxxx
Development
# Build
go build -o github-discover
# Run
./github-discover trending
License
MIT