Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Bekt/invatar
Invatar is a free service for generating fully customizable avatars with initials.
https://github.com/Bekt/invatar
Last synced: 3 days ago
JSON representation
Invatar is a free service for generating fully customizable avatars with initials.
- Host: GitHub
- URL: https://github.com/Bekt/invatar
- Owner: Bekt
- Created: 2015-10-01T07:33:07.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-23T22:31:44.000Z (almost 9 years ago)
- Last Synced: 2024-08-01T22:56:08.217Z (3 months ago)
- Language: Python
- Homepage: https://invatar0.appspot.com/
- Size: 11.7 KB
- Stars: 163
- Watchers: 11
- Forks: 4
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- starred-awesome - invatar - Invatar is a free service for generating fully customizable avatars with initials. (Python)
README
# Invatar [![](https://circleci.com/gh/Bekt/invatar.svg?style=svg)](https://circleci.com/gh/Bekt/invatar)
Invatar provides an "API" for generating fully customizable SVG and image avatars
with small text. Inspired from many messaging apps.*Por que?* Por que no?
## Demo
Website: https://invatar0.appspot.com/[Screenshots](http://i.imgur.com/9Ru5jZ1.png)
### Defaults
| [`svg/a.jpg`](https://invatar0.appspot.com/svg/a.jpg) | [`svg/kb.jpg`](https://invatar0.appspot.com/svg/kb.jpg) | [`svg/md.jpg`](https://invatar0.appspot.com/svg/md.jpg)
| --- | --- | --- |
| ![](https://invatar0.appspot.com/svg/a.jpg) | ![](https://invatar0.appspot.com/svg/kb.jpg) | ![](https://invatar0.appspot.com/svg/md.jpg)### Customized
| `svg/a.jpg?s=150` | `svg/kb.jpg?s=150&color=yellow` | `svg/md.jpg?s=150&bg=%23E5E7E9&color=%23626262`
| --- | --- | --- |
| ![](https://invatar0.appspot.com/svg/a.jpg?s=150) | ![](https://invatar0.appspot.com/svg/kb.jpg?s=150&color=yellow) | ![](https://invatar0.appspot.com/svg/md.jpg?s=150&bg=%23E5E7E9&color=%23626262)
| Custom width/height (px) | Custom text color | Custom text color + background color. (`%23 == encodeURIComponent('#')`)| `svg/abcd.jpg?s=150&font_size=50` | `svg/kb.jpg?s=150&font_family=Monospace` | `svg/md.jpg?s=150&h=my-user-id`
| --- | --- | --- |
| ![](https://invatar0.appspot.com/svg/abcd.jpg?s=150&font_size=50) | ![](https://invatar0.appspot.com/svg/kb.jpg?s=150&font_family=Monospace) | ![](https://invatar0.appspot.com/svg/md.jpg?s=150&h=my-user-id`)
| Custom font size (in px) | Custom font family | Provide a unique identifier with `h`. This is useful when you don't want two intials (different users?) hash to the same value (resulting in the same background color).## Use Cases
* Easier to identify users
* Friendlier than a "No avatar" picture
* Background colors are always consistent
* Can use as a fallback picture for Gravatar (`?default=` flag) and
other similar services## Contribution
Do it!
Currently the service is hosted on Google App Engine which is not my first choice. If you can
help with hosting, please reach out to me.## Development
```bash
$ pip install -r dev-requirements.txt# Running development server
$ python run.py# Executing tests
$ tox
```## License
MIT