Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/ar363/pfpgen

Default profile picture generator microservice using fastapi
https://github.com/ar363/pfpgen

fastapi gravatar microservice profile-picture profile-picture-generator

Last synced: 9 days ago
JSON representation

Default profile picture generator microservice using fastapi

Awesome Lists containing this project

README

        

# Nice Default PFP Generator

Default profile picture generator microservice using fastapi

Code style: black





```
Write programs that do one thing and do it well.
~The UNIX Philosophy
```

## Image examples

![Aditya Raj](https://pfpgen.deta.dev/?username=ar363&name=Aditya%20Raj)
![John Doe](https://pfpgen.deta.dev/?username=johndoe789&name=John%20Doe)
![Alex](https://pfpgen.deta.dev/?username=alex777&name=alex)

## Usage

Username param is required, real name is optional. If real name is not known, username is used for initials

/?username=ar363

/?username=ar363&name=Aditya%20Raj

## Deploy

Supported on [deta.sh](https://deta.sh) and [heroku](https://heroku.com) out of the box
You can also deploy wherever else you prefer.

| Platform | One-click deploy |
| ------------- | ------------------------- |
| deta.sh | [![Deploy to Deta](https://button.deta.dev/1/svg)](https://go.deta.dev/deploy?repo=https://github.com/ar363/pfpgen) |
| Heroku | [![Deploy to Heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy) |
| Vercel | [![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Far363%2Fpfpgen) |

# Demo

https://pfpgen.deta.dev
https://pfpgen.vercel.app

_PS: If you plan to use this a lot, consider self hosting by clicking one of the above deploy buttons_