Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 2 months ago
JSON representation

👤 Wanna get a social media avatar? Avatars-io makes it easy for you. Just give a username then get an avatar!

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`