This project is a Telegram bot designed to assist students with managing their academic activities. The bot provides features such as schedule notifications, grade tracking, news updates, and attendance check-ins.
- Login and Authentication: Securely log in using student credentials.
- Daily Schedule Notifications: Receive daily updates about your schedule.
- Grade Tracking: View academic performance summaries and detailed grades.
- News Updates: Stay informed with the latest news and announcements.
- Attendance Check-in: Easily check in for classes using location and codes.
- Personal Information: View detailed student information.
- Reminders: Get notified about important reminders and tasks.
- Bun
- SQLite3
- Telegram Bot Token (from BotFather)
- Environment variables configured in a
.envfile (see.env.examplefor reference)
-
Clone the repository:
git clone https://github.com/your-username/telegram-bot.git cd telegram-bot -
Install dependencies:
bun install
-
Configure the environment variables:
- Copy
.env.exampleto.env:cp .env.example .env
- Fill in the required values in the
.envfile.
- Copy
-
Initialize the database:
- The bot will automatically create the necessary SQLite tables on startup.
Start the bot in development mode with hot-reloading:
bun run dev- Start the bot:
bun run startSend /help for available commands.
This project is licensed under the MIT License. See the LICENSE file for details.