Skip to content

olahol/pocketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

🎆 Draw pixels on a canvas with friends.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published