AlexMsg is a simple messaging application that allows users to register, log in, send messages, and view their message history through a console interface. It utilizes a web API for handling user accounts and messages, providing a straightforward way to communicate.
(Just a heads-up: don’t take it seriously; this is a random application I was working on!)
- User Registration: Create a new account.
- User Login: Securely log in to your account.
- Send Messages: Send messages to other users.
- View Message History: Retrieve and display your message history.
- Interactive Command Line Interface: Easy-to-use command line interface with help commands.
Make sure you have Python 3.10 or higher installed on your system. You can download it from the official Python website.
First, clone this repository to your local machine using:
git clone https://github.com/ItsAlexIK/AlexMsg.git
cd AlexMsgYou can install the required packages using pip. It is recommended to use a virtual environment for managing dependencies:
# Create a virtual environment (optional but recommended)
python -m venv venv
# Activate the virtual environment
# On Windows:
venv\Scripts\activate
# On macOS/Linux:
source venv/bin/activate
# Install the required packages
pip install -r requirements.txtTo install AlexMsg globally so you can run it from anywhere, use the following command:
pip install .To run the application, execute the following command:
python -m app.mainOnce the application starts, you will see a welcome header and can start interacting with the command line interface.
Here's a list of available commands you can use:
Available Commands:
┌──────────────────────────────────────────────────────────────┐
│ help Show help menu │
│ msg-history Show message history │
│ login name pwd Log in user │
│ send name message Send a message │
│ register name pwd Register a new user │
│ logout Log out user │
│ exit Exit the application │
└──────────────────────────────────────────────────────────────┘
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome! Please fork this repository and create a pull request for any improvements or new features.