The GQL query in this gist will return details for repos which have been starred by the authenticating user.
- Go to the GH GQL explorer and sign in.
- Copy the
.gql
query and paste it in. - Press the run button.
If you want to get more than the last 100 repos, you'll need to use paging. I have a Python project MichaelCurrin/github-graphql-tool which handles that and generates a CSV of all the results. This query could be used there.
It doesn't seem possible to remove archived or private repos from the search like when getting repos owned by a user. However one can still filter the data using the fields in the results.
Or find starred repos of a given user. Replace viewer
with user (login: "MichaelCurrin")
.
Read more about GH GQL queries here, with steps and links to resources
https://gist.github.com/MichaelCurrin/6777b91e6374cdb5662b64b8249070ea