ThriftPulse
The intelligent operating system for thrift sneaker stores: automated browser-compressed order intake (~300KB), dual-write Google Sheets sync, 80mm thermal waybills, and Roman Urdu voice assistant.



The Problem Context
Pre-loved sneaker & thrift fashion businesses operate through chaotic manual workflows across WhatsApp and Instagram. Store owners struggle with manual address transcription, phone number copying while on the move, searching through hundreds of unindexed shoe photos, and lack automated thermal waybills for dispatch riders.
- ›Phone camera photos are often 8MB–15MB each, saturating mobile data and overwhelming backend upload bandwidth if not compressed client-side.
- ›Voice notes sent by local store owners and riders mix colloquial Pakistani Urdu, Roman Urdu slang ('Ali k joote ki details do', '0312... kiska order hai'), and English product names, breaking standard single-language speech models.
- ›Generating formatted 80mm roll thermal shipping labels directly from web payloads without native desktop driver dependencies.
- ›Dual-write synchronization: maintaining an instant local/serverless SQLite store while keeping a live Google Sheets ledger updated in real time for non-technical team members.
Engineered Solution & Execution Graph
Engineered ThriftPulse as an end-to-end operating system. Designed a lightweight client-side Canvas compression pipeline that reduces multi-megabyte customer shoe photos to ~300KB in the browser before upload. Built a dual speech-to-text pipeline combining Groq Cloud Whisper (~300ms) with local faster-whisper fallback, paired with Groq LLM tool calling that understands Roman Urdu to query order statuses and send instant WhatsApp photo notifications.
Execution Sequence:
Data Flow & Component Interactions
End-to-end pipeline covering client-side Canvas compression, dual-write persistence (SQLite + Google Sheets), 80mm thermal label generation, and Roman Urdu voice assistant via Groq Whisper.
Customer uploads photo; in-browser Canvas compresses ~10MB file to ~300KB JPEG.
Validates payload with Pydantic and writes record to SQLite async engine.
Dual-writes row to cloud spreadsheet ledger for live business tracking.
Generates rider shipping slip formatted specifically for 80mm receipt printers.
Meta Cloud API sends automated WhatsApp message with shoe photo to owner.
Owner voice notes (Roman Urdu/English) transcribed via Groq Whisper and resolved via LLM tool-calling.
Key Technical Challenges
Client-Side High-Res Image Compression
Problem:Uploading 10MB mobile photos over 3G/4G connections causes failed submissions and server timeout.
Roman Urdu Audio Understanding
Problem:Standard ASR APIs misinterpret colloquial Roman Urdu and code-switched Pakistani phrases.
Offline & Cloud Whisper Redundancy
Problem:Cloud API outages or rate limits must not halt store operations.
Technology Stack
Technical Results
- ✓Engineered full thrift store OS with client-side compression (<300KB) and instant order intake.
- ✓Built multilingual WhatsApp AI voice assistant supporting English, Nastaliq Urdu, and Roman Urdu.
- ✓Implemented dual Groq Whisper Cloud API (~300ms) and offline local faster-whisper pipeline.
- ✓Automated 80mm thermal receipt printing and real-time dual-write Google Sheets syncing.