Skip to content

mano-coder/github-trending-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Trending CLI

Project URL

A command-line tool that fetches and displays trending GitHub repositories for a given time range.

Installation

git clone https://github.com/your-username/github-trending-cli.git
cd github-trending-cli
npm install
npm install -g .

Usage

trending-repos --duration <day|week|month|year> --limit <number>

Options

Option Description Default Valid Values
--duration Time range for trending repos week day, week, month, year
--limit Number of repositories to display 10 Any positive number

Examples

# Show top 10 trending repos from the past week (default)
trending-repos

# Show top 20 trending repos from the past month
trending-repos --duration month --limit 20

# Show top 5 trending repos from today
trending-repos --duration day --limit 5

# Show top 50 trending repos from the past year
trending-repos --duration year --limit 50

Requirements

  • Node.js 18+
  • npm

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors