Have you ever needed to get any user’s GitHub avatar just based on their username? If you have then you are in luck because the process is quite simple. All you need to do is place the username in the following URL:
https://github.com/<REPLACE_WITH_USERNAME>.png
Simple Example
For instance my username is westc
thus making the URL to my avatar https://github.com/westc.png
. It is really that easy!
Example Avatar Form
Feel free to use the following fields to test and see any GitHub avatar based on the username that you enter:
Final Words
As you can see, getting any GitHub’s avatar is quite easy thanks to this hack that I first found here in Stack Overflow. As always, happy coding!!! 😎