Simple chat written in almost pure Golang.
MIT License
Simple chat written in almost pure Golang. It uses websockets to comunicate with client. This is my first Golang app, so it is still far from perfection :) Any suggestions are welcome!
All frontend's JavaScript's are written in Golang and they are dumped into JavaScript using gopherjs. Frontend is build using AngularJS.
Chat is still in alpha, so some features are missing. More info at TODO section.
# installs GopherJS
go get github.com/gopherjs/gopherjs
# installs jQuery GopherJS's bindings
go get github.com/gopherjs/jquery
# installs Simple Go chat
go get github.com/roblaszczak/simple-go-chat/cmd/gochat
# build JavaScript for frontend
cd "$GOPATH/src/github.com/roblaszczak/simple-go-chat"
make buildjs
git clone https://github.com/roblaszczak/simple-go-chat
cd simple-go-chat/cmd/gochat
docker build -t simple-go-chat .
Just execute
gochat
docker run -p 8080:8080 --rm --name chat simple-go-chat
I have no idea, why anyone would like to contribute it... but of course pull requests are welcome ;)
Simple Go Chat is MIT-Licensed