|6.355Mins Read

TailorFlow — A Privacy-First, Offline-Capable Digital Ledger for Tailors

Authors

The Spark: The Register Under the Counter

Every tailoring shop has one — a thick, worn-out register under the counter. Customer names, phone numbers, measurements, delivery dates, advance payments, fabric notes. Years of a business packed between its covers. Flip a few pages and you can see the history of a loyal customer. Lose it, and years of relationships go with it.

Most tailors have tried “going digital” at some point — a notes app, an Excel sheet, a generic invoicing tool. None of them fit. Measurement fields don’t exist. Fabric photos live in a separate gallery. Delivery dates drift into a different calendar. The register, flawed as it is, still holds everything in one place.

Then there’s the internet problem. Many shops sit in areas with patchy connectivity, and the last thing a tailor wants is a tool that stops working when the Wi-Fi does. And cloud-first tools raise another question that rarely gets asked out loud: whose data is this, really?

That’s where TailorFlow comes in.

The Idea: A Digital Register That Stays Yours

What if the physical register became digital — without becoming someone else’s?

What if a tailor could:

  • Store customers, measurements, orders, payments, and fabric photos in one place.
  • Search across years of work in a second.
  • Keep working when the internet is gone.
  • Own 100% of the data — stored on their own device, synced to their own Google Drive.
  • Install it on a phone like any other app.
  • Print invoices, track advances and balances, and export reports when they need them.

Tailors would get the familiarity of a register, the speed of software, and the privacy of owning their own data. No subscription to a central server. No shop data sitting in someone else’s database.

This is the core vision of TailorFlow:

A digital ledger built for how tailors actually work — offline-first, measurement-focused, and owned entirely by the shop.

What Problem Are We Solving?

  • Physical registers that get lost, damaged, or left behind.
  • Generic invoicing apps that have no concept of measurements, garments, or fabrics.
  • Cloud-first tools that stop working the moment the internet drops.
  • Customer data sitting on a vendor’s servers, tied to a subscription.
  • Fabric photos, measurements, and order details scattered across notes, galleries, and WhatsApp.
  • No easy way to see top customers, monthly revenue, or garment-level trends.

How TailorFlow Solves It

Customer Management:
Store customer profiles with contact info and default measurements. Find any customer in seconds — by name, phone, or order.

Order Tracking:
Create orders with invoice numbers, delivery dates, and a clear status lifecycle: pending → in-progress → ready → delivered. Supports both new stitching and alteration orders.

Measurements Per Garment:
Dedicated measurement capture for Shirts, Pants, Kurtas, Lehengas, Blouses, and more. Each garment has its own fields — the way tailors actually measure.

Fabric Photography:
Camera integration to capture fabrics and designs right from the device. No more juggling the gallery app.

Payments, Advances & Balances:
Record payments per order. Track advances received and balances due without a separate ledger.

Printable Invoices:
Generate print-friendly invoices on demand. Hand over a proper receipt without extra tools.

3D Mannequin:
A Three.js-powered body model to visualize measurements — useful for training, clarity, and customer conversations.

Reports & Analytics:
Revenue by month, garment breakdown, top customers, CSV export. See your business, not just your orders.

Shop Settings:
Configurable shop details, garment types, and pricing templates so the app matches how your shop actually runs.

Offline-First Architecture

All data lives in SQLite WASM running entirely in the browser, persisted via OPFS. There’s no central server database. Google Drive is used only as your personal backup and sync layer — the app auto-syncs your database and fabric photos to your Drive under My Drive/tailor.devity.in/.

  • Works fully offline after first load.
  • Installable as a PWA — add to home screen and use it like a native app.
  • Service Worker for background sync when connectivity returns.
  • Data stays on your device; Drive stays under your account; no third-party database in the middle.

What Makes It Different

1. Built For Tailors, Not Retrofitted
Measurements, garments, fabrics, and alterations are first-class concepts — not hacks on top of a generic invoicing tool.

2. Offline-First, Not Offline-Afterthought
The database lives on the device. Connectivity is optional. The shop keeps running when the internet doesn’t.

3. You Own Your Data
SQLite on your device, backups in your Drive. No subscription-gated database, no vendor lock-in, nothing you can’t walk away with.

4. Measurement-Focused
Per-garment measurement fields and a 3D mannequin reflect how tailors think — not how spreadsheets think.

5. Installable, Fast, Simple
PWA install, service worker, SQLite WASM — a modern stack that shows up as a snappy app on a phone, tablet, or shop counter laptop.

Tech Stack

LayerTechnology
FrameworkNext.js 16 (App Router, TypeScript)
UIReact 19, Tailwind CSS 4
DatabaseSQLite WASM (client-side, OPFS)
AuthNextAuth.js with Google OAuth 2.0
3DThree.js, @react-three/fiber
SyncGoogle Drive API v3
HostingFirebase App Hosting

Key Workflows

New Order

  1. Pick an existing customer or create a new one.
  2. Select garment type (Shirt, Pant, Kurta, Lehenga, Blouse, …).
  3. Capture measurements — either from the customer’s defaults or fresh for this order.
  4. Snap fabric and design photos via the camera.
  5. Record advance payment and set delivery date.
  6. Order moves through pending → in-progress → ready → delivered.

Alterations

Alteration-type orders sit alongside new stitching orders in the same ledger, with their own flow — so a shop that does both doesn’t need two systems.

Reports

See revenue by month, garment-wise breakdown, and top customers at a glance. Export to CSV when you need to share with an accountant or keep an external backup.

Your Data, Your Control

  • Local-first — the database lives in your browser’s OPFS, on your device.
  • Your Drive, your backup — sync targets My Drive/tailor.devity.in/ on your own Google account.
  • Scope-limited access — uses Google’s drive.file scope, so the app can only see files it created.
  • No central shop database — there’s no server holding every shop’s customer list.
  • Portable — your data is a SQLite file you can open anywhere.

Perfect For

  • Independent tailors and boutique stitching shops.
  • Small tailoring businesses with multiple staff but no dedicated IT.
  • Shops in areas with patchy internet.
  • Owners who want to modernize the register without handing their data to a SaaS vendor.
  • Businesses doing both new stitching and alterations.

Great For

  • Replacing physical order registers.
  • Tracking measurements and fabric photos per order.
  • Managing advances, balances, and delivery dates.
  • Printing invoices and handing over professional receipts.
  • Understanding monthly revenue and top customers.
  • Keeping years of customer history searchable.

The Future: The Register, Reimagined

With TailorFlow, the register under the counter becomes a fast, searchable, measurement-aware app — on your phone, on your counter laptop, on your tablet — without giving up ownership of your data or your ability to work offline.

This is more than a digital register.

It’s a quiet upgrade to how tailoring shops run — privacy-first, offline-capable, and entirely yours.

Open TailorFlow — works on any modern browser, installable as an app.