Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

entibo/miceditor-map-preview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Miceditor Map Preview

Generate an image of a Transformice map, rendered in Miceditor using browser automation.

Usage (example):

Running index.js will start a web server listening for POST requests with a JSON payload:

POST https://miceditor-map-preview.herokuapp.com/
Content-Type: application/json
{ "xml": "<C>..." [, "raw": true] [, "width|height": number] }

Response is text/plain with the imgur link or image/png binary if "raw": true is set

Currently hosted on heroku (free) using the puppeteer-heroku-buildpack
https://miceditor-map-preview.herokuapp.com/

About

Transformice map image generator

Topics

Resources

Stars

Watchers

Forks