Cloudsteading
FormZero Dashboard
FormZero Dashboard

FormZero

Accept HTML or JSON form submissions and review them in a Cloudflare dashboard.

FormZero is a self-hosted Formspree/Getform alternative built on Cloudflare (D1, Workers). Free tier eligible within limits. Inspect the source and license in the linked repository.

Source & license

Upstream license: MIT

License TL;DR

You can use it, change it, self-host it and sell it. Keep the original copyright and license notice with copies of the code. You don’t have to publish your changes. The authors don’t promise it will work.

Explain MIT in plain English →

Summary of the main license. Separate packages and assets can have different terms.

Inspect repository ↗Read this project’s actual license ↗

Repository owner

@BohdanPetryshyn

See the upstream repository for the original creator and contributors.

Maintain this project? Maintainer verification →README badge, corrections or removal →

Cloudflare hosting

Free tier eligible within limits

The documented FormZero deployment can use Cloudflare Free allowances for a small workload under the request, CPU and service-specific quotas below. This is conditional eligibility, not a measured zero-cost deployment; optional features, domains and external providers can add costs.

Hosting requirements
  • Workers Free allows 100,000 requests per day shared across the account and 10 ms CPU per invocation; measure CPU-heavy authentication, parsing and rendering before assuming it fits.
  • Keep aggregate D1 use below 5 million rows read/day, 100,000 rows written/day and 5 GB total storage; a request can touch many rows.
  • Use a small personal or team workload; domain registration and optional third-party providers are separate costs. Provision your own IDs, secrets and migrations.
Check current pricing ↗
Review findings & limitations
  • The overlap with Formspree and Getform is accepting and reviewing submissions. The README lists Resend notifications and proof-of-work/honeypot spam defenses as coming soon, but the pinned runtime implements an optional SMTP notification path using global D1 settings. Delivery, credentials and hosting costs are untested; provider integration and anti-spam parity are not established. Application-level unlimited submissions remain bounded by Cloudflare quotas.
  • Source review at the pinned commit; deployment, workload CPU and application security have not been independently tested.
Sources checked 01/10/2026

Repository snapshot: a4ddde2. Hosting eligibility reflects the deployment documentation and listed assumptions.

  • formspree ↗

    - **Save time** - Form backends are simple software; don't waste time building one for your static site - **No artificial limits** - Commercial services often restrict you to ~50 submissions/month with no data export - **Deploy in minutes** - As easy as signing up for a commercial service. Not a single line of code, not even YAML

  • getform ↗

    - **Save time** - Form backends are simple software; don't waste time building one for your static site - **No artificial limits** - Commercial services often restrict you to ~50 submissions/month with no data export - **Deploy in minutes** - As easy as signing up for a commercial service. Not a single line of code, not even YAML

  • workers ↗

    es/wrangler/config-schema.json", "name": "formzero", "compatibility_date": "2025-04-04", "compatibility_flags": [ "nodejs_compat" ], "main": "./workers/app.ts", "observability": { "enabled": true }, "d1_databases": [ { "binding": "DB", "database_name": "formzero", "database_id": "4a765081-eab0-424f-984b-e9b638a16de4", } ] }

  • d1 ↗

    flags": [ "nodejs_compat" ], "main": "./workers/app.ts", "observability": { "enabled": true }, "d1_databases": [ { "binding": "DB", "database_name": "formzero", "database_id": "4a765081-eab0-424f-984b-e9b638a16de4", } ] }

  • free-tier-eligible ↗

    es/wrangler/config-schema.json", "name": "formzero", "compatibility_date": "2025-04-04", "compatibility_flags": [ "nodejs_compat" ], "main": "./workers/app.ts", "observability": { "enabled": true }, "d1_databases": [ { "binding": "DB", "database_name": "formzero", "database_id": "4a765081-eab0-424f-984b-e9b638a16de4", } ] }

  • free-tier-eligible ↗

    flags": [ "nodejs_compat" ], "main": "./workers/app.ts", "observability": { "enabled": true }, "d1_databases": [ { "binding": "DB", "database_name": "formzero", "database_id": "4a765081-eab0-424f-984b-e9b638a16de4", } ] }

  • free-tier-eligible ↗

    up>1, 2, 3, 4</sup> | Duration | CPU time | | --- | --- | --- | --- | | **Free** | 100,000 per day | No charge for duration | 10 milliseconds of CPU time per invocation | | **Standard** | 10 million included per month <br> +$0.30 per additional million | No charge or limit for duration | 30 million CPU milliseconds included per month<br> +$0.02 per additional million CPU milliseconds<br><br> Max of [5 minutes of CPU time](https://developers.cloudflare.com/workers/platform/limits/#account-plan-limits) per invocation (default: 30 seconds)<br> Max of 15 minutes of CPU time per [Cron Trigger](https://developers.cloudflare.com/workers/configuration/cron-triggers/) or [Queue Consumer](https://developers.cloudflare.co

  • free-tier-eligible ↗

    oudflare.com/workers/platform/pricing/#workers) | | --- | --- | --- | | Rows read | 5 million / day | First 25 billion / month included + $0.001 / million rows | | Rows written | 100,000 / day | First 50 million / month included + $1.00 / million rows | | Storage (per GB stored) | 5 GB (total) | First 5 GB included + $0.75 / GB-mo | Track your D1 usage To accurately track your usage, use the [meta object](https://developers.cloudflare.com/d1/worker-api/return-object/), [GraphQL Analytics API](https://developers.cloudflare.com/d1/observability/metrics-analytics/#query-via-the-graphql-api), or the [Cloudflare dashboard ↗︎](https://dash.cloudflare.com/?to=/:account/workers/d1/). Select your D1 database, then vie

  • MIT ↗

    MIT License Copyright (c) 2022 Bohdan Petryshyn Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON

  • architecture ↗

    es/wrangler/config-schema.json", "name": "formzero", "compatibility_date": "2025-04-04", "compatibility_flags": [ "nodejs_compat" ], "main": "./workers/app.ts", "observability": { "enabled": true }, "d1_databases": [ { "binding": "DB", "database_name": "formzero", "database_id": "4a765081-eab0-424f-984b-e9b638a16de4", } ] }

  • architecture ↗

    flags": [ "nodejs_compat" ], "main": "./workers/app.ts", "observability": { "enabled": true }, "d1_databases": [ { "binding": "DB", "database_name": "formzero", "database_id": "4a765081-eab0-424f-984b-e9b638a16de4", } ] }

Upstream screenshot · BohdanPetryshyn/formzero repository contributors ↗. Depicts the upstream project. We have not deployed and tested a fresh installation here.

What it can replace

Compare the workflow you need. These mappings describe overlap; full feature parity requires a separate comparison.

Getform logoGetform ↗

Receiving HTML/JSON form submissions, dashboard review and CSV export; hosted form-building and planned email/spam-defense features are excluded.

See supporting source ↗
Workflow overlap
Pricing not verified
→ D1 + Workers

How it works

The shape of FormZero on Cloudflare, and how it stacks up against the rented tools it replaces.

Diagram target: wrangler.jsonc. Other repository deployments are listed in the source evidence below; they are not required by this target.

Architecture

Diagram of deployment declarations at the reviewed commit. Each app has its own entrypoint; declared resources do not prove runtime calls. Follow file and line sources below.

View upstream source ↗
Public interface
Configured entry points1
formzero
wrangler.jsonc
↓
App
formzero
entry
Cloudflare Workers
Entrypoint: ./workers/app.ts
↓

Configuration and workflow sources

Reviewed commit a4ddde255457. This configuration evidence comes from reading source files. Execution checks, when available, appear in the project's runtime review.

Deployment configuration · 1 file
wrangler.jsonc ↗

Cloudflare Workers · compatibility 2025-04-04

formzero · default

Entrypoint: ./workers/app.ts

  • DB → D1

Named environments are separate deployments. Bindings are shown only where declared. Configured routes are URL patterns, not verified application endpoints.

Runtime source · handlers, binding usage and workflow steps

Observed TypeScript/JavaScript declarations from Worker entrypoints and resolved relative imports. Calls and workflow steps may run conditionally; their listed order is not a proven end-to-end request flow. Router declarations may be mounted under a prefix or may not be registered. This shows code wiring, not a successful deployment or runtime test. Dynamic wiring, aliases and generated code may not resolve.

app/components/app-sidebar.tsx ↗
  • L32 · AppSidebar calls (conditional paths may differ): toUpperCase, user.name.charAt, useFetcher, useState, useEffect, settingsFetcher.load, setSettings, fetcher.submit, setSettingsOpen
app/components/form-nav.tsx ↗
  • L12 · FormNav calls (conditional paths may differ): useParams, items.map
app/components/form-switcher.tsx ↗
  • L35 · FormSwitcher calls (conditional paths may differ): useSidebar, useNavigate, useParams, React.useState, useFetcher, useLocation, forms.find, React.useEffect, setIsDialogOpen, forms.map, navigate
app/components/result-button.tsx ↗
  • L15 · ResultButton calls (conditional paths may differ): useState, useEffect, setShowSuccess, setTimeout, clearTimeout, cn
app/components/settings-dialog.tsx ↗
  • L51 · getEmailDomain calls (conditional paths may differ): email.match, toLowerCase
  • L62 · SettingsDialog calls (conditional paths may differ): useFetcher, useState, getEmailDomain, useEffect, setEmail, setPassword, setSmtpHost, setSmtpPort, setEmailDomain, setSmtpConfig, setTimeout, config.port.toString, clearTimeout, setTestPassed, setTestResultValid, formData.append, testFetcher.submit, clearFetcher.submit
app/components/ui/alert.tsx ↗
  • L22 · Alert calls (conditional paths may differ): cn, alertVariants
  • L37 · AlertTitle calls (conditional paths may differ): cn
  • L50 · AlertDescription calls (conditional paths may differ): cn
app/components/ui/avatar.tsx ↗
  • L6 · Avatar calls (conditional paths may differ): cn
  • L22 · AvatarImage calls (conditional paths may differ): cn
  • L35 · AvatarFallback calls (conditional paths may differ): cn
app/components/ui/breadcrumb.tsx ↗
  • L11 · BreadcrumbList calls (conditional paths may differ): cn
  • L24 · BreadcrumbItem calls (conditional paths may differ): cn
  • L34 · BreadcrumbLink calls (conditional paths may differ): cn
  • L52 · BreadcrumbPage calls (conditional paths may differ): cn
  • L65 · BreadcrumbSeparator calls (conditional paths may differ): cn
  • L83 · BreadcrumbEllipsis calls (conditional paths may differ): cn
app/components/ui/button.tsx ↗
  • L39 · Button calls (conditional paths may differ): cn, buttonVariants
app/components/ui/card.tsx ↗
  • L5 · Card calls (conditional paths may differ): cn
  • L18 · CardHeader calls (conditional paths may differ): cn
  • L31 · CardTitle calls (conditional paths may differ): cn
  • L41 · CardDescription calls (conditional paths may differ): cn
  • L51 · CardAction calls (conditional paths may differ): cn
  • L64 · CardContent calls (conditional paths may differ): cn
  • L74 · CardFooter calls (conditional paths may differ): cn
app/components/ui/chart.tsx ↗
  • L25 · useChart calls (conditional paths may differ): React.useContext
  • L35 · ChartContainer calls (conditional paths may differ): React.useId, uniqueId.replace, cn
  • L105 · ChartTooltipContent calls (conditional paths may differ): useChart, React.useMemo, getPayloadConfigFromPayload, cn, labelFormatter, map, payload.filter, formatter, item.value.toLocaleString
  • L253 · ChartLegendContent calls (conditional paths may differ): useChart, cn, map, payload.filter, getPayloadConfigFromPayload
app/components/ui/dialog.tsx ↗
  • L31 · DialogOverlay calls (conditional paths may differ): cn
  • L47 · DialogContent calls (conditional paths may differ): cn
  • L81 · DialogHeader calls (conditional paths may differ): cn
  • L91 · DialogFooter calls (conditional paths may differ): cn
  • L104 · DialogTitle calls (conditional paths may differ): cn
  • L117 · DialogDescription calls (conditional paths may differ): cn
app/components/ui/dropdown-menu.tsx ↗
  • L32 · DropdownMenuContent calls (conditional paths may differ): cn
  • L60 · DropdownMenuItem calls (conditional paths may differ): cn
  • L83 · DropdownMenuCheckboxItem calls (conditional paths may differ): cn
  • L120 · DropdownMenuRadioItem calls (conditional paths may differ): cn
  • L144 · DropdownMenuLabel calls (conditional paths may differ): cn
  • L164 · DropdownMenuSeparator calls (conditional paths may differ): cn
  • L177 · DropdownMenuShortcut calls (conditional paths may differ): cn
  • L199 · DropdownMenuSubTrigger calls (conditional paths may differ): cn
  • L223 · DropdownMenuSubContent calls (conditional paths may differ): cn
app/components/ui/empty.tsx ↗
  • L5 · Empty calls (conditional paths may differ): cn
  • L18 · EmptyHeader calls (conditional paths may differ): cn
  • L46 · EmptyMedia calls (conditional paths may differ): cn, emptyMediaVariants
  • L61 · EmptyTitle calls (conditional paths may differ): cn
  • L71 · EmptyDescription calls (conditional paths may differ): cn
  • L84 · EmptyContent calls (conditional paths may differ): cn
app/components/ui/input.tsx ↗
  • L5 · Input calls (conditional paths may differ): cn
app/components/ui/label.tsx ↗
  • L6 · Label calls (conditional paths may differ): cn
app/components/ui/separator.tsx ↗
  • L6 · Separator calls (conditional paths may differ): cn
app/components/ui/sheet.tsx ↗
  • L29 · SheetOverlay calls (conditional paths may differ): cn
  • L45 · SheetContent calls (conditional paths may differ): cn
  • L82 · SheetHeader calls (conditional paths may differ): cn
  • L92 · SheetFooter calls (conditional paths may differ): cn
  • L102 · SheetTitle calls (conditional paths may differ): cn
  • L115 · SheetDescription calls (conditional paths may differ): cn
app/components/ui/sidebar.tsx ↗
  • L45 · useSidebar calls (conditional paths may differ): React.useContext
  • L54 · SidebarProvider calls (conditional paths may differ): useIsMobile, React.useState, React.useCallback, value, setOpenProp, _setOpen, setOpenMobile, setOpen, React.useEffect, event.preventDefault, toggleSidebar, window.addEventListener, window.removeEventListener, React.useMemo, cn
  • L152 · Sidebar calls (conditional paths may differ): useSidebar, cn
  • L254 · SidebarTrigger calls (conditional paths may differ): useSidebar, cn, toggleSidebar
  • L280 · SidebarRail calls (conditional paths may differ): useSidebar, cn
  • L305 · SidebarInset calls (conditional paths may differ): cn
  • L319 · SidebarInput calls (conditional paths may differ): cn
  • L333 · SidebarHeader calls (conditional paths may differ): cn
  • L344 · SidebarFooter calls (conditional paths may differ): cn
  • L355 · SidebarSeparator calls (conditional paths may differ): cn
  • L369 · SidebarContent calls (conditional paths may differ): cn
  • L383 · SidebarGroup calls (conditional paths may differ): cn
  • L394 · SidebarGroupLabel calls (conditional paths may differ): cn
  • L415 · SidebarGroupAction calls (conditional paths may differ): cn
  • L438 · SidebarGroupContent calls (conditional paths may differ): cn
  • L452 · SidebarMenu calls (conditional paths may differ): cn
  • L463 · SidebarMenuItem calls (conditional paths may differ): cn
  • L496 · SidebarMenuButton calls (conditional paths may differ): useSidebar, cn, sidebarMenuButtonVariants
  • L546 · SidebarMenuAction calls (conditional paths may differ): cn
  • L578 · SidebarMenuBadge calls (conditional paths may differ): cn
  • L600 · SidebarMenuSkeleton calls (conditional paths may differ): React.useMemo, Math.floor, Math.random, cn
  • L638 · SidebarMenuSub calls (conditional paths may differ): cn
  • L653 · SidebarMenuSubItem calls (conditional paths may differ): cn
  • L667 · SidebarMenuSubButton calls (conditional paths may differ): cn
app/components/ui/skeleton.tsx ↗
  • L3 · Skeleton calls (conditional paths may differ): cn
app/components/ui/table.tsx ↗
  • L5 · Table calls (conditional paths may differ): cn
  • L20 · TableHeader calls (conditional paths may differ): cn
  • L30 · TableBody calls (conditional paths may differ): cn
  • L40 · TableFooter calls (conditional paths may differ): cn
  • L53 · TableRow calls (conditional paths may differ): cn
  • L66 · TableHead calls (conditional paths may differ): cn
  • L79 · TableCell calls (conditional paths may differ): cn
  • L92 · TableCaption calls (conditional paths may differ): cn
app/components/ui/tabs.tsx ↗
  • L6 · Tabs calls (conditional paths may differ): cn
  • L19 · TabsList calls (conditional paths may differ): cn
  • L35 · TabsTrigger calls (conditional paths may differ): cn
  • L51 · TabsContent calls (conditional paths may differ): cn
app/components/ui/tooltip.tsx ↗
  • L31 · TooltipContent calls (conditional paths may differ): cn
app/entry.server.tsx ↗
  • L6 · handleRequest calls (conditional paths may differ): request.headers.get, renderToReadableStream, console.error, isbot, responseHeaders.set
app/hooks/use-mobile.ts ↗
  • L5 · useIsMobile calls (conditional paths may differ): React.useState, React.useEffect, window.matchMedia, setIsMobile, mql.addEventListener, mql.removeEventListener
app/lib/auth.server.ts ↗
  • L4 · getAuth calls (conditional paths may differ): betterAuth
  • L16 · getUserCount calls (conditional paths may differ): first, database.prepare
app/lib/email.server.ts ↗
  • L8 · sendTestEmail calls (conditional paths may differ): nodemailer.createTransport, transporter.sendMail, trim, console.error, error.message.includes
  • L104 · sendSubmissionNotification calls (conditional paths may differ): nodemailer.createTransport, formatSubmissionData, formatSubmissionDataText, toLocaleString, transporter.sendMail, trim, console.error
  • L245 · formatSubmissionData calls (conditional paths may differ): Object.entries, join, entries.map, replace, key.replace, l.toUpperCase, formatValue, escapeHtml
  • L283 · formatSubmissionDataText calls (conditional paths may differ): Object.entries, join, entries.map, replace, key.replace, l.toUpperCase, formatValueText
  • L304 · formatValue calls (conditional paths may differ): Array.isArray, join, value.map, escapeHtml, String, JSON.stringify, stringValue.match
  • L345 · formatValueText calls (conditional paths may differ): Array.isArray, join, value.map, String, JSON.stringify
  • L371 · escapeHtml calls (conditional paths may differ): text.replace
app/lib/require-auth.server.ts ↗
  • L8 · requireAuth calls (conditional paths may differ): getAuth, auth.api.getSession, redirect
app/lib/utils.ts ↗
  • L4 · cn calls (conditional paths may differ): twMerge, clsx
app/root.tsx ↗
  • L70 · ErrorBoundary calls (conditional paths may differ): isRouteErrorResponse

Environment references: env.DEV

app/routes/api.auth.$.tsx ↗
  • L4 · handleAuthRequest calls (conditional paths may differ): getAuth, url.pathname.includes, getUserCount, data, auth.handler
  • L25 · loader calls (conditional paths may differ): handleAuthRequest
  • L29 · action calls (conditional paths may differ): handleAuthRequest

Environment references: context.cloudflare.env.DB

app/routes/api.forms.$formId.submissions.tsx ↗
  • L15 · loader calls (conditional paths may differ): data
  • L30 · action calls (conditional paths may differ): request.headers.get, acceptHeader.includes, contentType.includes, first, bind, db.prepare, data, redirect, request.json, request.formData, Object.fromEntries, crypto.randomUUID, Date.now, run, JSON.stringify, context.cloudflare.ctx.waitUntil, sendSubmissionNotification, console.error, url.searchParams.get

Environment references: context.cloudflare.env.DB

app/routes/error.tsx ↗
  • L25 · loader calls (conditional paths may differ): url.searchParams.get
app/routes/forms.$formId.integration.tsx ↗
  • L25 · IntegrationPage calls (conditional paths may differ): useParams, useState, redirectUrl.trim, encodeURIComponent, navigator.clipboard.writeText, setCopiedEndpoint, setTimeout, setCopiedCode, setRedirectUrl, handleCopyCode, tokens.map, getLineProps, line.map, getTokenProps
app/routes/forms.$formId.settings.tsx ↗
  • L28 · loader calls (conditional paths may differ): requireAuth, first, bind, database.prepare
  • L45 · action calls (conditional paths may differ): requireAuth, run, bind, database.prepare, data, redirect, console.error, request.formData, formData.get, Date.now
  • L116 · FormSettings calls (conditional paths may differ): useLoaderData, useFetcher, useState, useEffect, setName, deleteFetcher.submit, name.trim, setConfirmText, setDeleteOpen

Environment references: context.cloudflare.env.DB

app/routes/forms.$formId.submissions.$submissionId.tsx ↗
  • L5 · action calls (conditional paths may differ): requireAuth, data, run, bind, database.prepare, console.error

Environment references: context.cloudflare.env.DB

app/routes/forms.$formId.submissions.tsx ↗
  • L23 · loader calls (conditional paths may differ): requireAuth, all, bind, database.prepare, submissions.results.map, JSON.parse, Date.now, parsedSubmissions.filter, Math.round, getTime, date.getFullYear, date.getMonth, date.getDate, dailySubmissions.push, date.toLocaleDateString
  • L105 · SubmissionsPage calls (conditional paths may differ): useLoaderData, useMemo, createColumns, String, stringValue.includes, stringValue.replace, submissions.forEach, forEach, Object.keys, allKeys.add, sort, Array.from, submissions.map, toLocaleString, dataKeys.map, escapeCSV, join, headers.join, URL.createObjectURL, document.createElement

Environment references: context.cloudflare.env.DB

app/routes/forms.$formId.submissions/columns.tsx ↗
  • L29 · DeleteSubmissionButton calls (conditional paths may differ): useFetcher, useState, fetcher.submit, setOpen
  • L89 · createColumns calls (conditional paths may differ): column.toggleSorting, column.getIsSorted, row.getValue, formatDistanceToNow, date.toLocaleString, submissions.forEach, forEach, Object.keys, fieldNames.add, sort, Array.from, a.localeCompare, sortedFields.map, toUpperCase, fieldName.charAt, fieldName.slice
app/routes/forms.$formId.submissions/data-table.tsx ↗
  • L29 · DataTable calls (conditional paths may differ): React.useState, React.useMemo, searchQuery.trim, searchQuery.toLowerCase, data.filter, toLowerCase, JSON.stringify, searchableString.includes, useReactTable, getCoreRowModel, getSortedRowModel, setSearchQuery, map, table.getHeaderGroups, headerGroup.headers.map, flexRender, header.getContext, table.getRowModel, rows.map, row.getIsSelected
app/routes/forms.$formId.tsx ↗
  • L25 · loader calls (conditional paths may differ): requireAuth, first, bind, database.prepare, url.pathname.replace, redirect
  • L48 · FormLayout calls (conditional paths may differ): useParams, useLoaderData, useLocation, filter, location.pathname.split, toUpperCase, currentPage.charAt, currentPage.slice

Environment references: context.cloudflare.env.DB

app/routes/forms.tsx ↗
  • L11 · loader calls (conditional paths may differ): requireAuth, all, database.prepare, redirect, url.pathname.replace
  • L38 · action calls (conditional paths may differ): requireAuth, request.formData, formData.get, replace, name.toLowerCase, first, bind, database.prepare, Date.now, run, redirect
  • L79 · Forms calls (conditional paths may differ): useLoaderData

Environment references: context.cloudflare.env.DB

app/routes/home.tsx ↗
  • L5 · loader calls (conditional paths may differ): getAuth, auth.api.getSession, redirect

Environment references: context.cloudflare.env.DB

app/routes/login.tsx ↗
  • L16 · loader calls (conditional paths may differ): getAuth, auth.api.getSession, redirect, getUserCount
  • L37 · clientAction calls (conditional paths may differ): request.formData, formData.get, authClient.signIn.email, redirect
  • L60 · Login calls (conditional paths may differ): useActionData, useNavigation

Environment references: context.cloudflare.env.DB

app/routes/logout.tsx ↗
  • L5 · clientAction calls (conditional paths may differ): authClient.signOut, redirect
app/routes/settings.notifications.test.tsx ↗
  • L6 · action calls (conditional paths may differ): requireAuth, data, request.formData, formData.get, sendTestEmail, parseInt, console.error

Environment references: context.cloudflare.env.DB

app/routes/settings.notifications.tsx ↗
  • L5 · loader calls (conditional paths may differ): first, database.prepare, data
  • L18 · action calls (conditional paths may differ): requireAuth, run, database.prepare, data, console.error, request.formData, formData.get, first, Date.now, bind, parseInt

Environment references: context.cloudflare.env.DB

app/routes/setup.tsx ↗
  • L15 · loader calls (conditional paths may differ): getAuth, auth.api.getSession, redirect, first, database.prepare
  • L39 · Setup calls (conditional paths may differ): useFetcher

Environment references: context.cloudflare.env.DB

app/routes/signup.tsx ↗
  • L16 · loader calls (conditional paths may differ): getAuth, auth.api.getSession, redirect, getUserCount
  • L37 · clientAction calls (conditional paths may differ): request.formData, formData.get, authClient.signUp.email, redirect
  • L68 · Signup calls (conditional paths may differ): useActionData, useNavigation

Environment references: context.cloudflare.env.DB

app/welcome/welcome.tsx ↗
  • L4 · Welcome calls (conditional paths may differ): resources.map
workers/app.ts ↗
  • L18 · fetch handler exported · calls requestHandler

Environment references: env.MODE

Build and deployment pipeline · 0 GitHub Actions workflows

Repository CI declarations, separate from runtime request processing. Job dependencies and conditions are shown as written; long commands are shortened with an ellipsis; a workflow file does not prove a recent successful run.

No GitHub Actions workflow was found in the collected tree. Deployment may be manual or configured elsewhere.

package.json ↗
  • build: react-router build
  • migrate: yes Y | wrangler d1 migrations apply DB
  • deploy: npm run build && npm run migrate -- --remote && wrangler deploy

Full upstream document by @BohdanPetryshyn · README.md · snapshot a4ddde2

FormZero

A forever free, open-source form backend for static sites you can self-host on Cloudflare in one click

🔓 No paid features. 📀 Own your data. ⚡️ Start in 3 minutes

FormZero Dashboard

Perfect for contact forms, waitlists, surveys, newsletter signups, and more.

Why FormZero?

  • Save time - Form backends are simple software; don't waste time building one for your static site
  • No artificial limits - Commercial services often restrict you to ~50 submissions/month with no data export
  • Deploy in minutes - As easy as signing up for a commercial service. Not a single line of code, not even YAML

Use FormZero for your next big thing! ⭐ Give it a star to not forget.


Features

  • Submit HTML Forms - Add FormZero's endpoint to your form's action attribute
  • Submit JSON Data - Send payloads via fetch or XMLHttpRequest
  • Unlimited Forms - Create as many as you need
  • Unlimited Submissions - Receive thousands per hour
  • Analytics Dashboard - View submission trends and stats
  • Export CSV - Download all submissions in one click
  • Spam Protection - Proof of Work CAPTCHA and honeypot fields (coming soon)
  • Email Notifications - Add your Resend API key to receive notifications (coming soon)

Deploy in Seconds ⚡

Deploy to Cloudflare

Deploy your own serverless form backend in seconds - as easy as signing up for a commercial service:

  1. Click the Deploy to Cloudflare button above
  2. Log in to your free Cloudflare account or create one (no credit card required)
  3. Follow the prompts - your instance will be running in 3 minutes

Everything fits within Cloudflare's free tier - receive up to 100,000 submissions/day and store up to 4,000,000 submissions for free. Upgrade later for just $5 if needed.


How Deploy to Cloudflare Works

Here's what happens when you click the button:

  1. Cloudflare creates a copy of this repository in your GitHub or GitLab account
  2. You provide configuration options:
    • Project name (e.g. "formzero")
    • Database name (e.g. "formzero")
    • Auth secret (use jwtsecrets.com or openssl rand -hex 16 to generate one)
  3. Cloudflare builds and deploys FormZero to your account
  4. You get a unique URL (e.g. https://formzero.your-domain.workers.dev) to access your dashboard

Read the Cloudflare documentation for more details.


Update Your Deployment

New features are added regularly. To pull them in, redeploy with the Deploy to Cloudflare button and connect the new Worker to your existing database — your forms, submissions, and endpoint URLs are all preserved:

  1. In your Cloudflare dashboard, rename your existing Worker to <your-project-name>-backup — this frees the original name
  2. Delete the GitHub repository created by your previous deployment (it has the same name as the Worker)
  3. Click the Deploy to Cloudflare button above and use:
    • The same project name and database name as before
    • Your existing database when Cloudflare offers to connect to one
    • A new auth secret (generate one via jwtsecrets.com or openssl rand -hex 16)
  4. Once the new Worker is live and you have confirmed everything works, delete the backup

Websites submitting to your form endpoints keep working unchanged. You'll be signed out of the dashboard because of the new auth secret - sign back in with your existing credentials.


Tech Stack 🛠️


Contributing 🤝

Contributions are welcome - add features you need or fix bugs by opening an issue or submitting a pull request.


License

MIT

Frequently asked about FormZero

What is FormZero?+

FormZero is a self-hosted Formspree/Getform alternative built on the Cloudflare developer platform. Accept HTML or JSON form submissions and review them in a Cloudflare dashboard.

What does FormZero replace?+

FormZero is listed as an alternative to Formspree, Getform. Compare the features and tradeoffs before migrating.

What Cloudflare primitives does FormZero use?+

FormZero is built on D1, Workers.

How much does FormZero cost to run?+

The documented FormZero deployment can use Cloudflare Free allowances for a small workload under the request, CPU and service-specific quotas below. This is conditional eligibility, not a measured zero-cost deployment; optional features, domains and external providers can add costs. Workers Free allows 100,000 requests per day shared across the account and 10 ms CPU per invocation; measure CPU-heavy authentication, parsing and rendering before assuming it fits. Keep aggregate D1 use below 5 million rows read/day, 100,000 rows written/day and 5 GB total storage; a request can touch many rows. Use a small personal or team workload; domain registration and optional third-party providers are separate costs. Provision your own IDs, secrets and migrations. Check current Cloudflare pricing before deploying.

Is FormZero open source?+

The upstream repository declares the MIT license. Read its terms at https://raw.githubusercontent.com/BohdanPetryshyn/formzero/a4ddde255457d1e6ddf55b5f24b51809d18501f3/LICENSE. Source code and contributor credit are available at https://github.com/BohdanPetryshyn/formzero.

Community rating

No ratings yet. Tried this project? Share your experience.

One rating per verified account. You can change or remove yours. Accounts are email verified; use of the software is self-reported.

Discuss your experience ↓
Sign in to rate

Discussion · 0

sign in to comment →
No comments yet — be the first.