Skip to content

frncsdrk/avatar

Repository files navigation

avatar

Build Status pages-build-deployment

Self-hosted service for creating random avatars

Inspired by github default avatars

Examples

Random

random squares random circles random triangles

Initials

initials AV

Usage

Default Port: 9000

Download

Either download a release from the Releases page or clone the repo. Then follow the steps under Development Setup.

Docker

There is a container image available on Docker Hub and there is a Docker-Compose file in the repo.

API

See API Docs

Development

Setup

Prerequisites

  • Node.js installation
  • Libraries for image editing
  • apiDoc installation, if editing docs

Steps

  • Run brew install node or similar to install Node.js
  • Run brew install pkg-config cairo pango libpng jpeg giflib librsvg or similar to install libraries for image editing
  • Run npm install -g apidoc to install apiDoc globally

Usage

  • Run npm start to start service
  • Run npm run dev to start service with nodemon
  • Run npm run generate:docs to generate API docs from source code

Contributions

See CONTRIBUTING

Credits

See CREDITS

License

MIT (c) 2018 - 2024 frncsdrk and contributors