# Packages
No description provided by the author
# README
Aseprite API
Do not have Aseprite on your machine? Is not able to compile it? Still needs to export a .aseprite file? Just do it via HTTP.
This is not a production app, more like a fun little thing I hacked together. There is no actual endpoint available.
Usage
Send a file through web form. See cURL example below:
curl -F upload=@path/to/file.aseprite localhost:80/export -o file.png
Running locally
- Aseprite API relies on a local installation of Aseprite. Create a
.env
file and set a variableASEPRITE
pointing to the Aseprite CLI path. - Assuming you already have Go's development tools, run the main.go file.
go run main.go
Alternativelly, you can build it and execute the binary.
go build
./aseprite-api