Open Source & Self-Hosting

Open-Source Form Backend You Can Self-Host with Docker

Start with managed hosting at formgrid.dev or deploy the MIT-licensed core form backend on your own server with PostgreSQL, Redis, and Docker Compose for full data ownership.

Quick answer: Honest scope of MIT self-hosting vs. Managed Cloud

Formgrid publishes its core form backend, React/Vite dashboard, and docker-compose.yml under the MIT license at https://github.com/allenarduino/formgrid. Self-hosting gives you full server and database control (local disk, MinIO, AWS S3, or GCS uploads), while managed cloud at formgrid.dev adds multi-tenant infrastructure, Paddle billing, managed cloud email quotas, and managed AI Smart Inbox & AI website credits.

Start Formgrid self-hosted stack with Docker Compose

git clone https://github.com/allenarduino/formgrid.git
cd formgrid
cp packages/api/.env.example packages/api/.env
# Configure JWT_SECRET, database, and EMAIL_PROVIDER in packages/api/.env
docker compose -f docker/docker-compose.yml up --build -d

Permissive MIT License

Inspect the source, audit submission handling and spam checks, or deploy inside private infrastructure without proprietary enterprise lock-in.

Flexible file storage adapters

Store uploaded files on local disk, bundled MinIO, AWS S3, or Google Cloud Storage via FILE_STORAGE_TYPE configuration.

Same endpoint contract everywhere

Whether running on localhost:4001, your own VPS, or formgrid.dev, forms submit cleanly to POST /api/f/{endpointSlug}.

Self-Hosted MIT Core vs. Managed Cloud (formgrid.dev)

Choose Self-Hosted Docker when...

  • Data residency or internal compliance requires submissions and uploads to stay inside your own VPC.
  • You already manage PostgreSQL, Redis, TLS reverse proxies, and SMTP/Resend credentials.
  • You want to customize or extend the MIT-licensed backend directly.

Choose Managed Cloud when...

  • You want zero server maintenance starting Free ($0, 50 subs/mo) or Premium ($12/mo monthly or $10/mo annual).
  • You want managed email deliverability, AI Smart Inbox reply drafts, and AI website credits ready immediately.
  • You want automatic updates, backups, and founder support without ops overhead.

Included Docker Compose architecture

  1. 1 PostgreSQL 15 database container (db) for forms, submissions, and lead CRM state.
  2. 2 Redis 7 container (redis) for async file processing and email queue jobs.
  3. 3 Optional MinIO container (minio) for S3-compatible self-hosted file uploads.
  4. 4 Express + TypeScript backend (backend) and Vite + React dashboard (frontend).

Frequently asked questions

The core repository at https://github.com/allenarduino/formgrid is licensed under the MIT License.

No. Managed Paddle billing, hosted cloud infrastructure, and managed AI Smart Inbox / AI website credits belong to the hosted cloud platform at formgrid.dev. Self-hosted deployments configure their own database, storage, and email keys.

Yes. Because both use the same /api/f/{endpointSlug} form submission pattern and clean HTML/FormData integration, switching your form action URL moves traffic cleanly.

Related guides & resources

Your form builder, lead pipeline, and form backend in one place.

Whether you are sharing a form link on WhatsApp, pointing your HTML form to a Formgrid endpoint, or tracking leads through a built-in pipeline, get it done in 2 minutes.

Start Free. No Credit Card Required