🌐 Live Site: https://learnx-sv60.onrender.com
LearnX is a simple and smart study planner that helps users generate, visualize, and manage personalized study schedules through an intuitive calendar interface.
LearnX is a hackathon-built AI-powered web app designed to improve study productivity. Users describe what they want to study, and the AI instantly returns a customized plan, displayed as draggable and interactive calendar blocks.
- Theme: Next Generation Learning
LearnX empowers learners to structure and own their study journey through AI planning, intuitive scheduling, and full flexibility—perfectly aligning with future-ready education tools.
- Clean UX
- Interactive calendar blocks
- Simple AI interface
- Save & reload your timeline anytime
- AI does not yet ask clarifying questions automatically
- User input should ideally be detailed (e.g. duration, level, goals)
- Extended time-based planning (e.g. “3-month plan”) to be added
- Users can send a single message to describe their study goal (e.g. "Make me a TOEFL study plan").
- The plan is instantly created and displayed in a calendar format.
- ⬅️➡️ Navigate by week or day
- 🟨 Blocks = Study tasks
- ✅ Left-click → View task details
- ❌ Right-click → Delete block
- 🔄 Drag-and-drop to rearrange
- Manually add custom study events with a title, time, and description
- Download timeline with Save Plan
- Import timeline with Load Plan
| File | Description |
|---|---|
scheduler.py |
Handles chat logic, session state, and Gemini API prompts |
planner.py |
Stores the AI-generated study plan for calendar rendering |
script.js |
Calendar UI logic, event conflict handling, modal behavior |
style.css |
UI styling with navy, mustard, and light backgrounds |
index.html |
Combines the calendar + chat layout |
app.py |
FastAPI backend – routes, logic dispatcher |
Before you begin, ensure you have the following installed on your machine:
- Python 3.11 or higher
pip(Python package manager)- Git
Follow these steps to run LearnX locally:
-
Clone the Repository
git clone https://github.com/MelisaYasak/learnx.git cd learnx/backend -
(Optional but Recommended) Create Virtual Environment
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install Required Python Dependencies
pip install -r requirements.txt
-
Set Up Gemini API Key
- Go to Google AI Studio and generate an API key.
- Create a
.envfile in the/backendfolder and add the following:GEMINI_API_KEY=your-api-key-here
-
Run the FastAPI App
uvicorn app:app --reload
-
Open in Browser
Visit: http://127.0.0.1:8000 to use the app locally 🎉
