Skip to content

M0rs-Ruki/AI-Personal-Finance-Tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧠 RukiAI – Smart Personal Finance Tracker

RukiAI Banner

MIT License Node.js MongoDB AI Powered


πŸ’‘ Project Overview

Managing money shouldn't be confusing β€” that's where RukiAI steps in.

RukiAI is a full-stack, AI-enhanced personal finance tracker designed to help users make better financial decisions through real-time insights, budget monitoring, and goal tracking. Whether you're a student, a working professional, or a retiree, RukiAI personalizes your dashboard to give meaningful suggestions about your spending, saving, and financial health.

🌟 What RukiAI Does

πŸ“Š Smart Expense Tracking

  • Log daily or weekly expenses
  • Automatic categorization
  • Receipt scanning (coming soon)

🎯 Goal Setting & Monitoring

  • Set custom budgets and financial goals
  • Track progress with visual indicators
  • Milestone celebrations

πŸ€– AI-Powered Insights

  • Real-time spending analysis
  • Personalized financial advice
  • Predictive budgeting

πŸ“§ Smart Notifications

  • Weekly reports via email or SMS
  • Budget alerts and warnings
  • Achievement notifications

πŸ’¬ AI-Powered Suggestions Examples

πŸ’‘ "You've already used 70% of your food budget this week."

πŸŽ‰ "You're on track to hit your emergency savings goal ahead of schedule."

⚠️ "Your entertainment spending is 40% higher than last month."


βš™οΈ Technology Stack

Backend Database Frontend AI Integration Templating
Node.js MongoDB HTML5 !Cohere EJS
Express Framework Document Storage CSS3 + EJS Templates API Integration Server-Side Rendering

🧩 AI System: Two-Part Architecture

This project is structured in two phases, designed for both cost-effective deployment and technical showcase:

πŸ”— Phase 1: Live & Deployable Version Live

graph LR
    A[User Input] --> B[Express Server]
    B --> C[MongoDB]
    B --> D[AI API]
    D --> E[Cohere]
    E --> F[Insights Generated]
    F --> G[User Dashboard]
Loading

This version is built to be lightweight, scalable, and affordable for deployment. Instead of hosting a custom model β€” which would require expensive compute resources β€” this version leverages external AI APIs (like Cohere) to process user expense data and generate personalized insights.

πŸ’Ό Why AI API?

βœ… Minimal hosting cost (ideal for small projects)
βœ… Faster deployment
βœ… High-quality NLP insights out of the box
βœ… Scalable architecture
βœ… Production-ready

// Example AI Integration
const getAIAdvice = async u => {
  try {
    const p = await generatePrompt(u);
    const r = p && await cohere.generate(
    { 
      model: 'command-r-plus', 
      prompt: p, maxTokens: 300, 
      temperature: 0.9 
    });
    return r?
    .generations?
    .[0]?.text?
    .trim() || 'Unable to generate advice.';
  } catch {
    return 
    'Unable to generate financial advice. Try again later.';
  }
};

βœ… Status: This is the version intended for public use, hosted and live.


🧠 Phase 2: Local AI Model Showcase

graph LR
    A[Training Data] --> B[Custom Model]
    B --> C[Financial Logic]
    C --> D[Budget Analysis]
    D --> E[Personalized Advice]
    E --> F[Local Processing]
Loading

The second part of this project includes a custom-built AI model designed to simulate financial coaching and budget guidance. This version is not deployed online but is included in the repository to demonstrate advanced technical skills.

πŸ’Ό Why Include a Local AI Model?

Purpose Benefit
🎯 Skill Showcase Demonstrate capability to design, train, and integrate AI models
πŸ‘₯ Recruiter Review Allow collaborators to review the model logic and architecture
πŸš€ Production Simulation Show how a self-hosted intelligent system would work at scale
πŸ”’ Data Privacy Complete local processing for sensitive financial data

🚫 Important Note: This version is NOT intended for deployment, as self-hosted models can be resource-intensive without a paid server or GPU support.

πŸ“ Location: Model training, logic, and examples are located in /ai-model/ directory.


🎯 Target Audience

πŸ§‘β€πŸŽ“ Students

Track Financial Growth

  • Monthly allowance management
  • Education expense tracking
  • Lifestyle spending analysis
  • Budget learning tools

πŸ‘¨β€πŸ’Ό Professionals

Career-Focused Finance

  • Salary optimization
  • Investment tracking
  • Rent & utilities monitoring
  • Retirement planning

πŸ‘΅ Retirees

Fixed Income Management

  • Pension planning
  • Medical cost tracking
  • Fixed budget optimization
  • Healthcare savings

πŸ‘€ Guest Users

Try Before Commit

  • Demo mode access
  • Feature exploration
  • No signup required
  • Sample data testing

πŸš€ Roadmap & Future Features

πŸ—ΊοΈ Click to view our development roadmap

πŸ“Š Phase 3: Visual Dashboards & Analytics

  • Interactive Charts & Graphs
    • Spending trend visualization
    • Income vs expense comparisons
    • Category-wise breakdowns
    • Monthly/yearly financial health reports
  • Advanced Analytics
    • Predictive spending models
    • Seasonal expense patterns
    • Financial goal probability tracking

🎀 Phase 4: Voice & Conversational Interface

  • Voice-Based Expense Logging
    • "Hey RukiAI, I spent $15 on lunch"
    • Natural language processing
    • Multi-language support
  • AI Chatbot Integration
    • Real-time financial Q&A
    • Budget consultation chat
    • Expense categorization assistance

πŸ“± Phase 5: Mobile-First Experience

  • Progressive Web App (PWA)
    • Offline functionality
    • Push notifications
    • Native app experience
  • Mobile Features
    • Camera receipt scanning
    • Location-based expense tracking
    • Quick expense shortcuts

☁️ Phase 6: Advanced AI Deployment

  • Google Cloud Platform Integration
    • Custom model deployment
    • Scalable AI infrastructure
    • Enhanced data processing
  • Machine Learning Pipeline
    • Continuous model improvement
    • A/B testing for AI suggestions
    • Personalized financial coaching

πŸ› οΈ Installation & Setup

πŸš€ Quick Start Guide

Prerequisites

  • Node.js (v18 or higher)
  • MongoDB (local or cloud instance)
  • Cohere API key (for AI features)

Installation Steps

  1. Clone the repository

    git clone https://github.com/yourusername/rukiai.git
    cd rukiai
  2. Install dependencies

    npm install
  3. Environment setup

    cp .env.example .env
    # Edit .env with your configuration
  4. Start the application

    npm run dev
  5. Access the app Open http://localhost:3000 in your browser


πŸ“Έ Screenshots & Demo

Dashboard Expense Tracking AI Insights
Dashboard Tracking AI

πŸŽ₯ Watch Demo Video | 🌐 Live Demo | πŸ“± Mobile View


🀝 Contributing

We welcome contributions! Here's how you can help:

  • πŸ› Report Bugs: Open an issue with bug details
  • πŸ’‘ Suggest Features: Share your ideas for new features
  • πŸ”§ Submit PRs: Help us improve the codebase
  • πŸ“– Improve Docs: Help us make documentation better

See our Contributing Guidelines for more details.


πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


πŸ‘¨β€πŸ’» About the Developer

Built with ❀️ for better financial health

GitHub LinkedIn Portfolio


⭐ If you found RukiAI helpful, please give it a star!

Star History Chart