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.
- 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.
To install topdep
, ensure you have Go installed on your machine, then run:
go get github.com/udayvunnam/topdep
topdep [flags] URL
- 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).
topdep --minstar 50 --rows 10 https://github.com/<username>/<repository>
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
If you find any issues or have suggestions for improvements, please open an issue or submit a pull request on GitHub.
This project is licensed under the MIT License. See the ./LICENSE file for details.
Enjoy using topdep!