<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[ShelfBot Engineering]]></title><description><![CDATA[ShelfBot Engineering]]></description><link>https://shelfbot.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Fri, 04 Dec 2026 20:58:48 GMT</lastBuildDate><atom:link href="https://shelfbot.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[How We Built an 18-Bot Self-Hosted AI Chatbot Storefront on Cloudflare Workers (4.7KB Widget, 648 Adversarial Tests, $0 Hosting)]]></title><description><![CDATA[Most small Shopify stores, local clinics, and independent agencies abandon AI chatbot SaaS platforms within 30 days for three predictable reasons: We…]]></description><link>https://shelfbot.hashnode.dev/how-we-built-an-18-bot-self-hosted-ai-chatbot-storefront-on-cloudflare-workers-4-7kb-widget-648-adversarial-tests-0-hosting</link><guid isPermaLink="true">https://shelfbot.hashnode.dev/how-we-built-an-18-bot-self-hosted-ai-chatbot-storefront-on-cloudflare-workers-4-7kb-widget-648-adversarial-tests-0-hosting</guid><category><![CDATA[cloudflare]]></category><category><![CDATA[JavaScript]]></category><category><![CDATA[AI]]></category><category><![CDATA[webdev]]></category><dc:creator><![CDATA[ShelfBot]]></dc:creator><pubDate>Tue, 01 Dec 2026 06:47:08 GMT</pubDate><content:encoded><![CDATA[<p>Most small Shopify stores, local clinics, and independent agencies abandon AI chatbot SaaS platforms within 30 days for three predictable reasons:</p>
<ol>
<li>Unpredictable message-credit overages ($49–$199/mo).</li>
<li>Heavy drag-and-drop workflow builders that take hours to configure.</li>
<li>Hallucinated store policies or missing legal/safety guardrails.</li>
</ol>
<p>We decided to build a different model: <strong>ShelfBot</strong> (<a href="https://tryshelfbot.com/?utm_source=devto">https://tryshelfbot.com</a>) — a storefront of 18 single-purpose, ready-to-deploy niche AI chatbot kits delivered as <strong>self-hosted Cloudflare Worker ZIP archives (BYOK)</strong> for a flat $19 one-time fee ($39 for 5 client sites).</p>
<h3>Architecture Highlights ($0 Infra Overhead)</h3>
<ul>
<li><strong>4.7KB Async Embed Widget (</strong><code>widget.js</code><strong>):</strong> Zero framework dependencies, loads strictly after <code>window.load</code> so it never hurts Lighthouse scores.</li>
<li><strong>Grounded-Only FAQ Matching + Workers AI:</strong> Every bot ships with industry-specific verified FAQs and a strict safe fallback instead of guessing policies.</li>
<li><strong>Built-In EU AI Act Art. 50 Disclosure:</strong> Every widget renders <code>"You're chatting with an AI"</code> directly inside the DOM.</li>
<li><strong>Hard Flood &amp; Cost-Bomb Defense:</strong> Daily-salted SHA-256 IP rate limiting + global sandbox cap verified against a 1,000-request flood test returning <code>HTTP 429</code> with zero runaway spend.</li>
<li><strong>648 Automated Adversarial Guardrail Tests:</strong> Every SKU is tested against prompt injections, PCI/IBAN/SSN/EIN leaks, medical/legal/tax advice traps, and life-safety interrupts (e.g., HVAC gas-leak 911/999 warnings, restaurant allergen cross-contact notices).</li>
<li><strong>Pure-JS ZIP Packaging Inside Cloudflare Workers:</strong> After checkout, buyers immediately download a standard <code>PK\x03\x04</code> ZIP bundle containing <code>worker.mjs</code>, <code>wrangler.toml</code>, <code>faq-knowledge.json</code>, <code>embed-snippet.html</code>, and a 10-minute <code>README.md</code>.</li>
</ul>
<h3>Try Any of the 18 Live Sandboxes (No Sign-Up)</h3>
<p>You can test all 18 industry bots live on the homepage, preview your own brand color and 1-line <code>&lt;script&gt;</code> snippet, or vote for the next industry bot on our public board: 👉 <a href="https://tryshelfbot.com/?utm_source=devto">https://tryshelfbot.com</a></p>
<p><em>(Disclosure: I'm part of the team building ShelfBot &amp; StarReply at Chunfeng Digital Studio — happy to share code details or answer Cloudflare Workers architecture questions in the comments!)</em></p>
]]></content:encoded></item></channel></rss>