The problem and purpose
Building a clean, district-level list of businesses, merging duplicate entries, and scoring records against explicit criteria required a local, repeatable workflow. The tool does not send messages; it only builds district-based business lists and scores the records.
My role
I designed and built the project for personal use as a 5-package npm workspaces monorepo. I implemented the Places API (New) collector, the node:sqlite data layer, a robots.txt-compliant website enricher, a local API bound exclusively to 127.0.0.1, a React/Vite panel, and a Manifest V3 Chrome extension.
Key decisions
- 5-package TypeScript monorepo managed with npm workspaces
- Data collection via Google Places API (New) with local persistence in
node:sqlite - Phone number normalization, duplicate record merging, and JSON-configured scoring
- Website information enricher that respects
robots.txtrules - Local API bound only to
127.0.0.1serving a React/Vite panel and a Manifest V3 Chrome extension - 73 Vitest tests covering core logic and data processing
- No outbound messaging; limited strictly to building and scoring district-level business lists
Architecture
The collector and robots.txt-compliant enricher write records into node:sqlite, where phone normalization, deduplication, and JSON-configured scoring run. A local API bound exclusively to 127.0.0.1 exposes the data to both the React/Vite panel and the Manifest V3 Chrome extension.
- Places + EnricherAPI (New) and robots.txt-compliant fetch
- SQLite + Scoringnode:sqlite, merge and JSON rules
- Local API + Clients127.0.0.1 API, React/Vite and Chrome MV3
Outcome
Verified by 73 Vitest tests across the 5-package monorepo, the tool provides a local pipeline for collecting, deduplicating, and scoring district-level business records with both a web panel and a browser extension.