A professional, terminal-based dashboard to track GitHub trends in real-time. Sleek design, powerful filtering, and seamless exports.
Features • Installation • Authentication • Usage • License
- 📊 Dynamic Trends: Real-time access to popular GitHub projects.
- 🕒 Temporal Filtering: Browse trends by day, week, or specific years (e.g., 2024).
- 🌍 Auto-Translation: Instant translation of non-English descriptions.
- 📂 Flexible Exports: Save data as
CSVorJSONdirectly to your Downloads. - 🎨 Premium UI: High-contrast, dashboard-style terminal interface.
- ⚙️ Smart Config: Persistent settings for your preferred languages and tokens.
Choose your operating system to see specific instructions:
🪟 Windows
- Download & Extract: Download the repository as a ZIP and extract it.
- Open Terminal: Open PowerShell or Command Prompt.
- Navigate:
cd path/to/extracted/folder
- Install:
pip install .
🍎 macOS
- Download & Extract: Download the ZIP and extract it to your preferred location.
- Open Terminal:
Press
Cmd + Spaceand type Terminal. - Navigate:
cd ~/Downloads/github_trending_cli-main
- Install:
(Note: You may need to use
pip3 install .python3 -m pip install .ifpip3is not in your path)
🐧 Linux
- Clone/Download:
git clone https://github.com/ShahilRoy/github_trending_cli.git cd github_trending_cli - Dependencies:
Ensure you have Python 3 and Pip installed:
sudo apt update && sudo apt install python3-pip - Install:
pip3 install .
GitHub applies rate limits to unauthenticated requests. To ensure uninterrupted service, configure a Personal Access Token (PAT).
- Go to GitHub Settings.
- Select Tokens (classic) -> Generate new token (classic).
- Name it "CLI Trends" (no specific scopes needed for trend fetching).
- Copy the token immediately.
Run the following command in your terminal:
gh-t config --token YOUR_GITHUB_TOKEN| Goal | Command |
|---|---|
| Top 10 Trending | gh-t fetch |
| Custom Limit | gh-t fetch --limit 5 |
| Filter by Language | gh-t fetch --lang python |
| Strict Language Check | gh-t fetch --lang rust --strict |
| Translate Descriptions | gh-t fetch --translate |
| Goal | Command |
|---|---|
| Specific Year | gh-t fetch --year 2023 |
| Last N Days | gh-t fetch --days 30 |
| Goal | Command |
|---|---|
| Export to CSV | gh-t fetch --export csv |
| Export to JSON | gh-t fetch --export json |
| Goal | Command |
|---|---|
| Set Default Language | gh-t config --lang javascript |
| View Current Config | gh-t config --show |
This project is free to use and modify, but it must always remain free for everyone. It is protected by the GNU General Public License v3.0.
Created with ❤️ by Shahil Roy
Credit: Project Idea - roadmap.sh