A public demo website
A public demo website with frontend can help people to understand the project better.
~~Thanks @TennousuAthena ! We have a public demo now! https://skin.sinicadream.com~~
🚀 The official demo is now live! Thanks Cloudflare Zero Trust!! https://skinrendermc.2333336.xyz/
I tried to query the demo URL and running locally in docker and get errors.
GET "https://skinrendermc.2333336.xyz/skinview3d/image/both?skinUrl=https://s.gerbil-dragon.ts.net/output-skin-panda.png&definition=1.5&transparent=false"
error code: 1010
Locally I get
GET "http://localhost:57680/skinview3d/image/both?skinUrl=https://s.gerbil-dragon.ts.net/output-skin-panda.png&definition=1.5&transparent=false"
{"detail":"Not Found"}
I tried messing with the path and different skinUrl (it was available when I was testing) and couldn't get it to work. Any other examples available?
I tried to query the demo URL and running locally in docker and get errors.
GET "https://skinrendermc.2333336.xyz/skinview3d/image/both?skinUrl=https://s.gerbil-dragon.ts.net/output-skin-panda.png&definition=1.5&transparent=false" error code: 1010Locally I get
GET "http://localhost:57680/skinview3d/image/both?skinUrl=https://s.gerbil-dragon.ts.net/output-skin-panda.png&definition=1.5&transparent=false" {"detail":"Not Found"}I tried messing with the path and different skinUrl (it was available when I was testing) and couldn't get it to work. Any other examples available?
I am sorry about the outdated doc.
Try http://localhost:57680/url/image/both?skinUrl=https://s.gerbil-dragon.ts.net/output-skin-panda.png&definition=1.5&transparent=false, and tell me whether it works.
Thank you for your report.
Thanks for the updated URL to try. I tried with an example skin here
curl -o test.png "https://skinrendermc.2333336.xyz/url/image/both?skinUrl=raw.githubusercontent.com/Monadical-SAS/minecraft_skin_generator/main/images/purple.png&definition=1.5&transparent=false"
I tried with both example servers in this issue and the image it returns is the same
Thanks for the updated URL to try. I tried with an example skin here
curl -o test.png "https://skinrendermc.2333336.xyz/url/image/both?skinUrl=raw.githubusercontent.com/Monadical-SAS/minecraft_skin_generator/main/images/purple.png&definition=1.5&transparent=false"I tried with both example servers in this issue and the image it returns is the same
Sorry about my late reply.
There are 2 problems in your request URL.
- the URL must be an URL. It must start with
https:// - the server you used is the server in my own home. Most of the GitHub-related domains are banned by National Firewall. So when the server try to get your skin file, it will throw exceptions. So, the skin will be empty and won't be rendered properly.
To solve problem 2,
- use this server provided by my partner:
https://skin.sinicadream.com/url/image/both?skinUrl=https://raw.githubusercontent.com/Monadical-SAS/minecraft_skin_generator/main/images/purple.png&definition=1.5&transparent=false. - or, you can deploy this project on a VPS or server in your region.
If you have any more problem, please contact me again.
And, I will update this project recently, include the document and adding another demo server.
Thank you so much for the reply! The other server worked for me. I was trying to run the app locally and it wasn't working so I wanted to figure out how to use it before deploying it.
I'll now work on deploying it for myself.
Thank you so much for the reply! The other server worked for me. I was trying to run the app locally and it wasn't working so I wanted to figure out how to use it before deploying it.
I'll now work on deploying it for myself.
You can deploy simplely via docker-compose.yml 🙂
~~Thanks @TennousuAthena ! We have a public demo now! https://skin.sinicadream.com~~
Updated! I'm planning to make a corn script to make it update automatically.
Thanks @TennousuAthena ! We have a public demo now! https://skin.sinicadream.com
The demo site is now moved to https://skinrendermc.kiwi.moe/