A real-time terminal-based chat application built with Python.
TeleSync is a command-line communication platform that allows multiple users to connect and chat in real time. It provides a lightweight, fast, and customizable chatting experience directly from the terminal.
- Real-time messaging between multiple users
- Client-server architecture
- Multiple users can connect simultaneously
- Custom username support
- Change username anytime
- User status system
Users can set their current status:
- Online
- Idle
- Busy
- Coding
- Away
- Send direct messages to specific users
- Clean terminal interface
- Rich formatted output
- Multiple themes support
Available themes:
- Dark
- Hacker
- Dracula
- Nord
Powerful command-based interaction system with help support.
Before installing TeleSync, make sure you have:
- Python 3.10 or above
- pip package manager
- Git
Download the project using:
git clone <repository-url>Example:
git clone https://github.com/username/telesync.gitcd telesyncInstall all required Python packages:
pip install -r requirements.txtTeleSync works using a client-server architecture.
Open a terminal and run:
python server/server.pyThe server will start waiting for client connections.
Open another terminal window:
python client/client.pyEnter your username and connect to the server.
Example:
Enter username: Kaif
Connected successfully!
Use:
/help
to view all available commands.
Command:
/count
Description:
Shows the number of currently connected users.
Command:
/dm <username> <message>
Example:
/dm John Hello
Sends a private message to a specific user.
Command:
/nick <newname>
Example:
/nick Kaif
Changes your current username.
Command:
/status <state>
Available options:
Online
Idle
Busy
Coding
Away
Example:
/status Coding
Command:
/theme <name>
Available themes:
Dark
Hacker
Dracula
Nord
Example:
/theme Hacker
Command:
/help
Displays all available commands and their usage.
Command:
/quit
Disconnects from the server and closes the application.
TeleSync/
โ
โโโ client/
โ โโโ client.py
โ โโโ ui.py
โ
โโโ server/
โ โโโ server.py
โ
โโโ shared/
โ โโโ models.py
โ
โโโ requirements.txt
โ
โโโ README.md
You can configure:
- Server host
- Server port
- Client settings
- UI preferences
according to your requirements.
Check:
- Server is running
- Correct host and port are configured
- Network connection is available
Run:
pip install --upgrade pipThen install dependencies again:
pip install -r requirements.txtPlanned features:
- File sharing
- Voice communication
- Mobile application
- User authentication
- Database support
- End-to-end encryption
- Cloud deployment
Contributions are welcome.
Steps:
- Fork the repository
- Create a new branch
- Make your changes
- Submit a pull request
This project is licensed under the MIT License.
Created by Kaif