go-cli-chat icon indicating copy to clipboard operation
go-cli-chat copied to clipboard

Chat server and command line interface client (CLI) in Go.

Go Report Card

💬 go-cli-chat

Chat server and client written in Go (simple prototype for learning purposes). The application utilizes goroutines and channels.

demo

Usage

# Build and start container:
docker compose up -d
# Enter go-cli-chat container:
docker exec -it go-cli-chat bash
# Run chat server within go-cli-chat container:
go-cli-chat-server
# Open another go-cli-chat container and start client:
go-cli-chat-client -username Luqqk

You can also make changes and rebuild either client or server by using:

$ make build-server
$ make build-client

Contributing

I am open to, and grateful for, any contributions made by the community.