- Notifications
You must be signed in to change notification settings - Fork8
🎆 Draw pixels on a canvas with friends.
License
NotificationsYou must be signed in to change notification settings
olahol/pocketplace
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
🎆 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 usefile2const
andgo: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.