A privacy-first, offline-capable Progressive Web App (PWA) for tracking your net worth and financial assets. Built with vanilla JavaScript and designed for complete privacy - all data stays on your device.
- Investment Assets: Stocks, Mutual Funds, Bonds, ESOP, Private Equity
- Precious Metals: Gold, Silver with real-time rate calculations
- Real Estate: Home, Land properties
- Savings: Bank accounts, Emergency funds, VPF/PPF
- Personal Assets: Cars, Bikes, Electronics, Luxury items with depreciation tracking
- Real-time Net Worth: Instant calculation of total assets
- Growth Projections: 1-year forecast based on historical returns
- Asset Breakdown: Visual representation of asset distribution
- Dynamic Growth Rates: Category-specific growth assumptions
- PIN Protection: 4-digit PIN authentication
- Offline-First: All data stored locally, no cloud dependency
- No Analytics: Zero tracking, complete privacy
- Encrypted Storage: Local data encryption using CryptoJS
- Mobile-Optimized: Responsive design for all devices
- Installable: Add to home screen functionality
- Offline Support: Works without internet connection
- Fast Loading: Service worker caching for instant access
Visit: NetWorth App (if deployed)
# Clone the repository
git clone https://github.com/thisisprabha/networth.git
cd networth
# Serve locally (Python)
python -m http.server 8000
# Or use Node.js
npx serve .
# Or use any local web server
# Then open http://localhost:8000- Set PIN: Create a 4-digit PIN for app security
- Add Assets: Click the "+" button to add your first asset
- Choose Category: Select from 13+ asset categories
- Enter Details: Use sliders/inputs to set values
- Track Growth: Watch your net worth and projections update
The app supports these asset categories:
| Category | Examples | Growth Rate |
|---|---|---|
| π’ Stocks | Individual stocks, equity investments | 17.5% |
| π Mutual Funds | SIP, lump sum investments | 11.5% |
| π₯ Gold | Jewelry, coins, bars | 9.5% |
| π₯ Silver | Coins, bars, jewelry | 9.5% |
| π Real Estate | Home, land properties | 9% |
| πΌ ESOP | Employee stock options | 15% |
| π Bonds | Government, corporate bonds | 8% |
| π VPF/PPF | Provident fund accounts | 8.5% |
| π° Savings | Bank accounts | 4% |
| π‘οΈ Emergency Fund | Emergency savings | 4% |
| π± Personal Assets | Cars, electronics, etc. | -7.5% |
- Vanilla JavaScript: No frameworks, lightweight and fast
- Tailwind CSS: Utility-first CSS framework
- Feather Icons: Beautiful, lightweight icons
- Service Worker: Offline functionality and caching
- LocalStorage: Browser-based data persistence
- CryptoJS: Client-side encryption
- IndexedDB: For large data storage (future enhancement)
networth/
βββ index.html # Main application UI
βββ manifest.json # PWA configuration
βββ service-worker.js # Offline functionality
βββ styles.css # Custom styles
βββ js/
β βββ app.js # Main application logic
β βββ storage.js # Data persistence layer
β βββ calculations.js # Net worth calculations
β βββ assetCategories.js # Asset type definitions
β βββ ui.js # UI interactions
β βββ components/
β βββ dashboard.js # Main dashboard component
β βββ assetForm.js # Asset input form
β βββ projection.js # Growth projections
β βββ slider.js # Custom slider components
βββ assets/
βββ icon-192x192.png # PWA icons
βββ icon-512x512.png
βββ logo.svg
- Modern web browser with ES6+ support
- Local web server (for CORS and service worker)
No build process required! This is a vanilla JavaScript application.
Handles all data persistence with encryption:
// Save encrypted asset data
storageService.saveAssets(assets);
// Retrieve and decrypt data
const assets = storageService.getAssets();Manages all financial calculations:
// Calculate total net worth
const netWorth = calculationsService.calculateNetWorth();
// Project future value
const projection = calculationsService.projectNetWorth(12);Main UI component managing the overview screen.
- Add category definition to
assetCategories.js - Update calculation logic in
calculations.js - Test with various input scenarios
- Data Export/Import: Backup and restore functionality
- Multiple Currencies: Support for international users
- Chart Visualizations: Interactive graphs and charts
- Goal Tracking: Set and track financial goals
- Debt Tracking: Add liability management
- Transaction History: Track asset value changes over time
- Portfolio Rebalancing: Asset allocation suggestions
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is open source and available under the MIT License.
If you have any questions or need help:
- Open an issue
- Reach out to @thisisprabha
If this project helped you track your wealth, please consider giving it a star! β
Built with β€οΈ for financial privacy and independence
Note: This application stores all data locally on your device. Please ensure you backup your data regularly. The growth rate assumptions are based on historical averages and actual results may vary.