Self-hosted Minecraft avatar/render API (Crafatar fork) https://crafatar.euphoriadevelopment.uk/
917
repgraphics/crafatar is a self-hosted Minecraft avatar/render API.
It serves:
Inspired by Gravatar/Minotar and built for fast external API use.
docker network create crafatar
docker volume create crafatar-images
docker run -d --name crafatar-redis --network crafatar redis:7-alpine
docker run -d --name crafatar \
--network crafatar \
-p 3000:3000 \
-v crafatar-images:/home/app/crafatar/images \
-e REDIS_URL=redis://crafatar-redis:6379 \
-e BIND=0.0.0.0 \
docker.io/repgraphics/crafatar:latest
Then open:
http://localhost:3000This repository includes a docker-compose.yml for local/self-hosted deployment:
cp .env.example .env
docker compose up -d
Replace {uuid} with a valid Minecraft UUID:
/avatars/{uuid}?size=128/renders/head/{uuid}?scale=6/renders/body/{uuid}?scale=6/skins/{uuid}Environment variables are loaded from .env.
Common values:
REDIS_URLCACHE_BACKEND (redis, memory, none)PORTBINDEXTERNAL_URLContent type
Image
Digest
sha256:040fb6b73…
Size
113.8 MB
Last updated
8 months ago
docker pull repgraphics/crafatar