39

I'm curious as to who has starred a GitHub repo of mine, so I'd like a list of users who have starred it. Is this possible to get?

50

To get a list of users that have starred a repository you can append /stargazers to the URL of the repository

If you have a repository at the following address

https://github.com/strugee/battleship

To see a list of users that have starred that repository visit the following URL

https://github.com/strugee/battleship/stargazers

In GitHub you can reach that URL by clicking on the number that is displayed beside the star button at the top of the repository page

page head actions to reach the list of users who starred the project click on the 2

5

Other than the web interface, you can also use the API that GitHub provides to query the users that starred your repository.

With the API, you can also check who is watching your repository, which I believe isn't possible in the web interface.

4

You can also see who the watchers are (previous comment is incorrect):

https://github.com/[user]/[repo]/watchers
  • please explain your claim that "previous comment is incorrect". what are you referring to? – strugee Jan 15 '14 at 5:37
  • He's referring to Hydra's comment that you can only see watchers with the API. – Joshua Snider Jun 22 '15 at 2:16
  • 1
    This answer should be removed and posted as a comment of Hydra's answer, since it's not an answer to the OP's question at all. Or ideally edit Hydra's answer. – Dawid Ferenczy Rogožan Oct 20 '15 at 16:53
2

I created a python package "github-email-explorer" that you can use a command to get a email list from a repo for understanding who have starred.

Here's an example:

$ ge-explore --repo yuecen/github-email-explorer --action_type star fork watch

The result looks like,

User A <user.a@example.net>; User B <user.b@example.net>

To get more detail, check it out: https://github.com/yuecen/github-email-explorer

  • 1
    thanks for the tip, and welcome to Stack Exchange! if you wrote a tool you're linking to (and it seems like you did), it's best practice here to disclose that fact. you can do this by clicking the edit button. – strugee Jul 14 '16 at 7:39
  • Thanks for your advice. I modified some description for it. – yuecen Jul 14 '16 at 8:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.