01The problem
A client's sales team needed to prospect UK companies by sector, status and location, then email them, without paying for a heavy lead-gen platform.
02What I did
Built an Electron + React app that reproduces the Companies House advanced search locally through the official public API: filterable results, full company profiles, officers, filing history, PSCs and charges. Added a built-in Email Hub with multi-step campaigns and reply tracking, OS-keychain encrypted API keys, per-client branding, and device licensing.
03Licensing that works offline
The client was selling this on, so licensing mattered from day one. Licence keys are signed with Ed25519: the app carries only the public key and checks the signature and expiry itself, with no server call needed to open it. The only online step is first activation, when a Cloudflare Worker checks the device limit for that key. The app also notices if the system clock is wound back.
The payment side went through three versions, from a hosted checkout, to Stripe with a Worker, to a manual flow where the customer uploads proof of payment, an admin approves it, and the Worker signs a key and emails it out.
04Filling the gaps in public data
Companies House gives you a lot, but no phone numbers or email addresses. So the app looks up phone numbers through the Google Places API and finds emails on the company's own website, checking mailto links first. Both lookups cost money or time, so they are opt-in per row or in bulk, and results are cached on the machine.
Search follows the official API's limits (600 requests per five minutes), and if a user hits them the app explains why rather than failing silently.
05Accounts, sync and the details that keep data safe
Teams can sign in with Google (through the system browser with PKCE, not an embedded window) or with an emailed code, invite colleagues, revoke devices and sync templates, campaigns and contacts through a Worker backed by a 13-table D1 database. Sync is deliberately simple: last write wins for ordinary fields, and append-only lists such as sent messages and replies are merged.
On the desktop, every save is written atomically so a crash can't corrupt the data file, email passwords are kept in the operating system's secure storage, and replies are tracked by scanning IMAP incrementally. New users get a guided tour, and updates arrive through an in-app banner rather than a silent download. Versions 0.1 to 0.3 went out over two days.
06The outcome
Shipped as signed installers for both platforms, and the white-label design means it can be re-skinned and resold per client.
07Tools & skills
- Electron
- React
- REST API Integration
- Email Automation
- Product Design
- Client Management
- Licensing & Security
- Google Cloud (GCP)
- OAuth & Service Accounts
- Git






