Lumen is a precise, arithmetic-first financial planning tool designed specifically for Indian STEM students. It helps prospective and current students navigate the complexities of education loans by providing clear, data-driven insights into total costs, repayment timelines, and affordability.
- Build a comprehensive 4-year cost profile including tuition, hostel, books, travel, and health.
- Prefilled data for major Indian institutions fetched directly from our database.
- Interactive payoff timelines and total interest projections.
- Compare total program costs against expected starting salaries.
- Verdict Engine: Automatically classifies your loan risk (Comfortable, Stretched, or High Risk) based on EMI-to-take-home ratios.
- Scholarship Matcher: Discover eligible scholarships based on your institution type (IIT, NIT, IIIT, etc.).
- Track multiple loans in a single view with a calculated Blended APR.
- Snowball vs. Avalanche: Compare strategies to see which one saves more interest or clears debt faster.
- Visual debt-reduction charts with baseline vs. accelerated payoff comparisons.
- Context-aware assistant powered by Google Gemini.
- Ask questions like "How much will I save if I pay an extra ₹5,000 per month?" and get answers based on your actual loan data.
- Framework: React + Vite
- Language: TypeScript
- Styling: Tailwind CSS + Shadcn UI
- Database & Auth: Supabase
- AI: Google Gemini Pro/Flash
- Charts: Recharts
- Finance Logic: Custom amortization and strategy simulators in
src/lib/finance.ts
- Node.js (v18+)
- A Supabase project
- A Google AI (Gemini) API Key
-
Clone the repository:
git clone https://github.com/your-repo/student-loan-planner.git cd student-loan-planner -
Install dependencies:
npm install
-
Set up environment variables: Create a
.envfile in the root directory:VITE_SUPABASE_URL=your_supabase_url VITE_SUPABASE_ANON_KEY=your_supabase_anon_key VITE_GEMINI_API_KEY=your_gemini_api_key
-
Run development server:
npm run dev
- EMI Calculation: Standard reducing balance formula.
- Moratorium: Assumes a 12-month post-graduation moratorium (standard for SBI/BoB/HDFC).
- Take-Home Pay: Estimated at
(Annual Gross / 12) * 0.78to account for Indian income tax brackets. - Affordability: Based on the 30/45 rule (EMI < 30% is Comfortable, > 45% is High Risk).
This project is licensed under the MIT License - see the LICENSE file for details.