A chat app written in Go.
The goal of this project was to explore what was required to support non-trivial chat applications with as simple a protocol as possible.
There are conversations and users. A user may be a participant in a conversation. Messages are attributed to the user that sent them (duh). In a sql database, it might look like this:
Participations
// \\
Conversations Users
\\ //
Messages
The client is a command line client. You can run it by executing the following command:
tcptap connTapClient <host:port>
The client is pretty awesome.
To run the server with docker:
docker build -t seanpont/tcptap .
docker run -p 8080:80 seanpont/tcptap
gcloud compute instances create tcptap
--image container-vm
--metadata-from-file google-container-manifest=containers.yaml
--tags http-server
--zone us-central1-a
--machine-type f1-micro
This is not a production app. It is not supremely well tested. There are known bugs. It is an experiment.