What I do
- •Fetch most popular repositories based on total stars
- •Identify rising repositories created recently that are gaining traction
- •Filter by programming language (e.g., Python, Rust, JavaScript)
- •Display results in a beautiful, interactive CLI table
- •Show key metrics: Stars, Forks, Description, and URL
When to use me
Use this skill when you need to:
- •Discover new libraries and tools in a specific ecosystem
- •Track trending projects to stay updated with the community
- •Find popular alternatives to existing solutions
- •Explore open source projects for contribution
How to use me
Find the most popular repositories overall:
code
Use the github-trends skill to find popular repos
Find rising Python repositories created in the last month:
code
Use the github-trends skill to find rising python repos
Find the most popular Rust repositories:
code
Use the github-trends skill to find popular rust repos
What I need
- •Internet Connection - Required to query the GitHub API
- •Language (optional) - Filter by specific programming language
- •Category (optional) - 'popular' (all time) or 'rising' (created recently)
What I provide
- •
Dependency setup - Automatically installs required packages:
- •
requests- For API communication - •
rich- For beautiful terminal output
- •
- •
Analysis:
- •Fetches data from GitHub's REST API
- •Sorts and filters based on your criteria
- •Presents a clean, clickable table of results
Implementation approach
python
1. Parse user arguments (language, category) 2. Construct GitHub API query: - Popular: sort=stars, order=desc - Rising: created:>30_days_ago, sort=stars, order=desc 3. Fetch data from https://api.github.com/search/repositories 4. Display results using `rich.console.Console` and `rich.table.Table`