#chat #terminal #tui #tcp #user-interface #terminal-interface

app lan-chat

A terminal based chatting application with a terminal user interface

6 releases (3 breaking)

0.11.1 Feb 15, 2024
0.11.0 Feb 15, 2024
0.9.5 Feb 14, 2024
0.8.1 Feb 14, 2024
0.5.5 Feb 13, 2024

#1926 in Command line utilities

Download history 302/week @ 2024-02-09 70/week @ 2024-02-16 26/week @ 2024-02-23 9/week @ 2024-03-01 9/week @ 2024-03-08 4/week @ 2024-03-15 35/week @ 2024-03-29 7/week @ 2024-04-05

51 downloads per month

MIT license

28KB
528 lines

Lan Chat crates.io Build Passing

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

  1. To learn about the available commands, run:
lan-chat --help
  1. To start the server, run:
lan-chat -i

The output will display the server IP.

  1. 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>
  1. To insert emojis in the chat, use the following format: :<emoji name>:. For example is you type That's funny :laugh: it will be rendered as That's funny 😂.

The supported emojis are as follows

Command Emoji
😄 😊
😆 😂
👍 👍
😢 😢

For all codes please refer to Emoji Cheat Sheet.

Running Example

image

Dependencies

~9–19MB
~224K SLoC