Skip to content

SerinaNya/SkinRenderMC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SkinRenderMC

Docker Image CI

Render your Minecraft Skins and Capes in 3D view.

Tip

This project is under development. I will update it soon.

简体中文版本

What can this app do?

Send a HTTP request:

GET http://<your_server>:57680/url/image/both
    ?skinUrl=<your_skin_url>
    &capeUrl=<your_cape_url>
    &nameTag=<your_player_name>
    &definition=1.5
    &transparent=false

You will get:

the view from the front and the back of a minecraft player model

Yes, this app depends on bs-community/skinview3d, and yushijinhun is the main maintainer of the skinview3d project.

Thanks to yushijinhun for guiding me during the development of this app.

Params

  • definition
    A float, default: 1.5

    0.8 <= definition <= 3.0. The higher the value, the clearer the image generated, the higher the resolution and the larger the data size. And vice versa.

  • transparent A boolean, default: false

    When the value is true, the background of the generated image will be transparent.

Deploy

Important

Require more than 2 CPU Core & 2GB RAM to run this application.

Recommended 4 CPU Core & 4GB RAM.

Check out the PRETTY & HARMLESS docker-compose.yml!

You know what you are supposed to do now!

If you don't know what to do, follow the instructions below:

mkdir skinrendermc && cd skinrendermc
curl -O docker-compose.yml https://github.com/SerinaNya/SkinRenderMC/raw/master/docker-compose.yml
sudo docker compose up -d

The server will start on port 57680. Access http://<ip>:56780/docs to see OpenAPI documentation.

Support this Project

I know you are busy, but I really need your support! Could you offer me a star? 😭😭😭