wglabz/wealthfam

By wglabz

Updated about 1 month ago

Image
Integration & delivery
Content management system
Web analytics
0

6.6K

wglabz/wealthfam repository overview

WealthFam Branding

The Ultimate Family Finance Operating System

Demo Status   Version

🚀 Try Live Demo  •  📂 Documentation  •  ☁️ Deploy Now


Demo Credentials: [email protected]demo123


Docker Hub Docker Pulls License Download Mobile APK Deploy to Koyeb Deploy to Railway

Vue.js FastAPI Flutter DuckDB

🚀 Overview

WealthFam provides a holistic view of your financial health. From daily expense tracking to complex investment management and AI-powered intelligence, WealthFam is built to help families refine their finances and achieve long-term growth.

✨ Key Features

🏦 Holistic Dashboard
  • Real-time Balance Sheet: Instantly view your Net Worth, Liquidity, and Debt.
  • Spending Velocity: Track your monthly spend with live sparklines and category-wise breakdowns.
  • Budget Pulse: Monitor your budget health across different categories at a glance.
📈 Advanced Mutual Funds Tracking
  • Unified Portfolio: Manage multiple folios and family members in one place.
  • XIRR & Performance: Automated performance tracking with XIRR calculations and historical growth timelines.
  • Market Intelligence: Live monitoring of major indices (NIFTY 50, SENSEX) and AMC-specific insights.
  • CAS Import: Seamlessly ingest data from CAMS/KFintech via PDF upload or automated email scanning.
🤖 AI Financial Intelligence
  • Deep Insights: Generate personalized spending vectors and optimization strategies using AI.
  • Predictive Analytics: Forecast your future balance based on historical velocity and upcoming subscriptions.
  • Smart Categorization: Automated classification of transactions for effortless organization.
💳 Credit Intelligence
  • Utilization Tracking: Keep an eye on your credit card limits and utilization ratios.
  • Billing Cycles: Stay ahead with notifications for upcoming bills and due dates.
  • Spending Patterns: Specialized analytics for weekend vs. weekday spending and top merchant analysis.
🗓️ Subscription Management
  • Recurring Transactions: Track all your active subscriptions and recurring bills.
  • Forecast Integration: Subscriptions are automatically factored into your liquidity projections.

🛠️ Tech Stack

Frontend
Mobile App (Companion)
  • Framework: Flutter (Android)
  • State Management: Provider
  • Features: Real-time SMS ingestion, offline retry queue, and manual SMS sync management.
  • Biometrics: Integration ready for secure access.
Backend

☁️ Cloud Deployment (One-Click)

Deploy WealthFam to your preferred cloud platform with just one click:

Deploy to Koyeb Deploy on Railway Deploy to Render

📚 Documentation & Deployment

Try WealthFam without installing: https://wealthfam.onrender.com

Demo credentials: [email protected] / demo123 (or register your own!)

⚠️ Note: This runs on a free instance. It may spin down after inactivity (takes ~50s to wake up). Data resets frequently.

📖 Deployment: See /deployment for all configuration files and platform-specific guides

📚 Documentation: Complete guides in /docs - Deployment Guide | Quick Deploy | Checklist

🐳 Quick Start with Docker

The easiest way to run WealthFam is using our pre-built Docker image. You don't need to build anything yourself!

  1. Create a directory for your data and configuration:

    mkdir wealthfam && cd wealthfam
    
  2. Create a docker-compose.yml file:

    version: '3.8'
    services:
      wealthfam:
        image: wglabz/wealthfam:latest
        container_name: wealthfam
        restart: unless-stopped
        ports:
          - "80:80"
        volumes:
          - ./data:/data
        environment:
          - DATABASE_URL=duckdb:////data/family_finance_v3.duckdb
    
  3. Run the application:

    docker-compose up -d
    

    Open http://localhost in your browser.

🏁 Getting Started (Development)

Prerequisites
  • Python 3.10+
  • Node.js 18+
  • npm or yarn
Installation
  1. Clone the repository:

    git clone https://github.com/your-org/wealthfam.git
    cd wealthfam
    
  2. Setup Backend:

    cd backend
    python -m venv venv
    source venv/bin/activate # or venv\Scripts\activate on Windows
    pip install -r requirements.txt
    uvicorn app.main:app --reload
    
  3. Setup Frontend:

    cd ../frontend
    npm install
    npm run dev
    

🔐 Security & Privacy

WealthFam is designed with data privacy at its core. By leveraging DuckDB, your financial data remains in a local, high-performance database, ensuring you have full control over your intelligence.


WealthFam: Refine Your Finances

🔄 Data Ingestion Flow

WealthFam features a sophisticated, multi-channel ingestion pipeline designed to minimize manual entry while maintaining 100% data accuracy through smart deduplication and noise reduction.

How it Works:
  1. Multi-Channel Entry: Data enters via the Android Mobile App (real-time SMS), Automated Email Scanning (IMAP sync for txn alerts and CAS statements), or Manual Uploads (Bank CSVs and Mutual Fund PDFs).
  2. Safety & Noise Reduction:
    • MD5 Deduplication: Every incoming message generates a unique content hash. The system checks this against both confirmed and pending transactions to prevent duplicates even if emails are re-scanned.
    • Ignore Patterns: A global filter that silently drops known "noise" (like login alerts or non-transactional bank updates) based on merchant names or message subjects.
  3. Tiered Parsing Intelligence: Validated messages are processed through a three-tier engine:
    • Static Parsers: Hardcoded high-performance logic for major banks.
    • Pattern Parser (Learned): User-trained regex patterns that evolve as you use the tool.
    • AI Fallback: Large Language Model (Gemini) parsing for complex or unknown formats.
  4. The Human-in-the-loop: Messages that fail all parsers are moved to the Training Area. Labels generate new patterns, while "Discard & Ignore" actions update the global noise filters.
  5. Automatic Categorization: Validated transactions are automatically categorized or sent to Triage for final review.

The following diagram illustrates this enhanced end-to-end lifecycle:

graph TD
    %% Source Layer
    subgraph "1. Ingestion Channels"
        direction TB
        A["<b>Mobile App</b><br/>(SMS Ingestion)"]
        B["<b>Email Tracker</b><br/>(IMAP Sync)"]
        C["<b>Web Dashboard</b><br/>(Manual Upload)"]
    end

    %% Safety Layer
    subgraph "2. Safety & Noise Reduction"
       direction TB
       HASH[MD5 Content Hash]
       DEDUP{Deduplication<br/>Check}
       IGN{Ignore Patterns<br/>Filter}
       
       A & B & C --> HASH
       HASH --> DEDUP
       DEDUP -->|Unique| IGN
       DEDUP -->|Duplicate| SKP[Skip / Log]
    end

    %% Intelligence Layer
    subgraph "3. Intelligence Engine"
        direction LR
        DET{Format<br/>Detector}
        
        IGN -->|Valid| DET

        subgraph "Parsing Logic"
            P1[Static Bank<br/>Parsers]
            P2[Learned<br/>Patterns]
            P3[AI / LLM<br/>Parser]
        end

        DET -->|Bank / UPI / CC| P1 & P2 & P3
        DET -->|CAS PDF| MF[MF CAS Parser]
    end

    %% Storage & Persistence Layer
    subgraph "4. Validation & Storage"
        P1 & P2 & P3 --> TXN(Parsed Transaction)
        MF --> PORT(Portfolio Engine)
        
        TXN --> RULE{Rule Engine}
        
        RULE -->|High Confidence| LEDG[<b>Confirmed Ledger</b>]
        RULE -->|Low Confidence| TRIA[<b>Review Triage</b>]
        
        PORT -->|XIRR / Performance| HOLD[<b>MF Holdings</b>]
    end

    %% Learning Loop
    P1 & P2 & P3 -.->|Failure| UNP[<b>Training Area</b>]
    UNP -.->|Manual Labeling| P2
    UNP -.->|Discard & Ignore| IGN
    TRIA -.->|Discard & Ignore| IGN

    %% Manual Review Path
    TRIA -->|User Approval| LEDG

    %% Styling
    style LEDG fill:#1b5e20,color:#fff,stroke:#2e7d32,stroke-width:2px
    style TRIA fill:#ff8f00,color:#fff,stroke:#ef6c00,stroke-width:2px
    style UNP fill:#c62828,color:#fff,stroke:#b71c1c,stroke-width:2px
    style HOLD fill:#1565c0,color:#fff,stroke:#0d47a1,stroke-width:2px
    style DEDUP fill:#eceff1,stroke:#455a64
    style IGN fill:#eceff1,stroke:#455a64
    style SKP fill:#f5f5f5,stroke:#9e9e9e,stroke-dasharray: 5 5

Tag summary

Content type

Image

Digest

sha256:e0fba445e

Size

499 MB

Last updated

about 1 month ago

docker pull wglabz/wealthfam