https://github.com/gedex/cli_chat
Simple CLI based client and server for tcp based chat connection
https://github.com/gedex/cli_chat
Last synced: over 1 year ago
JSON representation
Simple CLI based client and server for tcp based chat connection
- Host: GitHub
- URL: https://github.com/gedex/cli_chat
- Owner: gedex
- License: mit
- Created: 2014-03-12T13:20:38.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-03-12T13:21:04.000Z (over 12 years ago)
- Last Synced: 2025-02-15T08:25:15.391Z (over 1 year ago)
- Language: Go
- Size: 102 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
cli_chat
========
cli_chat is a simple CLI based client and server for tcp based chat connection. Both
server and client written in Go. You can use telnet too.
## Install
Clone this repository.
~~~text
$ cd /path/to/cloned/repo
$ make build
~~~
## Run the server
~~~text
./bin/server
~~~
## Use the client to connect to server
~~~text
./bin/client
~~~
## Use telnet to connect to server
~~~text
telnet 0.0.0.0 8888
~~~
## TODO
* Creates a nice client interface. Using [termbox](https://github.com/nsf/termbox-go) maybe?
* Type `Message` should contains more attribute, like `action`. There will be message
formatter on the client code that check `Message.action`. A good use case would be `action`
to retrieve all connected clients, to quit, and to kick another user.
* Allows multiple rooms so that upon initial connection user can join open room after his/her nick
is registered.
## License
MIT License - see [LICENSE](LICENSE) file.