I saw a lot of people asking about how they can get pinned GitHub repositories as a JSON response. This can be done with GraphQL, but some of them are asking for a rest API solution. Fortunately, I found a solution for them.
Visit this site:
- https://gh-pinned-repos-5l2i19um3.vercel.app/
- Type your GitHub username
- Click the ‘go’ button
There you have your JSON response. Or else, you can just replace your Username in the following URL.
https://gh-pinned-repos-5l2i19um3.vercel.app/?username=Username
This program was originally developed by @egoist.
For contributors: Source code
Top comments (4)
Thanks for this. Really helpful!
I guess this endpoint might not be available anymore :p I've used it many months ago, but now it's not working anymore, and the same is happening with the website.
Hey, I found, that the URL is changed since 18th January to "gh-pinned-repos.egoist.sh/?usernam..."
Thank you, it works 🚀