1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-03 07:08:01 +00:00

Add Get URL For GitHub User Profile Photo as a Workflow TIL

This commit is contained in:
jbranchaud
2024-10-15 15:07:19 -05:00
parent fad36e0691
commit ff515c8d6a
2 changed files with 29 additions and 1 deletions

View File

@@ -0,0 +1,27 @@
# Get URL For GitHub User Profile Photo
You can access your (or really any user's) profile photo by visiting the GitHub
profile URL with `.png` added on to the end.
So, my GitHub profile URL is:
```
https://github.com/jbranchaud
```
If I were to add `.png` on to that and visit it in my browser:
```
https://github.com/jbranchaud.png
```
I'd be redirected to the following URL:
```
https://avatars.githubusercontent.com/u/694063?v=4
```
This is the stable URL for my GitHub avatar. In the browser I will see the full
resolution image which I can download as needed.
[source](https://dev.to/10xlearner/how-to-get-the-profile-picture-of-a-github-account-1d82)