md
A minimalist, cross-platform terminal chat application built in C and C++.
TChat is a high-performance, command-line interface (CLI) chat application designed for users who appreciate speed, efficiency, and a text-only environment. Built from the ground up using pure C and C++, TChat aims for cross-platform compatibility, running natively on Windows, macOS, and Linux, ensuring a seamless experience regardless of your operating system.
It's designed to run directly in your terminal.
- Cross-Platform Compatibility: Runs seamlessly on Windows, macOS, and Linux.
- Lightweight & Efficient: Written in C++, optimized for speed and minimal resource consumption.
- Command-Line Interface: User-friendly CLI for easy interaction.
- Real-time Chat: Provides a platform for near instantaneous text based communication.
- Minimal Dependencies: Reduced complexity and easier deployment.
Before you begin, ensure you have the following installed:
- C++ Compiler: A modern C++ compiler (e.g., GCC, Clang, MSVC) that supports C++11 or later.
- Make: A build automation tool (usually pre-installed on Linux and macOS).
- Operating System: Windows, macOS, or Linux.
Follow these steps to install and set up TChat:
-
Clone the Repository:
git clone https://github.com/AuriFeen/TChat.git cd TChat -
Compile the Source Code:
# Example using g++ g++ -o client_chat client_chat.cpp client_calls.cpp -std=c++11Note: You may need to adjust the compilation command depending on your operating system and compiler.
-
Run the Application:
./client_chat # Example
-
Running the client:
./client_chat [Server IP Address] [Port Number]
Replace
[Server IP Address]and[Port Number]with appropriate values. -
Basic Interaction: Once the client is running and connected to a server, simply type your message and press 'Enter' to send it. Received messages will be displayed in the terminal.
Currently, TChat relies on command-line arguments for basic configuration:
- Server IP Address: Specify the IP address of the chat server.
- Port Number: Define the port number used for communication.
Further configuration options may be added in future releases.
We welcome contributions to TChat! To contribute:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and test them thoroughly.
- Submit a pull request with a clear description of your changes.
Please follow these guidelines:
- Write clean, well-documented code.
- Adhere to coding standards.
- Include unit tests for new features.
This project is licensed under the GNU General Public License v3.0. See the LICENSE file for more information.
- We would like to acknowledge the open-source community for providing valuable resources and libraries.