mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-21 23:41:18 +01:00
56 lines
4.5 KiB
Markdown
56 lines
4.5 KiB
Markdown
# Crafatar [](https://travis-ci.org/crafatar/crafatar/) [](https://coveralls.io/r/crafatar/crafatar) [](https://codeclimate.com/github/crafatar/crafatar)
|
|
[](https://webchat.esper.net/?channels=crafatar "#crafatar") [](https://david-dm.org/crafatar/crafatar) [](https://david-dm.org/crafatar/crafatar#info=devDependencies) [](https://inch-ci.org/github/crafatar/crafatar)
|
|
|
|
|
|
<img alt="logo" src="lib/public/logo.png" align="right">
|
|
[Crafatar](https://crafatar.com) serves Minecraft avatars based on the skin for use in external applications.
|
|
Inspired by [Gravatar](https://gravatar.com) (hence the name) and [Minotar](https://minotar.net).
|
|
|
|
Image manipulation is done by [lwip](https://github.com/EyalAr/lwip). 3D renders are created with [node-canvas](https://github.com/Automattic/node-canvas) / [cairo](http://cairographics.org/).
|
|
|
|
# Contributions welcome!
|
|
|
|
There are usually a few [open issues](https://github.com/crafatar/crafatar/issues).
|
|
We welcome any opinions or advice in discussions as well as pull requests.
|
|
Issues tagged with [](https://github.com/crafatar/crafatar/labels/help%20wanted) show where we could especially need your help!
|
|
|
|
# Examples
|
|
|
|
| | | | |
|
|
| :---: | :---: | :---: | :---: |
|
|
|  |  |  |  |  |
|
|
|  |  |  |  |  |
|
|
|  |  |  |  |  |
|
|
|  |  |  |  |  |
|
|
|
|
## Usage / Documentation
|
|
|
|
Please [visit the website](https://crafatar.com) for details.
|
|
|
|
## Contact
|
|
|
|
* You can [follow](https://twitter.com/crafatar) us on twitter
|
|
* Open an [issue](https://github.com/crafatar/crafatar/issues/) on GitHub
|
|
* You can [join IRC](https://webchat.esper.net/?channels=crafatar) in #crafatar on irc.esper.net.
|
|
|
|
# Installation
|
|
|
|
Have a look at [crafatar/setup](https://github.com/crafatar/setup) to see how we set things up at Crafatar.
|
|
|
|
For more info about local setup, Heroku, or Dokku please see [Installation](https://github.com/crafatar/crafatar/wiki/Installation) on the wiki.
|
|
|
|
## Tests
|
|
```shell
|
|
npm test
|
|
```
|
|
|
|
If you want to debug failing tests:
|
|
```shell
|
|
# show logs during tests
|
|
env VERBOSE_TEST=true npm test
|
|
```
|
|
|
|
It can be helpful to monitor redis commands to debug caching errors:
|
|
```shell
|
|
redis-cli monitor
|
|
``` |