A web application that helps users manage their debt with an AI-powered chat assistant. The application includes a dashboard showing debt overview, payment history, and a chat interface for getting financial advice.
- Real-time debt overview with total debt and amount paid
- Interactive debt visualization charts
- Payment history tracking with date and amount
- Support for multiple debts with different interest rates
- Automatic interest and capital allocation calculation
- Natural language interaction for financial advice
- Voice input support with WebM audio recording
- Context-aware responses based on your financial situation
- Real-time debt and payment information integration
- Markdown support for formatted responses
- Add and track payments for specific debts
- Automatic payment distribution between interest and capital
- Historical payment record keeping
- Payment impact visualization on total debt
- Automatic data persistence using localStorage
- No account required - all data stays in your browser
- Export/import functionality for data backup
- Privacy-focused design
- Node.js (v14 or higher)
- npm
- Modern web browser with WebM audio support
- Clone the repository
- Install dependencies:
npm install
- Create a
.env
file in the root directory with your OpenAI API key:
OPENAI_API_KEY=your_api_key_here
- Start the backend server:
npm run server
- In a new terminal, start the frontend development server:
npm run dev
- Open your browser and navigate to
http://localhost:5173
- React (Vite) for UI components
- Tailwind CSS for styling
- Chart.js for data visualization
- React Icons for UI elements
- WebAudio API for voice recording
- Node.js with Express
- OpenAI API for chat and voice transcription
- Multer for file upload handling
- CORS for cross-origin resource sharing
- Browser's localStorage for persistent data storage
- Stores:
- Debt information
- Payment history
- Chat messages
- User preferences
- Environment variable based API key management
- Client-side data storage for privacy
- Input validation for all forms
- Secure audio file handling
MIT