Knowledge Trove is an AI-powered assignment grading platform designed to help students who struggle to stay focused and motivated. By providing instant feedback and gamified rewards, it transforms the learning experience into an engaging journey.
Students who struggle with focus often need:
- Immediate feedback to stay engaged
- Clear goals to work toward
- Tangible rewards for their efforts
- Structured guidance without overwhelming complexity
Knowledge Trove addresses these needs by:
- AI-Powered Instant Grading - Get immediate feedback on your work using Google Gemini AI
- Real-Time Evaluation - Upload criteria/rubric and receive grades (0-100) with constructive feedback
- Physical Rewards - Earn access to a "treasure chest" (via Bluetooth-connected servo) when you score above 50%
- Progress Tracking - Save multiple assignments and track your improvement over time
- Focused Environment - Clean, distraction-free interface designed for concentration
- Document Management - Create, save, and organize multiple assignments
- DOCX Criteria Upload - Upload rubrics/criteria in DOCX format for AI evaluation
- AI Grader Chat - Interactive chat interface for personalized feedback
- Bluetooth Integration - Physical reward system using Arduino-controlled servo
- User Authentication - Secure JWT-based login system
- Auto-Save - Never lose your work with automatic document saving
- React 19 with TypeScript
- Vite - Fast build tool and dev server
- TailwindCSS - Utility-first styling
- React Router - Client-side routing
- Mammoth.js - DOCX file parsing
- Web Bluetooth API - Arduino communication
- React Icons - Modern icon library
- Flask - Python web framework
- MongoDB Atlas - Cloud database
- Google Gemini AI - AI-powered evaluation
- PyJWT - Token-based authentication
- Flask-CORS - Cross-origin resource sharing
- Arduino 101 - Bluetooth-enabled microcontroller
- Servo Motor - Physical reward mechanism
- Node.js (v16+)
- Python 3.10 (Required for compatibility with cryptographic modules)
- MongoDB Atlas account
- Google Gemini API key
- Arduino 101 (optional, for treasure chest feature)
-
Create Python 3.10 virtual environment:
cd server py -3.10 -m venv venvImportant: Must use Python 3.10 due to Windows compatibility issues with Python 3.11+ and the cryptographic module for Gemini.
-
Activate virtual environment:
# Windows venv\Scripts\activate # macOS/Linux source venv/bin/activate
-
Install dependencies:
pip install -r requirements.txt
-
Create
.envfile:MONGO_DB_STRING=your_mongodb_connection_string SECRET_KEY=your_secret_key GEMINI_API_KEY=your_gemini_api_key
-
Run Flask server:
flask run
-
Install dependencies:
cd client npm install -
Create
.envfile:VITE_API_URL=http://localhost:5000
-
Run development server:
npm run dev
- Upload the Bluetooth servo code to your Arduino 101
- Use the UUIDs from
client/src/utils/arduinoConnect.tsx - Click "Connect Treasure" in the app to pair
- Score above 50% to trigger the servo!
- Sign Up/Sign In - Create an account or log in
- Create Assignment - Click "New Assignment" to start
- Upload Criteria - Upload a DOCX file with grading criteria (optional)
- Write Content - Write your assignment in the editor
- Get AI Feedback - Click "Evaluate" for instant grading and feedback
- Unlock Treasure - Score 75%+ to trigger the physical reward!
- Students with ADHD or focus challenges
- Self-paced learners who need immediate feedback
- Visual/kinesthetic learners who benefit from tangible rewards
- Anyone who wants to gamify their study routine
This project is licensed under the MIT License.
