No description
Find a file
2024-09-26 01:13:22 -05:00
src Refactor for using koa and dicebear 2024-09-26 01:13:22 -05:00
.env.example Refactor for using koa and dicebear 2024-09-26 01:13:22 -05:00
.gitignore Initial commit 2024-07-07 21:50:52 -05:00
LICENSE.md Refactor for using koa and dicebear 2024-09-26 01:13:22 -05:00
package.json Refactor for using koa and dicebear 2024-09-26 01:13:22 -05:00
README.md Refactor for using koa and dicebear 2024-09-26 01:13:22 -05:00
tsconfig.json Refactor for using koa and dicebear 2024-09-26 01:13:22 -05:00
yarn.lock Refactor for using koa and dicebear 2024-09-26 01:13:22 -05:00

Avatars API

A self-hosted avatars API using some of the DiceBear CC0 styles

Installation

For run locally it needs a .env file with the environment variables defined in the .env.example

ALLOWED_ORIGINS includes a comma separated list for the allowed CORS sites.

Install dependencies npm install or yarn To start the project run npm run dev or yarn dev

Libraries Used

  • DiceBear (for avatar generation)
  • sharp (for png exportation)
  • uuid (for random seeds)

Credits

  • Created by Juan Sebastián Montoya

Credits for Styles:

Title Creator Source Homepage License
Open Peeps Pablo Stanley https://www.openpeeps.com/ https://twitter.com/pablostanley CC0 1.0
Pixel Art DiceBear https://www.figma.com/community/file/1198754108850888330 https://www.dicebear.com CC0 1.0
Thumbs DiceBear https://www.dicebear.com https://www.dicebear.com CC0 1.0

License

This project is licensed under the MIT License.