Lan Chat is a terminal-based chat application featuring a user-friendly terminal interface.
This requires
cargoto be installed on your target system. Refer to the cargo installation guide ifcargois absent on your system.
To install Lan Chat, use the following command:
cargo install lan-chat --lockedThis will install the binary. For usage instructions, refer to the Usage section.
Alternatively, the project can be cloned and built using cargo.
- To learn about the available commands, run:
lan-chat --help- To start the server, run:
lan-chat -iThe 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 :laughing:it will be rendered asThat's funny 😂.
The supported emojis are as follows
| Command | Emoji |
|---|---|
:smile: |
😊 |
:laughing: |
😂 |
:thumbsup: |
👍 |
:cry: |
😢 |
For all codes please refer to Emoji Cheat Sheet.
