Transform Cancelled Classes into Productive Study Sessions
An AI-powered study planner that adapts to your energy levels and turns wasted time into learning opportunities
Features • Quick Start • Architecture • Usage • License
Students waste hours on cancelled classes scrolling social media. Neural Plan uses Google Gemini AI to generate energy-adaptive study plans that match your mental state (Low Battery 😴 → Beast Mode 🦁) and track accountability through data-driven insights.
Note: Built as a productivity tool for students to transform wasted time into learning opportunities.
Students face wasted time when classes are cancelled:
- Unproductive scrolling - Hours lost on social media
- No study structure - Lack of adaptive plans for different energy levels
- Zero accountability - No tracking of actual vs. planned study time
Neural Plan combines four powerful features:
- 🤖 AI Study Plans: 5 energy modes with minute-by-minute breakdowns
- 📸 Vision Parser: Upload timetable images for automatic extraction
- 📊 Accountability: Track efficiency with goal vs. actual comparisons
- 🎨 Modern UI: Glassmorphism design with particle.js animations
| Component | Technology | Purpose |
|---|---|---|
| Frontend | Streamlit 1.39+ | Rapid web app development |
| AI Engine | Google Gemini Flash | Study plan generation & OCR |
| Data Viz | Plotly 5.24+ | Interactive charts & graphs |
| Animations | Lottie, Particles.js | UI enhancements |
| Storage | CSV files | Lightweight data persistence |
| Language | Python 3.8+ | Core application logic |
- 🔋 Energy-Adaptive Plans: 5 modes from Low Battery to Beast Mode
- 📸 Vision OCR: Automatic timetable extraction from images
- 📊 Efficiency Tracking: Goal vs. actual time comparisons
- 📈 7-Day Trends: Visual progress analytics
- ⏰ Minute-by-Minute: Detailed study breakdowns
- 🎨 Modern UI: Glassmorphism design with smooth animations
- Python 3.8 or higher
- Google Gemini API key (Get one here)
# Clone the repository
git clone https://github.com/Yuvraj-Sarathe/NeuralPlan.git
cd NeuralPlan
# Install dependencies
pip install -r requirements.txt🔐 API Key Configuration (Click to expand)
Important: Never commit your API keys to version control!
- Create a secrets configuration file for Streamlit and add your Gemini API key:
GEMINI_API_KEY_1 = "your_actual_api_key_here"- Store this file securely and ensure it's excluded from version control
Optional: Add backup keys for automatic rotation on quota limits
# Run the application
streamlit run app.pyThe app will open at http://localhost:8501
- Upload timetable or edit manually in Schedule page
- Mark classes as "Cancelled" when needed
- Generate AI study plan in Neural Coach
- Log actual time in Insights page
NeuralPlan/
├── app.py # Main entry point with session state management
├── requirements.txt # Python dependencies
├── LICENSE # MIT License
│
├── .streamlit/
│ ├── config.toml # Streamlit theme configuration
│ └── static/
│ └── logo.png # App logo
│
├── assets/
│ ├── logo.png # Main logo image
│ ├── animation.json # Lottie animation data
│ ├── style.css # Global styles with glassmorphism
│ ├── stylesh.css # Schedule page specific styles
│ ├── neural_coach.css # Neural Coach page styles
│ └── data_page.css # Insights page styles
│
├── data/
│ ├── default_schedule.csv # Sample timetable (14 classes)
│ └── history.csv # Sample historical data
│
├── pages/
│ ├── 1_Schedule.py # Schedule management & upload
│ ├── 2_Neural_Coach.py # AI study plan generator
│ ├── 3_Insights.py # Analytics & progress tracking
│ └── 4_Guide.py # User documentation
│
└── src/
├── __init__.py
├── gemini_client.py # Google Gemini API integration
├── logo_helper.py # Logo rendering utilities
└── utils.py # Helper functions (time conversion, etc.)
Neural Plan follows a modular architecture:
- Frontend Layer: Streamlit pages (Schedule, Neural Coach, Insights, Guide)
- Backend Logic: Python modules for AI generation and data management
- Data Layer: CSV-based storage for schedules, history, and daily state
- External Services: Google Gemini API for study plan generation and OCR
- User uploads timetable or edits manually
- Mark cancelled classes in Schedule page
- Generate energy-adaptive study plans with AI
- Log actual study time for accountability tracking
- View efficiency metrics and 7-day trends
flowchart LR
subgraph Frontend["🎨 Streamlit Frontend"]
UI[User Interface]
Session[Session State]
end
subgraph Backend["⚙️ Python Backend"]
App[app.py]
Pages[Pages Module]
Src[Source Module]
end
subgraph AI["🤖 AI Services"]
Gemini[Google Gemini API]
Vision[Gemini Vision]
end
subgraph Storage["💾 Data Layer"]
CSV1[(default_schedule.csv)]
CSV2[(user_schedule.csv)]
CSV3[(daily_state.csv)]
CSV4[(history.csv)]
end
UI <--> Session
Session <--> App
App <--> Pages
Pages <--> Src
Src <--> Gemini
Src <--> Vision
Src <--> CSV1
Src <--> CSV2
Src <--> CSV3
Src <--> CSV4
style Frontend fill:#2E3192,color:#fff
style Backend fill:#1a1f2e,color:#fff
style AI fill:#4285F4,color:#fff
style Storage fill:#10B981,color:#fff
Schedule: Upload timetable image or manually edit → Mark cancelled classes → Save
Neural Coach: Select subject, time, energy level, focus topic → Generate AI plan
Insights: Log actual study minutes → View efficiency score → Analyze trends
Theme Customization
Edit .streamlit/config.toml:
[theme]
primaryColor = "#FF8C42"
backgroundColor = "#0E1117"
secondaryBackgroundColor = "#1a1f2e"
textColor = "#e8eaed"Data Files Format
Schedule:
Day,Time,Subject,Duration,Status,Actual_Study,Custom_Subject
Monday,09:00 AM,Data Structures,60,Active,0,History:
Date,Time_Saved,Time_Used,Efficiency,Classes_Cancelled
2025-01-01,120,90,75,2- AI not generating: Check API key in secrets file, verify internet connection, wait for rate limit reset
- Upload failed: Use high-resolution images, ensure clear timetable format, or edit manually
- 0% efficiency: Mark class as "Cancelled" in Schedule page, click "Save Progress"
- Quota exceeded: Add backup API keys for automatic rotation
MIT License - see LICENSE file
![]() Sourabh Patne Full-stack development, AI integration, system architecture |
![]() Siddhika Dhanelia Schedule management, insights dashboard, frontend design |
![]() Shlok Pandey Neural Coach, energy modes, data management |
![]() Yuvraj Sarathe Vision OCR, efficiency tracking, UI/UX design |
⭐ Star this repo if Neural Plan helped you reclaim wasted time!
Made with ❤️ and ☕ by Team Nerd Herd | Neural Plan © 2025
Transforming cancelled classes into productive study sessions. 🧠






