Skip to content

About

GaragePilot: digital job cards, WhatsApp estimate approvals and service reminders for car and bike garages and car washes.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

GaragePilot

Live (planned): https://garagepilot.craftlayer.store · Status: MVP, demo data, simulated messaging and payments.

Tagline: Digital job cards, WhatsApp approvals, and service reminders that bring every car back.

GaragePilot runs the service desk of independent car and bike garages, car wash and detailing studios in India. Every vehicle gets a digital job card with photo and video inspection. The customer scans a QR on the job card (or taps a WhatsApp link) to see live repair status and approve estimates. GST invoices, parts stock and mechanic tasks sit in the same app. Service-due reminders based on kilometres and date bring the vehicle back, and repeat visits are where the money is.

Who it is for (ICP)

Segment Size Why they buy
Independent multi-brand car garage 3–15 mechanics, 4–12 bays, 100–400 job cards/month Estimate disputes, lost repeat customers, messy GST billing
Two-wheeler service centre (independent or small dealer sub-centre) 2–8 mechanics, 300–1,000 jobs/month Volume, reminders, parts stock
Car wash and detailing studio 3–12 staff, 200–800 washes/month Subscriptions, ceramic/PPF job tracking, repeat bookings

Tier 1 suburbs and Tier 2 cities first (Pune, Ahmedabad, Jaipur, Lucknow, Chandigarh, Coimbatore, Kochi).

Top features (MVP)

  1. Digital job card with photo/video inspection — capture odometer, fuel, dents and scratches at check-in. Moves: retention (trust) and revenue (fewer disputes).
  2. QR job card + live status — customer scans or taps the link to see "Inspection, Waiting approval, In repair, Washing, Ready". Moves: retention.
  3. Estimate approval on WhatsApp — line items with photos; customer approves or rejects each item. Moves: revenue (ARPU per job).
  4. GST invoices with UPI payment link — parts at 18% GST, labour as a service line. Moves: revenue.
  5. Service-due reminders by km and date — predicts next due date from average daily km; WhatsApp reminder with booking link. Moves: retention (repeat revenue).
  6. Parts inventory — stock, reorder level, purchase entries, part-wise margin. Moves: revenue.
  7. Mechanic task tracking — jobs per mechanic, time on job, incentive sheet. Moves: activation.

P1: car wash subscriptions, insurance claim tracker, online booking, loyalty.

Status

MVP with a seeded fictional demo garage ("Sahyadri Motor Works (Demo)", Pune). WhatsApp/SMS go to a simulated outbox, payments are UPI intent links plus staff-confirmed cash/UPI entries. No real API keys or third-party calls.

How to run

Requirements: Node 20.9+ and pnpm 11.

pnpm install
cp .env.example .env.local      # optional; defaults work for local dev
pnpm dev                        # next dev --webpack on http://localhost:3000
# or a chosen port: pnpm dev -p 3141  (set APP_URL=http://localhost:3141 so QR links match)

The first request creates a PGlite database in ./.data/pglite, applies the migrations and seeds the demo garage. Set DATABASE_URL to use Postgres instead.

Command What it does
pnpm db:migrate Apply the committed SQL migrations to DATABASE_URL
pnpm db:seed Seed the demo garage if the database is empty (--reset wipes and reseeds); safe to run twice
pnpm db:generate Generate a SQL migration after changing src/server/db/schema.ts
pnpm typecheck && pnpm lint && pnpm test && pnpm build Quality gates (CI runs the same)
pnpm exec astryx doctor --built . Astryx design-system check

Deploy (Cloudflare Workers)

Built with OpenNext for Cloudflare and served at https://garagepilot.craftlayer.store. Config: wrangler.jsonc, open-next.config.ts.

Command What it does
pnpm cf:build Build the Worker into .open-next/
pnpm cf:preview Build and run it locally in workerd
pnpm cf:deploy Build and deploy
pnpm cf-typegen Regenerate cloudflare-env.d.ts after editing wrangler.jsonc

Bindings

Binding Type Use
ASSETS Static assets .open-next/assets
WORKER_SELF_REFERENCE Service OpenNext self-reference
HYPERDRIVE Hyperdrive Postgres (Neon). Replace REPLACE_WITH_HYPERDRIVE_ID with the real id
UPLOADS R2 bucket craftlayer-uploads Inspection photos under the garagepilot/ key prefix. Private: served only through the auth-checked /api/media/[id]

Vars: APP_URL=https://garagepilot.craftlayer.store. Optional: DEMO_MODE=off to hide on-screen OTPs and the demo reset (then SESSION_SECRET is mandatory).

Secrets (wrangler secret put): SESSION_SECRET (32+ random characters).

Database: on Workers the app connects with pg over HYPERDRIVE, one pool per request, and does not run migrations or seed itself. Before the first deploy run, against the Neon URL:

DATABASE_URL=postgres://... pnpm db:migrate
DATABASE_URL=postgres://... pnpm db:seed

PGlite is dev/test only: next.config.ts swaps src/server/db/pglite.ts for a stub in the Workers build, so its WASM is not in the Worker bundle. Local dev keeps PGlite and disk uploads in ./.data/.

Demo walkthrough

Step URL What to do
1 / Landing page. "Try the demo" goes to sign-in.
2 /login Pick Imran Shaikh (advisor). The OTP is shown on screen, labelled demo.
3 /app Workshop board: jobs by stage and the bay board (live, polls every few seconds).
4 /app/check-in Check a vehicle in: reg no., odometer, fuel, complaints, checklist, photos, consent (two unticked boxes).
5 /app/jobs/<id> Add parts from stock and labour, assign bay and mechanic, add tasks, then "Send estimate on WhatsApp".
6 /app/outbox The simulated WhatsApp message with the status link (and a wa.me link to send by hand).
7 /j/<token> Customer page (also the job card QR): live status, approve or decline each line, consent opt-out, UPI pay.
8 /app/jobs/<id> Move to In repair, Ready; create the GST invoice (stock is deducted), record cash/UPI, deliver. Next service due is set.
9 /app/jobs/<id>/print, /app/jobs/<id>/invoice Printable job card with QR and printable GST invoice (HSN/SAC, CGST/SGST, UPI QR).
10 /app/reminders Due-for-service list (date or km); "Send due reminders now"; booking requests.
11 /b/demo-sahyadri-motors Public counter-QR booking page (captures phone with consent).
12 /login as Sandeep Kulkarni (owner) then /owner Revenue, average repair order, parts margin, collections, jobs by stage, due list, follow-up results, send an offer.
13 /owner/settings, /owner/qr Garage details, GSTIN, UPI ID, service interval, bays; printable QR sheet.

Mechanics (Ravi, Arjun, Mahesh) see only their own jobs and tasks.

Features built vs planned

Feature (P0 from the product plan) State
Vehicle and customer records with history Built (customer CRM keyed by phone, vehicles, odometer history). Excel/Vyapar import: planned
Digital job card: complaints, odometer, fuel, checklist, photos Built (photos stored on local disk in dev). Video: planned
QR job card and live status link Built (QR on printed job card, status page polls)
Estimate with line-item approval Built (public page; message to simulated WhatsApp outbox). Photos per line: planned
GST invoice, UPI link, cash entry Built (HSN for parts, SAC 998714 for labour, CGST/SGST, round-off, printable). Credit (udhaar) ledger: partial (partial payments and balance tracked)
Service-due engine and reminders with booking link Built (date or km, avg daily km, 15-day/3-day/overdue steps, booking page)
Parts inventory: stock, purchase entry, reorder alert Built (stock deducted on invoice, part-wise margin)
Mechanic assignment and status updates Built (bay board, tasks, mechanic-limited moves)
Owner dashboard Built (jobs by stage, revenue, ARO, parts margin, collections, due list, follow-up results)
P1: wash subscriptions, insurance tracker, review funnel, OCR, languages Planned

Security notes: phone + OTP sign-in with an httpOnly HMAC-signed session cookie; roles checked on the server for every staff action; every query filters by org_id; public endpoints are rate-limited; job links use 128-bit random tokens; totals are computed on the server; consent is recorded per purpose with notice version, time and channel.

Pricing (summary)

Plan INR / month (billed yearly) USD Fit
Bay ₹999 (₹9,999/yr) $12 Single garage, up to 150 job cards/month
Workshop ₹1,999 (₹19,999/yr) $24 Up to 500 job cards/month, inventory, subscriptions, insurance tracker
Pro ₹3,999 (₹39,999/yr) $48 Multi-location, unlimited job cards, Tally export

Anchors: RAMP Garage Management lists ₹9,870/year; GaragePlug is quote-based with a reported floor around $1,188/year; Tekmetric Start is $179/month in the US (Codingclave, CostBench, Tekmetric, accessed 2026-11-24). Details in docs/05-pricing-and-revenue.md.

Documents

Doc What it covers
AGENTS.md Brief for AI agents: context, glossary, decisions, open questions, code rules
01 Product plan ICP, personas, journeys, features P0/P1/P2, data model, metrics
02 Problems and benefits Problem, solution and benefit per stakeholder
03 Pros, cons, risks Risks, mitigations, kill criteria
04 Market research Market size, competitors, regulation, sources
05 Pricing and revenue Tiers, add-ons, unit economics, 12-month scenarios
06 Go-to-market and onboarding First 10 customers, sales script, onboarding checklist

Built on the CraftLayer shared core: core/README.md.

Licence

Source-available under the PolyForm Noncommercial License 1.0.0. Personal, educational, research and non-profit use is free. Any commercial use requires a paid licence or written permission from CraftLayer Studio. See COMMERCIAL-LICENSE.md.

Contact: garagepilot@craftlayer.store (product), hello@craftlayer.store (general), licensing@craftlayer.store (commercial licences). Company site: https://craftlayer.store.

Part of the CraftLayer Products portfolio.

About

GaragePilot: digital job cards, WhatsApp estimate approvals and service reminders for car and bike garages and car washes.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages