honestdie is a simple web app that picks a random element from a given group of elements, but does it on a page that everyone can see in realtime from separate devices, with the same result witnessed by all.
- Go 1.6+
go get -u github.com/jteeuwen/go-bindata/...
go get -u github.com/elazarl/go-bindata-assetfs/...
make
make run
Change the socket URL at the top of assets/js/app.js
to ws://localhost:8080/websocket
. Access at localhost:8080
.