Skip to content
staticbackend.

Backend guides for static HTML sites

Four hosted pieces cover what a static page lacks: Web3Forms takes 250 form posts a month for $0, Cloudflare R2 stores 10 GB-month free, Supabase gives 500 MB of Postgres, and Durable Objects 100,000 requests a day.

Job Pick for most sites Free allowance First paid step Guide
Form submissions Web3Forms 250 submissions a month Pro: $12 a month billed yearly, 10,000 a month Forms
File uploads Cloudflare R2 10 GB-month, no egress fees $0.015 per GB-month Storage
Database Supabase 500 MB, 50,000 monthly active users Pro from $25 a month Database
Live updates Cloudflare Durable Objects 100,000 requests a day Workers Paid, $5 a month WebSockets

Every guide starts with code you can paste into a page, then compares the realistic options on free limits and price, and ends with the abuse cases that matter once the page is public. Limits and prices come from each vendor's official pricing and documentation pages, checked in November 2026.

Forms without a server

A form on a static page posts straight to a form service, which stores or emails the submission. Web3Forms is the default at 250 free submissions a month; Forminit and Basin store up to 100 MB of attachments on their free plans, and Netlify Forms only works for sites hosted on Netlify. Read the forms guide.

File uploads and storage

A small Worker signs a 5-minute PUT URL and the browser uploads straight to Cloudflare R2, so storage keys never reach the page. R2 includes 10 GB-month, 1 million Class A operations a month and free egress. Supabase Storage is the simpler choice when the data already lives in Supabase, with a 50 MB per-file cap on free projects. Read the storage guide.

A database behind a static page

Supabase and Firestore can be queried straight from the browser, with row level security or Security Rules deciding what the public key may do. Turso and Cloudflare D1 need a Worker in front because their credentials are secrets. Supabase's free projects pause after 1 week without activity. Read the database guide.

WebSockets and live updates

Durable Objects run one object per room with the Hibernation API, billing 100 incoming messages as 5 requests. Pusher's free Sandbox allows 100 concurrent connections, and PartyKit's hosted platform shut down in October 2026. Read the WebSockets guide.

The original StaticBackend documentation described an open-source Go backend that is now archived at github.com/staticbackendhq/core. Old links to pages under /docs/ land on this index or on the guide that covers the same job today. To get the static page itself online first, start with getting started or compare hosts in the free HTML hosting benchmark.