Skip to content
FLAVIO COPES
flaviocopes.com
2026

Sitebase: all the features your website needs, in one place

By Flavio Copes

I'm building sitebase.dev: waiting lists, forms, newsletter signups, analytics, uptime monitoring and more, embedded in any site with one script. Currently in private beta.

~~~

In the past few days / weeks I built Sitebase.

Sitebase is “the operating system for your website”: all the small features every site eventually needs — waiting lists, newsletter signups, contact forms, testimonials, analytics, uptime monitoring — served from one place, with one embed script.

It’s currently in private beta. Signups are not open yet. But I use it myself, on my own sites, every day — the waiting list on the Sitebase homepage is a Sitebase widget.

Why I built it

Every site I ship needs the same things.

A waiting list before launch. A newsletter signup. A contact form. Some analytics. Maybe testimonials, a cookie banner, a status page.

The standard answer is a separate SaaS for each: one tool for forms, one for analytics, one for testimonials, one for uptime, one for cookie consent. Ten subscriptions, ten dashboards, ten scripts slowing down your site.

I wanted one subscription and one script. You add a feature from the dashboard, copy a snippet, done.

There’s a second reason, and it’s the more interesting one: AI agents are building more and more websites. An agent can scaffold your site in minutes, but it can’t run a newsletter or store form submissions — that needs a backend. Sitebase is designed to be that backend, and to be installable by the agent: it ships agent-readable docs at /llms.txt, and every embed snippet comes with a copy-paste prompt you can hand to Cursor or Claude Code to do the installation for you.

What’s in it

The feature list has grown quite a bit:

Everything is embeddable with a script snippet on any site. For platforms that strip scripts, like Notion, every feature also has a hosted embed URL you can iframe.

How I built it

Sitebase runs entirely on Cloudflare, and it uses almost the whole platform.

The app is Astro SSR on Cloudflare Workers, with htmx and Alpine.js for interactivity — the AHA stack again. The public embed endpoints bypass Astro entirely: a Hono app handles them on a fast path, so a widget render is served from KV with zero database queries.

The data layer is my favorite part: every customer gets their own D1 database, provisioned at signup in the region they choose. Tenant isolation at the database level, not the row level.

Around that: Durable Objects for rate limiting, Queues for background work like notification emails and analytics maintenance, R2 for file uploads, Cron Triggers for uptime checks and nightly cleanup, and Turnstile on every form. Auth is magic links via Resend, billing is Polar, deploys go through wrangler.

And like StackPlan, it was built working with Cursor agents — with a strict test-first workflow this time. The repo has a devlog where every change is recorded, which turned out to be one of the best decisions of the project.

When can you use it?

Not yet — and that’s on purpose.

Sitebase handles other people’s form submissions, subscribers, and analytics data. I want to run it in production myself for a while, harden it, and get the compliance and billing parts exactly right before opening the doors.

It will be a paid product, priced per website, with early customers locking in lower prices forever.

If you want in when it opens, there’s a waiting list on sitebase.dev. Served by Sitebase, naturally.

Tagged: News · All topics
~~~

Related posts about news: