Logo Lanfrica

SilasAggrey/studyai-ghana

Domain:

education

Record type:

software
Creator:
Sil
Host:
AI-powered study assistant for Ghanaian students β€” Telegram bot with quizzes, flashcards, mock exams, and study plans # StudyAI Ghana πŸ€–πŸŽ“ An AI-powered personal study assistant that lives inside Telegram. **ChatGPT + Quizlet + Exam Practice + Personal Tutor** β€” for university and senior high school students, built for Ghana first and designed to expand worldwide. > This repository contains **Phase 1 (MVP)**: onboarding, AI tutor, quiz > generation/taking/scoring, progress tracking, referral attribution, > premium gating, admin commands, and the full database schema. --- ## ✨ What it does | Feature | Status | |---|---| | `/start` onboarding & student profile (school, level, program, subjects) | βœ… Phase 1 | | `/ask` β€” AI tutor with beginner/intermediate/advanced modes | βœ… Phase 1 | | `/quiz` β€” generate quizzes (subject β†’ topic β†’ difficulty β†’ count) | βœ… Phase 1 | | Quiz taking with instant βœ…/❌ feedback + explanations | βœ… Phase 1 | | Quiz scoring, strong/weak topics, recommendations | βœ… Phase 1 | | `/progress` β€” dashboard: streak, accuracy, subjects, recommended topic | βœ… Phase 1 | | XP / levels / daily streaks (gamification foundations) | βœ… Phase 1 | | `/premium` plan gating + free-plan daily limits | βœ… Phase 1 | | Referral system with rewards + anti-abuse checks | βœ… Phase 1 | | `/stats`, `/grant`, `/revoke` admin commands (role-gated) | βœ… Phase 1 | | `/notes` β€” upload PDF/TXT/DOCX/MD β†’ summarize, quiz from material, ask, study guide | βœ… Phase 2 (partial) | | Mock exams, photo/OCR notes, flashcards, study plans | πŸ”œ Phase 2 | | Leaderboard, payments (Telegram Stars), admin web panel | πŸ”œ Phase 3 | | Telegram Mini App dashboard | πŸ”œ Phase 4 | ## πŸ— Architecture ``` studyai-ghana/ β”œβ”€β”€ app/ β”‚ β”œβ”€β”€ main.py # bot entry point (polling or webhook) β”‚ β”œβ”€β”€ config.py # pydantic-settings env config β”‚ β”œβ”€β”€ logging_setup.py β”‚ β”œβ”€β”€ bot/ # aiogram 3 β”‚ β”‚ β”œβ”€β”€ dispatcher.py # middlewares + routers + error handling β”‚ β”‚ β”œβ”€β”€ states.py # FSM states β”‚ β”‚ β”œβ”€β”€ keyboards.py # inline keyboard builders β”‚ β”‚ β”œβ”€β”€ tex …