gh-trend
Fetch trending GitHub repositories from the terminal — no API key needed.
Scrapes the GitHub trending page and returns clean, formatted output.
pip install gh-trend
# Trending today
gh-trend
# Filter by language
gh-trend --lang python
gh-trend --lang typescript --weekly
# JSON output for scripting
gh-trend --lang rust --json | jq '.[] | .repo'
# This week, top 20
gh-trend --weekly --limit 20
Features
- No API key — scrapes the public trending page
- Language filter — Python, Rust, Go, TypeScript, whatever
- Time range — today, weekly, or monthly
- JSON output — pipe into
jqfor scripting - Zero dependencies — pure Python stdlib (urllib + re + json)
Usage
usage: gh-trend [-h] [--lang LANG] [--weekly] [--monthly] [--json] [--limit LIMIT]
Fetch trending GitHub repositories from the terminal.
options:
-h, --help show this help message and exit
--lang LANG, -l LANG Filter by language (e.g., python, typescript, rust, go)
--weekly, -w Show trending this week (default: today)
--monthly, -m Show trending this month
--json, -j Output as JSON
--limit LIMIT Max repos to show (default: 25)
License
MIT
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file github_trend_cli-0.1.0.tar.gz.
File metadata
- Download URL: github_trend_cli-0.1.0.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.12.8 {"installer":{"name":"uv","version":"0.12.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
695c4ba01647432c3bf92b9e3d7457c561a5d769c2c300f5464dafd941b78380
|
|
| MD5 |
62bac3447be56234787e90f4cc69bd6d
|
|
| BLAKE2b-256 |
fb5259fdf5c65abc3a36e9665d3fdad725512053f1e6e1db0296beb82e4587e9
|
File details
Details for the file github_trend_cli-0.1.0-py3-none-any.whl.
File metadata
- Download URL: github_trend_cli-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.12.8 {"installer":{"name":"uv","version":"0.12.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e1a6e4bad3e3a4e715b715a27b81ddea5bd248cbbcc2efad400cc9db2d9606f
|
|
| MD5 |
87c072033f4fca066fff27456a067607
|
|
| BLAKE2b-256 |
23cab68e4c1543b9c2178744e717c0455f32ea210694371b0b96248132e53c02
|