LeadStudio
An agency CRM that finds local businesses on the map, AI-scores them, and hosts the pitch site it generates.

The product
LeadStudio runs a web studio's whole funnel: geocode a city, sweep it in a 5 km grid through Google Places, auto-split saturated tiles, dedupe and score every business with AI (website need, budget likelihood, competition), then track the pipeline from cold lead to won project — money, tasks and files included.
Its sharpest feature: it hosts the AI-generated preview website you pitch — drag-drop a build, get a public share link served through a path-traversal-safe manifest, with view counts per prospect.
Under the hood
THE ENGINEERING
- 01
Adaptive geospatial search: saturated 20-result tiles recursively subdivide into quadrants, with per-cell API-cost accounting
- 02
Zero-dependency Zip64-capable ZIP reader using DecompressionStream — written from scratch
- 03
Static preview hosting off a DB manifest with traversal guards and on-the-fly URL rebasing
- 04
Edge-safe HMAC cookie auth with constant-time compare — no auth library
- 05
An 80-line AI art-direction prompt that bans generic-AI aesthetics and derives palettes from the business's trade
In the product


Next case study
HQ →