Skip to content

tasnimzotder/tchat

Repository files navigation

tChat

logo

Terminal chat application for developers. Share texts and files between users (or servers) using end-to-end encryption.

Features

  • Send text messages
  • Send files
  • Secure authentication
  • End-to-end encryption
  • Live chat

Working

Public Key Sharing

Public Key Sharing Sequence Diagram

End-to-end Encryption

End-to-end Encryption Sequence Diagram

Installation

  1. For Mac and Linux:
curl https://raw.githubusercontent.com/tasnimzotder/tchat/main/install.sh | sudo sh

Usage

To start the application, run the following command:

tchat

Please run the following command to start a new connection:

tchat conn

Commands

Command Description Example
conn Start or save connection tchat conn
msg Receive messages tchat msg -d 1 -s hello.txt
send Send messages tchat send -r <receiver> -m <message>

Message Command

Option Description Example
-c Clear the messages tchat msg -c all
-d Display a message (serialNumber) tchat m -d 2
-s Save a message to file tchat msg -d 2 -s hello.txt

Send Command

Option Description Example
-r Receiver tchat send -r <receiver> -m <message>
-m Message tchat send -r <receiver> -m <message>
-f File tchat send -r <receiver> -f <file>