Skip to content

Find top dependents of a GitHub package or repository

License

Notifications You must be signed in to change notification settings

udayvunnam/topdep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

topdep

topdep is a CLI tool that sorts GitHub repository dependents by the number of stars. This tool can be useful for developers who want to analyze the popularity of repositories that depend on a specific repository.

Features

  • Sort dependents repositories or packages by the number of stars.
  • Output results in a table format or as JSON.
  • Filter dependents based on a minimum number of stars.
  • Limit the number of dependents displayed.

Installation

To install topdep, ensure you have Go installed on your machine, then run:

go get github.com/udayvunnam/topdep

Usage

topdep [flags] URL

Flags

  • packages: Sort dependents packages instead of repositories.
  • json: Output the results as JSON.
  • rows: Number of repositories to display (default is 10).
  • minstar: Minimum number of stars for the dependents (default is 5).

Examples

topdep --minstar 50 --rows 10 https://github.com/<username>/<repository>

Build from Source

To build topdep from source, clone the repository and build the binary:

git clone https://github.com/udayvunnam/topdep
cd topdep

go build -o topdep

./topdep [flags] URL

Contributing

If you find any issues or have suggestions for improvements, please open an issue or submit a pull request on GitHub.

License

This project is licensed under the MIT License. See the ./LICENSE file for details.

Enjoy using topdep!

About

Find top dependents of a GitHub package or repository

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages