A distributed LAN chat application in the terminal (without needing a server!). Run the application in your terminal and write into the LAN!
Built on top of tui-rs to create the terminal UI and message-io to make the network connections.
Installation
You can use the cargo package manager in order to install it.
$ cargo install termchat
If you have ~/.cargo/bin
in your PATH (or similar in your OS), you will be able to use termchat everywhere in your computer!
How it works?
To no saturate the network, Termchat uses a only a multicast message to found other termchat applications in the network once connect by first time. Once a new application has been found by multicast, a TCP connection is created between them.
Usage
Simply write:
$ termchat
to open the application in your terminal.
You can rename your user name using the argument -u <name>
, or modified the multicast discovery address (see the application help --help
).