A blazing fast API for Minecraft faces
![]() |
10 年之前 | |
---|---|---|
bin | 10 年之前 | |
images | 10 年之前 | |
logs | 10 年之前 | |
modules | 10 年之前 | |
public | 10 年之前 | |
routes | 10 年之前 | |
test | 10 年之前 | |
views | 10 年之前 | |
.buildpacks | 10 年之前 | |
.editorconfig | 10 年之前 | |
.gitignore | 10 年之前 | |
.travis.yml | 10 年之前 | |
CONTRIBUTING.md | 10 年之前 | |
LICENSE | 10 年之前 | |
Procfile | 10 年之前 | |
README.md | 10 年之前 | |
app.json | 10 年之前 | |
package.json | 10 年之前 | |
server.js | 10 年之前 |
Crafatar serves Minecraft avatars based on the skin for use in external applications. Inspired by Gravatar (hence the name) and Minotar.
Image manipulation is done by lwip. 3D renders are created with node-canvas, based on math by confuser.
Please visit the website for details.
dokku redis:start
You also might want to use docker-options for persistent storage:
-v /var/lib/crafatar/images:/app/images
-v /var/log/crafatar:/app/logs
Deploy with ENV config:
PORT=5000
BIND=0.0.0.0
npm install
redis-server
npm start
npm test
If you want to debug failing tests, you can set the env
VERBOSE_TEST=true
To debug caching, it can be helpful to monitor redis commands while tests are running:
redis-cli monitor