Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A simple CLI tool to browse GitHub's trending repositories from your terminal.

License

NotificationsYou must be signed in to change notification settings

psalias2006/github-trending-cli

Repository files navigation

We like browsing GitHub's trending page, so we built a Git extension for it.

Browse trending repositories from your terminal. View READMEs, export data, and skip the web interface.

Git Trending CLI Screenshot

PythonLicense: MIT

What it does

  • Works as a Git extension (git trending)
  • Daily, weekly, and monthly trending views
  • Click repositories to read their READMEs
  • Export data to CSV or JSON Lines
  • Terminal-based interface
  • No configuration needed

Installation

pipx (Recommended)

# Install pipx if you don't have itpip install --user pipxpipx ensurepath# Install git-trendingpipx install git+https://github.com/psalias2006/github-trending-cli.git# Use it anywheregit trending

Development

git clone https://github.com/psalias2006/github-trending-cli.gitcd github-trending-clipython3 -m venv venv&&source venv/bin/activatepip install -r requirements.txt&& pip install -e.

Docker

git clone https://github.com/psalias2006/github-trending-cli.gitcd github-trending-clidocker build -t git-trending.

Usage

git trending# Show today's trending reposgit trending -r weekly# Show this week's trending reposgit trending -r monthly# Show this month's trending repos

Export

git trending -e# Export to CSVgit trending -e -f json# Export as JSON Linesgit trending -e -r weekly# Export weekly data

Docker

docker run -it --rm git-trendingdocker run -it --rm git-trending -r weekly# Export (requires volume mount)docker run --rm -v"$(pwd)/exported:/app/exported" git-trending -edocker run --rm -v"$(pwd)/exported:/app/exported" git-trending -e -f json

How Git Extensions Work

When you installgit-trending, Git automatically recognizes it as an extension:

  • git trending → runsgit-trending
  • git trending -r weekly → runsgit-trending -r weekly
  • Works from any directory, like other git commands

Export Format

Files saved toexported/ with timestamps:github_trending_{range}_{datetime}.{csv|jsonl}

CSV: Standard format with headers
JSON Lines: One JSON object per line

Columns: name, url, description, language, stars, stars_period, range, export_datetime

Contributing

Fork it, make changes, send a PR.

License

MIT

About

A simple CLI tool to browse GitHub's trending repositories from your terminal.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp