https://github.com/lmikolajczak/go-cli-chat
Chat server and command line interface client (CLI) in Go.
https://github.com/lmikolajczak/go-cli-chat
chat cli cli-chat go
Last synced: 3 months ago
JSON representation
Chat server and command line interface client (CLI) in Go.
- Host: GitHub
- URL: https://github.com/lmikolajczak/go-cli-chat
- Owner: lmikolajczak
- License: mit
- Created: 2017-03-28T21:38:25.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-11-22T19:56:33.000Z (over 1 year ago)
- Last Synced: 2025-08-09T21:37:42.685Z (9 months ago)
- Topics: chat, cli, cli-chat, go
- Language: Go
- Homepage:
- Size: 2.99 MB
- Stars: 54
- Watchers: 1
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://goreportcard.com/report/github.com/Luqqk/go-cli-chat)
## 💬 go-cli-chat
Chat server and client written in Go (simple prototype for learning purposes). The application utilizes goroutines and channels.
[](https://asciinema.org/a/512757)
### Usage
```bash
# 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 with the given username:
go-cli-chat-client Lukasz
```
You can also make changes and rebuild either `client` or `server` by using:
```bash
$ make build-server
```
```bash
$ make build-client
```
### Contributing
I am open to, and grateful for, any contributions made by the community.