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.
||11 months ago|
|.gitignore||11 months ago|
|LICENSE||11 months ago|
|README.md||11 months ago|
|go.mod||11 months ago|
|go.sum||11 months ago|
|main.go||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