6 releases (3 breaking)
0.11.1 | Feb 15, 2024 |
---|---|
0.11.0 |
|
0.9.5 | Feb 14, 2024 |
0.8.1 | Feb 14, 2024 |
0.5.5 | Feb 13, 2024 |
#1926 in Command line utilities
51 downloads per month
28KB
528 lines
Lan Chat
Lan Chat is a terminal-based chat application featuring a user-friendly terminal interface.
Installation
To install Lan Chat, use the following command:
cargo install lan-chat
This will install the binary. For usage instructions, refer to the Usage section.
Alternatively, you can clone the repository and build it manually using the cargo build
command. Please note that in this case, you will need to run the executable directly.
Usage
- To learn about the available commands, run:
lan-chat --help
- To start the server, run:
lan-chat -i
The output will display the server IP.
- To connect to the server, use:
lan-chat -s <server-ip>
You will be prompted to enter a pseudonym. Alternatively, you can set the pseudonym directly using the following command:
lan-chat -s <server-ip> -p <pseudonym>
- To insert emojis in the chat, use the following format:
:<emoji name>:
. For example is you typeThat's funny :laugh:
it will be rendered asThat's funny 😂
.
The supported emojis are as follows
Command | Emoji |
---|---|
😄 | 😊 |
😆 | 😂 |
👍 | 👍 |
😢 | 😢 |
For all codes please refer to Emoji Cheat Sheet.
Running Example
Dependencies
~9–19MB
~224K SLoC