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

> 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.

Author: [Flavio Copes](https://flaviocopes.com/about/) | Published: 2026-07-08 | Topics: [News](https://flaviocopes.com/tags/news/) | Canonical: https://flaviocopes.com/sitebase/

In the past few days / weeks I built [Sitebase](https://sitebase.dev).

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:

- **Forms**: contact forms, waiting lists, newsletter signups with double opt-in, lead magnets with gated file downloads, and a full custom form builder with multi-step forms and file uploads
- **Social**: testimonials with an approval flow (collect via a form, display as a wall), social proof toasts fed by real capture events
- **Data**: cookieless, privacy-first visitor analytics (Plausible-style), custom events, and funnels
- **Site utilities**: uptime monitoring with a public status page, countdown timers, a GDPR-proof cookie banner with script gating, generated legal pages, even a careers page with applications

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](https://flaviocopes.com/cloudflare-workers/), with htmx and Alpine.js for interactivity — the [AHA stack](https://flaviocopes.com/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](https://flaviocopes.com/cloudflare-kv/) with zero database queries.

The data layer is my favorite part: **every customer gets their own [D1](https://flaviocopes.com/cloudflare-d1/) database**, provisioned at signup in the region they choose. Tenant isolation at the database level, not the row level.

Around that: [Durable Objects](https://flaviocopes.com/cloudflare-durable-objects/) for rate limiting, [Queues](https://flaviocopes.com/cloudflare-queues/) for background work like notification emails and analytics maintenance, [R2](https://flaviocopes.com/cloudflare-r2/) for file uploads, [Cron Triggers](https://flaviocopes.com/cloudflare-cron-triggers/) for uptime checks and nightly cleanup, and [Turnstile](https://flaviocopes.com/cloudflare-turnstile/) on every form. Auth is magic links via Resend, billing is Polar, deploys go through [wrangler](https://flaviocopes.com/cloudflare-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](https://sitebase.dev). Served by Sitebase, naturally.
