This project is a Telegram bot that helps users upload transcripts, process courses, and manage their academic progress. The bot uses Redis for session state management and Telegram's API for interacting with users.
data/
: Contains JSON files for the bot data and course credits.src/
: Contains the source code for the bot, including handlers, utilities, and the main application script..env
: Environment variables for Redis and Telegram.
-
Clone the repository:
git clone https://github.com/your-repo/telegram-bot.git cd telegram-bot
-
Install the required Python packages:
pip install -r requirements.txt
-
Create a .env file with the following variables:
REDIS_HOST= REDIS_PORT= REDIS_PASSWORD= TOKEN= CHAT_ID=
-
Load the environment variables:
source .env
-
Run the bot locally:
python src/bot.py
- python-telegram-bot
- redis
- pdfplumber
- python-dotenv