Ledgee is a 100% client-side web app. No server needed!
# 1. Build static files
npm run build:static
# 2. Deploy the 'out' folder anywhere!After building, you'll have a out/ folder (~1.9MB) containing:
index.html- Your complete app_next/static/- JavaScript & CSSsql-wasm.wasm- SQLite databasemanifest.json- PWA configuration
npm install -g vercel
vercel --prod- Build:
npm run build:static - Go to netlify.com
- Drag the
out/folder to their site - Done!
# Upload 'out' folder contents via FTP to:
# public_html/ or www/ or htdocs/Works with: GitHub Pages, AWS S3, Google Cloud, shared hosting, VPS, etc.
npm run build:static
npx serve out -p 8080
# Open http://localhost:8080- Chrome Canary with LanguageModel flags enabled
- HTTPS enabled (required for some features)
- Files serve from root domain or subdirectory
- Test offline functionality
Build fails?
npm run clean
npm install
npm run build:staticLanguageModel not working?
- Use Chrome Canary
- Enable:
chrome://flags/#prompt-api-for-gemini-nano - Update model:
chrome://components/ - Restart browser
Files missing?
- Check
out/sql-wasm.wasmexists - Verify
out/index.htmlis ~10KB - Ensure
out/_next/static/has CSS/JS files
✅ Invoice extraction with LanguageModel
✅ SQLite database storage
✅ All UI functionality
✅ Data persistence
✅ PWA installation
Your Ledgee app is now a static website that works completely offline. No Node.js server required in production!
File size: 1.9MB total
Load time: < 3 seconds on 3G
Works offline: 100% after first load