Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/charlyx/avatars-io
👤 Wanna get a social media avatar? Avatars-io makes it easy for you. Just give a username then get an avatar!
https://github.com/charlyx/avatars-io
avatar cloudbuild cloudrun docker golang gravatar twitter
Last synced: 15 days ago
JSON representation
👤 Wanna get a social media avatar? Avatars-io makes it easy for you. Just give a username then get an avatar!
- Host: GitHub
- URL: https://github.com/charlyx/avatars-io
- Owner: charlyx
- License: apache-2.0
- Created: 2020-06-22T14:07:10.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-04-10T15:38:12.000Z (over 2 years ago)
- Last Synced: 2024-10-04T10:22:33.710Z (about 1 month ago)
- Topics: avatar, cloudbuild, cloudrun, docker, golang, gravatar, twitter
- Language: Go
- Homepage: https://avatars.charlyx.dev
- Size: 51.8 KB
- Stars: 16
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# avatars-io
![Go](https://github.com/charlyx/avatars-io/workflows/Go/badge.svg)
Wanna get a social media avatar? Avatars.io makes it easy for you. Just give a username then get an avatar!
## Getting started
### Twitter :bird:
Give a username and get an avatar in return: `https://avatars.charlyx.dev/twitter?username=charlyx`
You can ask for variant sizings such as "bigger", "mini" and "original" (default size being "normal").
Example: `https://avatars.charlyx.dev/twitter?username=charlyx&size=bigger`
### Gravatar :bust_in_silhouette:
Give an email and get an avatar in return: `https://avatars.charlyx.dev/gravatar?email=mon@email`
By default, images are presented at 80px by 80px if no size parameter is supplied.
You may request a specific image size from 1px up to 2048px by using the s= or size= parameter and passing a single pixel dimension (since the images are square).Example: `https://avatars.charlyx.dev/gravatar?email=mon@email&s=200`