Skip to content

Commit 073cd7b

Browse files
committed
[CHORE] Update Readme
1 parent 3180855 commit 073cd7b

1 file changed

Lines changed: 41 additions & 1 deletion

File tree

readme.md

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,44 @@
22

33
Experimental minecraft avatar service for Simple Discord Link, Simple RPC and other mods.
44

5-
This file will be updated on official release
5+
As of now, this system is in testing, and not quite recommended for public use yet.
6+
7+
You are however, free to self-host this, for your own use.
8+
9+
### What is this?
10+
11+
This is a simple Minecraft avatar api, that allows you to retrieve Minecraft Avatars, Heads or Full Body renders with either a UUID, Username or Texture Hash. This service should support Geyser Bedrock Accounts, as well as mods like Fabric Tailor.
12+
13+
### Caching
14+
15+
The server itself, makes use of Caching to prevent spamming Mojang servers. Additionally, our production instance also uses Cloudflare caching.
16+
17+
Skins and Usernames are cached for 2 hours (both on the server, and via Cloudflare), before they are pulled again.
18+
19+
### Ratelimits
20+
21+
Requests are limited to 5 requests per second. This is just to prevent frequent calls for skins, when trying to bypass the cloudflare cache, which would put additional load on our servers.
22+
23+
---
24+
25+
### How do I host this?
26+
27+
Simple. Make a copy of the `docker-compose.yml` file found in this repo. Then, just run `docker compose up -d`.
28+
29+
You will need to handle your own URL management for this, either via Cloudflare Tunnels, Apache, NGINX or Nginx Proxy Manager. By default, the server uses port 8080. Caching is also up to you to configure. If you need help with this, we might be able to assist you via our discord server.
30+
31+
In the future, we might allow public usage of our hosted instance, once it's proven battle ready
32+
33+
### Endpoints
34+
35+
The server includes the following endpoints for skins:
36+
37+
- Head -> `SERVERURL/head/{UUID|USERNAME|TEXTUREHASH}` or `SERVERURL/isometric/{UUID|USERNAME|TEXTUREHASH}`
38+
- Full Body -> `SERVERURL/body/{UUID|USERNAME|TEXTUREHASH}`
39+
- Avatar -> `SERVERURL/avarar/{UUID|USERNAME|TEXTUREHASH}`
40+
41+
---
42+
43+
### License
44+
45+
This application and code is licensed under MIT.

0 commit comments

Comments
 (0)