BidSniper
I designed and built a UK public-sector tender matcher and 10-second PDF Go/No-Go dossier analyser for UK SMEs. Early versions queried live government APIs directly per visit and hit latency spikes, so I moved ingestion to a scheduled Cloudflare Cron Worker that normalises Contracts Finder and Find a Tender OCDS notices into Cloudflare KV and D1, letting the browser score every open contract deterministically and inspect sensitive tender PDFs locally with zero marginal AI cost.
Design decisions
What I cut and what I shipped
Decision transparency · B2B trust
Replaced black-box AI scores with explainable fit breakdowns
- What I cut
- A single opaque match percentage that forced SME bid managers to re-read the whole notice anyway.
- What I shipped
- Deterministic scoring with inline factor bars (scope, certificates, value, region, time to bid) and a red deadline callout.
Speed & privacy · Zero-storage workflow
Moved live API polling and PDF analysis out of the critical path
- What I cut
- Per-visit government API queries that stalled page loads and server-side tender PDF uploads.
- What I shipped
- Edge-cached OCDS feeds in Cloudflare KV paired with instant local browser PDF knock-out extraction.
System architecture
How BidSniper is built
Edge-cached OCDS ingestion paired with deterministic browser scoring and zero-storage local PDF extraction.
- 01Upstream feeds
UK .gov.uk OCDS APIs
Scheduled Cloudflare Cron Worker pulls open notices from Contracts Finder and Find a Tender Service.
- 02Edge cache & DB
Cloudflare KV + D1
Prebuilt JSON feed serves from KV at edge speed while D1 stores user profiles, saved bids and entitlements.
- 03Client · React
Deterministic fit scoring
Matches CPV codes, contract value bands, regions and mandatory certifications against the company profile.
- 04Browser PDF
10-second Go/No-Go brief
Extracts knock-out clauses and deadlines from uploaded PDF tender packs via pdfjs-dist with zero file storage.


