Standard Docker or Gradio Hugging Face Spaces go to sleep after 48 hours without traffic, forcing the next visitor to wait 30 to 90 seconds for a container cold start. For a catalog discovery tool, a sleeping container kills conversion before the page even renders.
Instead of running Python containers, we built 20 static HTML and vanilla JavaScript Spaces (sdk: static) over our 3.15 million ready CSV lists. Static Spaces stay online continuously with zero sleep timeouts, zero container memory overhead, and instant first paint.
Live examples you can open right now:
- Full catalog explorer: https://specstream.ai/data/lists
- B2B CSV Dataset Finder: https://huggingface.co/spaces/SpecStreamAI/b2b-csv-dataset-finder
- SaaS Tech Stack Explorer: https://huggingface.co/spaces/SpecStreamAI/saas-tech-stack-explorer
- US Federal Contract Finder: https://huggingface.co/spaces/SpecStreamAI/us-federal-contract-finder
- AI Search API Cost Calculator: https://huggingface.co/spaces/SpecStreamAI/ai-search-api-cost-calculator
Two layer architecture: embedded featured slices plus live sharded search
Each Space bundles two things inside a single static index.html:
- Forty precomputed featured slices extracted directly from our production
manifest.jsonfiles (exact titles, verified row counts, and $15 to $99 pricing). Even if a visitor is offline or browsing before typing a query, the page renders real data in under 50 milliseconds. - Live debounced search wired directly to
https://specstream.ai/v1/data/lists/slices/search, which fans out across 28 sharded SQLite families stored on a single NVMe server.
async function searchSlices(family, query) { const params = new URLSearchParams({ family, q: query, limit: "24" }); const res = await fetch(`https://specstream.ai/v1/data/lists/slices/search?${params}`); if (!res.ok) return []; const data = await res.json(); return data.results || []; } Why static HTML beats heavy app frameworks for data discovery
Every Space stays under 30 KB uncompressed, ships zero third party trackers, and links straight to the canonical dataset preview page on https://specstream.ai/data/lists where buyers can inspect 6 live sample rows and download the full CSV immediately.
Because deployment is just pushing README.md (with sdk: static) and index.html to a Hugging Face Space repository, adding a new vertical finder takes seconds and costs nothing to keep running 24 hours a day.
