🎆 Draw pixels on a canvas with friends.
- Completely in-memory, no need for a database.
- Statically linked, everything you need in one binary, including the frontend.
$ go get github.com/olahol/pocketplace
$ pocketplace -port 8080 -size 200 -cooldown 0
Canvas pixel size 200x200
Drawing cooldown 0s
Listening on port 8080
To build the frontend into the binary I use file2const
and go:generate
directives. So if you are modifying the frontend don't forget to:
$ go generate
$ go build
to build the binary correctly with the updated frontend.