Skip to content

OptiDebt helps you become debt-free smarter & faster πŸ’Έβš‘ Add loans, set a budget & get the best repayment plan using Snowball, Avalanche & optimization πŸ’‘πŸ“Š Track progress with charts & timelines β€” less interest, more freedom βœ…πŸš€

Notifications You must be signed in to change notification settings

harishy0406/OptiDebt

Repository files navigation

πŸ“Œ OptiDebt β€” Smart Debt Repayment Planner

OptiDebt is a personal finance tool designed to help individuals pay off their debts faster and smarter. Instead of simply tracking expenses, OptiDebt calculates the optimal repayment distribution across multiple debts to minimize total interest and reduce repayment time.

It empowers users to visualize debt progress, compare repayment strategies (Snowball vs Avalanche vs LP optimization), and follow a personalized payoff plan.


✨ Key Features

Feature Description
πŸ’° Smart Repayment Planner Calculates best repayment allocation within a fixed budget
πŸ“Š Interactive Dashboard Charts, timeline, progress bars & payoff visualization
βš–οΈ Multiple Repayment Strategies Snowball, Avalanche, and Linear Programming
πŸ“ˆ Interest & Duration Insights Shows total savings and debt-free timeline
🎯 Financial Motivation Milestones & visual progress tracking

🧠 Debt Repayment Strategies Used

βœ… Snowball Method (Motivation-First)

  • Focus on smallest debt first
  • Quick wins β†’ boosts motivation

βœ… Avalanche Method (Cost-First)

  • Target highest interest rate first
  • Saves maximum money long-term

βœ… Linear Programming (Optimization-First)

  • Uses mathematical optimization to minimize interest
  • Considers:
    • Total monthly budget
    • Minimum payment requirements
    • Remaining balances

Implemented using Python (PuLP) or can be simulated logically in JS rules.


πŸ› οΈ Tech Stack

Category Tools
Frontend HTML, CSS, JavaScript
Optimization Engine Python (PuLP / SciPy β€” optional)
Data Handling LocalStorage / JSON
Visualization Chart.js / D3.js
Deployment GitHub Pages / Browser

πŸ“‚ Project Structure

OptiDebt/
β”œβ”€β”€ README.md
β”œβ”€β”€ index.html
β”œβ”€β”€ vite-config.ts                   
β”œβ”€β”€ public/                 
└── src/                    
    β”œβ”€β”€ components/         
    β”‚   β”œβ”€β”€ ui/             
    β”‚   β”œβ”€β”€ DebtAmortizationChart.tsx
    β”‚   β”œβ”€β”€ DebtForm.tsx
    β”‚   β”œβ”€β”€ Footer.tsx
    β”‚   β”œβ”€β”€ ... (other chart components)
    β”‚   └── StrategySelector.tsx
    β”œβ”€β”€ hooks/              
    β”œβ”€β”€ lib/                
    β”œβ”€β”€ pages/              
    β”œβ”€β”€ types/              
    β”œβ”€β”€ App.tsx             
    β”œβ”€β”€ main.tsx
    └── App.css

πŸš€ How to Run

βœ… Frontend Mode (Default)

  1. Download the project / git clone
  2. Open index.html in a browser
  3. Enter debts, budget & view repayment suggestions
  4. In terminal, type npm run dev

βœ… Run LP Optimization Script (Optional)

pip install pulp
python optimization/lp_model.py

πŸ“Έ Screenshots & UI Preview

Dashboard Repayment Planner Charts
image image image

πŸŽ₯ Demo Video (Optional)

πŸ“Ž Video here image


πŸ“Š Sample Output Example

Optimal monthly repayment plan:
Debt A: β‚Ή4200  
Debt B: β‚Ή3500  
Debt C: β‚Ή2300  
Total Interest Saved: β‚Ή11,800  

🌟 Future Enhancements

  • Mobile app version (React Native)
  • Bank SMS / statement auto-sync
  • Payment reminders system
  • Voice-based assistant for financial guidance

πŸ’‘ Why OptiDebt?

Debt repayment apps usually just track your loans.
OptiDebt plans and optimizes them, giving:

βœ… Faster payoff
βœ… Lower interest cost
βœ… Motivation + smart visualization
βœ… Beginner-friendly personal finance tool


πŸ‘€ Author

Knight Rider
πŸ“ India


πŸ“ License

MIT License β€” Feel free to use and improve with credit :)


πŸ“ Add Screenshots Here

Inside /assets/screenshots/ folder, add files like:

dashboard.png
add_debt_form.png
charts.png
comparison_view.png
results_summary.png

Use them in README like:

![Dashboard](assets/screenshots/dashboard.png)

Happy Coding ✨
Feel free to ⭐ the repo if you like it!

About

OptiDebt helps you become debt-free smarter & faster πŸ’Έβš‘ Add loans, set a budget & get the best repayment plan using Snowball, Avalanche & optimization πŸ’‘πŸ“Š Track progress with charts & timelines β€” less interest, more freedom βœ…πŸš€

Topics

Resources

Stars

Watchers

Forks

Languages