tradie-invoices

πŸ“‹ Tradie Invoices

Live Demo

A professional Invoice & PDF Generator PWA for sole traders and small businesses. Built for earthmoving contractors, it combines GPS-based worksite detection, time tracking, and invoice generation in one sleek interface.

✨ Features

πŸ› οΈ Tech Stack

πŸš€ Getting Started

For Users

  1. Open the app: https://tradie.banksiaspringsfarm.com/
  2. Sign up or login with your email
  3. Set up your clients and hourly rates in settings
  4. Start tracking work:
    • Click β€œCheck In” at your worksite (GPS optional)
    • Device will automatically detect geofence entry
    • Click β€œCheck Out” when done
  5. Generate invoices:
    • Review your timesheet
    • Adjust rates if needed
    • Generate and download PDF

For Development

git clone https://github.com/banksiasprings/tradie-invoices.git
cd tradie-invoices
# Serve the root directory with any static file server
python3 -m http.server 8000
# Open http://localhost:8000 in your browser

πŸ”­ Remote Phone Monitoring (dev tooling)

When the app is running on the real phone (e.g. in the 12V cradle on the drive to a worksite), you can watch it live from the Mac β€” screen mirror and every log line the app prints β€” over an encrypted Tailscale tunnel that works on WiFi or LTE.

./scripts/monitor-phone.sh        # opens scrcpy mirror + streams the app's logcat

First-time phone setup (install Tailscale, sign in, grab the phone’s 100.x.y.z IP) is a ~3-minute, phone-followable guide: scripts/setup-tailscale-debug.md. Once set up, override the target inline without editing the script:

PHONE_IP=100.x.y.z PHONE_PORT=42385 ./scripts/monitor-phone.sh

Keep the phone on the 12V charger while monitoring β€” mirror + Tailscale + logcat drain the battery noticeably. If the Mac is ever lost/stolen, remove it from the Tailscale admin console to instantly cut its access.

πŸ“Έ Screenshots

πŸ“„ License

MIT – See LICENSE file for details


Found a bug? Open an issue. Want to contribute? PRs welcome!