Metadata-Version: 2.4
Name: ChaTerminal
Version: 1.0.3
Summary: A terminal-based encrypted chat system for LAN and remote connections
Home-page: https://github.com/Gofaone315/ChaTerminal
Author: Gofaone Tlalang
Author-email: gofaonetlalang@gmail.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Environment :: Console
Classifier: Topic :: Communications :: Chat
Classifier: Topic :: Security :: Cryptography
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: colorama
Requires-Dist: pyfiglet
Requires-Dist: pyreadline3; platform_system == "windows"
Requires-Dist: requests
Requires-Dist: cryptography
Requires-Dist: rich
Requires-Dist: prompt_toolkit
Requires-Dist: keyring
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# ChaTerminal

**ChaTerminal** is a cross-platform terminal-based encrypted chat system built with Python and now part of the [MemerDevs](https://memerdevs.com) platform. It uses a centralized backend architecture to enable secure multi-user communication over the internet, providing a lightweight and interactive chat experience — right from the terminal.

![Python](https://img.shields.io/badge/Python-3.9+-blue.svg)
![License](https://img.shields.io/github/license/Gofaone315/ChaTerminal)
![Platform](https://img.shields.io/badge/Platform-Terminal-informational)

## Features

- **MemerDevs SSO** for seamless terminal linking
- **Multi-user chat** seamlessly over the internet
- **Color-coded messages** with timestamp formatting
- **Auto-complete** for commands via `readline` and TAB
- **Direct messaging** using `/dm <user> <message>`
- **List online users** using `/list`
- **Help menu**: `/help` displays command reference
- **User join/leave notifications**
- **Graceful client disconnect and remote session revocation**
- **Color personalization** based on username hash

## Getting Started

### Requirements

- Python 3.9+
- pip packages: `colorama`, `pyfiglet`, `readline` (Linux/macOS), `pyreadline3` (Windows)

### Installation

```bash
pip install ChaTerminal
```

### Running the Client

In your terminal:

```bash
ChaTerminal init client
```

Then follow the on-screen instructions to link your MemerDevs account!

## Commands

| Command             | Description                              |
|---------------------|------------------------------------------|
| `/dm <user> <msg>`  | Send a private message                   |
| `/list`             | View online users                        |
| `/help`             | Show all available commands              |

## MemerDevs SSO Integration

ChaTerminal now natively integrates with **MemerDevs**!

You can link your terminal to your MemerDevs account:
1. Generate an **Activation Code** from the MemerDevs Settings page under the "Link Terminal" tab.
2. In your terminal, run the client initialization:
   ```bash
   ChaTerminal init client
   ```
3. Provide the generated activation code when prompted.
4. ChaTerminal will securely poll the MemerDevs server, retrieve your session token, and automatically link your profile!


## License

This project is proprietary. See `LICENSE` for more info.

## Author

**Gofaone Tlalang**  
GitHub: [@Gofaone315](https://github.com/Gofaone315)

## Contributors ✨

Thanks goes to these wonderful people:

<a href = "https://github.com/Tanu-N-Prabhu/Python/graphs/contributors">
  <img src = "https://contrib.rocks/image?repo=Gofaone315/ChaTerminal"/>
</a>

---

**ChaTerminal** – Real-time encrypted chat, right from your terminal.
