Examina Ai
Using AI, It transforms raw study materials into structured, verified examination sets with support for institutional export formats like Moodle XML.
About the Project
Examina AI is a production-grade AI platform designed for educational institutions and corporate training centers. It transforms raw study materials into structured, verified examination sets with support for institutional export formats like Moodle XML.
ð Premium Features
ð§ Intelligent Generation Engine
- Multi-Account Token Rotation: Automatically rotates through multiple Hugging Face API tokens to bypass rate limits and credit depletion (Status 402 detection).
- Practical Application Focus: Specialized prompt engineering for Scenario-Based Problems, ensuring exams test understanding, not just memorization.
- Dynamic Question Types: Supports MCQs, True/False, Short Answers, and Essay questions with customizable weights.
ð¡ï¸ Enterprise Infrastructure
- Secure Admin Portal: Centralized hub for generating Institutional Access Keys (OTPs), tracking demo usage, and managing platform security.
- Automated Lifecycle Management: Integrated background cleanup service that purges temporary assets (uploads/outputs) every 10 minutes to maintain server hygiene.
- IP-Based Rate Limiting: Intelligent demo tracking to prevent abuse while allowing genuine potential users to trial the engine.
ð Premium UI/UX
- Vercel-Style Aesthetic: Professional dark-mode design system featuring Glassmorphism, refined typography (Outfit & Inter), and smooth micro-animations.
- Real-Time System Health: Live monitoring of backend connectivity with automatic "Wake-up" protocols for serverless deployments.
ð System Architecture
graph TD User((User)) -->|Uploads PDF/Docx| FE[Next.js Frontend] FE -->|API Request| BE[FastAPI Backend] BE -->|Task Queue| Redis[(Redis)] BE -->|Store Metrics| DB[(PostgreSQL)] BE -->|Batch Processing| LLM[HF Router / Qwen 2.5] LLM -->|Rotates Tokens| BE BE -->|Cleanup Task| Disk[Local Storage]
ð Deployment Guide (Render.com)
Examina AI is optimized for deployment as two separate services on Render.
1. Backend Deployment (Web Service)
- Create a new Web Service on Render and connect your repository.
- Environment:
Python - Build Command:
pip install -r backend/requirements.txt - Start Command:
gunicorn -w 4 -k uvicorn.workers.UvicornWorker backend.main:app - Environment Variables:
HF_TOKENS:token1,token2,token3(Comma-separated)ADMIN_EMAIL: Your admin emailADMIN_PASSWORD: Secure admin passwordPORT:8000
2. Frontend Deployment (Web Service)
- Create a new Web Service (not Static Site, for Next.js features) on Render.
- Root Directory:
frontend/ - Environment:
Node - Build Command:
npm install && npm run build - Start Command:
npm run start - Environment Variables:
NEXT_PUBLIC_API_URL:https://your-backend-url.onrender.com/api/v1(The URL Render gave you for the backend)
ð Local Setup
Prerequisites
- Docker & Docker Compose
Installation
- Clone & Enter:
git clone https://github.com/RasikhAli/Examina-AI.git cd Examina-AI - Configure
.env: Copy.env.exampleto.envand fill in your keys. - Launch:
docker-compose up --build
ð Minute Folder Details
backend/app/core/llm_engine.py: The heart of AI generation with token rotation logic.backend/app/tasks/cleanup.py: Background worker for file retention policy.backend/app/core/payment_state.py: Global state for OTPs and demo restrictions.frontend/src/app/globals.css: The entire design system and glassmorphism tokens.frontend/src/app/admin/: Secure management portal.
ð¨âð» Author
Rasikh Ali
AI Engineer & Full-Stack Developer
LinkedIn | GitHub
âï¸ License
MIT License - Developed for Cognivex / Rasikh Ali.
Project Gallery
Project Timeline
Technologies
External Links
Related Projects
Projects built with similar technologies.
Online Html Editor And Viewer
The Online HTML Editor and Viewer is a simple web application built with Flask that allows users to write and preview HTML code in real-time.
Qrgen
A premium, feature-rich QR Code Generator engineered with Python (Flask) and a pristine Glassmorphism frontend.
Bulk Name Checker
A high-performance web application for entrepreneurs, marketers, and developers who need to validate name availability at scale.