You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Sly-Little-Fox 4a06cb22cb
11 months ago
.gitignore a 11 months ago
LICENSE Initial commit 11 months ago Update '' 11 months ago
go.mod works, also json 🇹🇷 11 months ago
go.sum works, also json 🇹🇷 11 months ago
main.go a 11 months ago


A simple canvas server written in Golang and using BadgerDB JSON 🚎.
someone please explain me why there is a turkey flag in commit names
provide admin token for /admin/reset with ?token= and the ADMIN_TOKEN env variable
/ - gives the image in png format
/place (PUT) - lets you place pixels (see code for body format xd)
/admin/reset (POST) - saves the canvas to ./saves/[UTC time].json and resets it