/pocketplace

:fireworks: Draw pixels on a canvas with friends.

Primary LanguageGoMIT LicenseMIT

pocketplace

🎆 Draw pixels on a canvas with friends.

Demo

  • Completely in-memory, no need for a database.
  • Statically linked, everything you need in one binary, including the frontend.

Install

  $ go get github.com/olahol/pocketplace

Example

  $ pocketplace -port 8080 -size 200 -cooldown 0
    Canvas pixel size 200x200
    Drawing cooldown 0s
    Listening on port 8080

Development

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.