Skip to content
This repository has been archived by the owner on Nov 18, 2021. It is now read-only.

Allow dependents to be sorted by stars #1537

Open
rayluo opened this issue Apr 5, 2019 · 12 comments
Open

Allow dependents to be sorted by stars #1537

rayluo opened this issue Apr 5, 2019 · 12 comments

Comments

@rayluo
Copy link

rayluo commented Apr 5, 2019

Currently there is a Dependent tab inside the Insights / Dependency Graph page. It tells me how many repos and projects out there depend on my project. Great!

But then if my project happens to be popular, there can be tens or even hundreds of dependents. It would be great to be able to sort those dependents by their stars. This way, if my project would need to reach out to downstream package owners (to discuss roadmap etc.), I can know whom to start with.

@rayluo
Copy link
Author

rayluo commented Apr 5, 2019

I send a copy of this issue to github support email, and they gave a prompt response as below.

Thanks for your feedback! We're always working to improve GitHub and we consider every suggestion we receive. I don't show that we are planning to allow dependents to be sorted by stars this year, but I have added it to our internal Feature Request List.

We can't say if/when we may add a feature, however your feedback has definitely been recorded.

@vatosarmat
Copy link

Is it possible to get list of stars-sorted dependents using GitHub API? Maybe some 3rd-party apps or browser extensions exist for it?

@hacker-DOM
Copy link

+1

@hacker-DOM
Copy link

Another use case: there is a library that we are using but are new to it (in our case neo4j-graphql and ramda). I can go to https://github.com/ramda/ramda/network/dependents to see other projects that are using that library. But what's the use of x pages of play projects? I'd like to find the large projects that are using this library. Now I have to go thru many pages to find em

@hacker-DOM
Copy link

I coded a solution 😄
https://github.com/dteiml/github-by-stars

@andriyor
Copy link

I also wrote tiny CLI tool ghtopdep that just work.
It may be installed via pip pip install ghtopdep.
Tool has some options

ghtopdep --help
Usage: ghtopdep [OPTIONS] URL

Options:
  --show INTEGER       Number of showing repositories (default=10).
  --more-than INTEGER  Number of stars (default=5).
  --help               Show this message and exit.

As result you receive table of stars-sorted dependents.

ghtopdep https://github.com/dropbox/dropbox-sdk-js
+-------------------------------------------+---------+
| URL                                       |   Stars |
+===========================================+=========+
| https://github.com/LN-Zap/zap-desktop     |     979 |
+-------------------------------------------+---------+
| https://github.com/Cleod9/syncmarx-webext |      35 |
+-------------------------------------------+---------+
| https://github.com/Playork/StickyNotes    |      32 |
+-------------------------------------------+---------+
| https://github.com/WebAssemblyOS/wasmos   |      23 |
+-------------------------------------------+---------+
| https://github.com/Cleod9/syncmarx-api    |      19 |
+-------------------------------------------+---------+
| https://github.com/Bearer/templates       |      11 |
+-------------------------------------------+---------+
| https://github.com/nathsimpson/isobel     |       9 |
+-------------------------------------------+---------+
| https://github.com/sorentycho/blackmirror |       8 |
+-------------------------------------------+---------+
| https://github.com/easylogic/edy          |       6 |
+-------------------------------------------+---------+
| https://github.com/Kikugumo/imas765probot |       5 |
+-------------------------------------------+---------+
found 1173 repos others repos is private
found 281 repos with more than zero star
~ via ⬢ v12.5.0 via 🐘 v7.2.19 via 🐍 3.5.7 took 36s

@NotMoni
Copy link

NotMoni commented Mar 29, 2020

I also want this.

@IanLunn
Copy link

IanLunn commented Jun 15, 2020

+1. Another use case is for finding some big names that rely on your open-source code so you can display it on a portfolio website or resume. Gives much needed commercial value to open-source authors.

@andriyor
Copy link

andriyor commented Aug 6, 2020

There also exist npm specific tool https://github.com/pkgjs/dependents

@jayvdb
Copy link

jayvdb commented Jan 13, 2021

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

9 participants