Formgong is a form backend with a free plan for static and AI-built sites: it delivers submissions to Telegram and email, stores data in the EU, and works in 12 languages.
How it compares with Formspree, Web3Forms, Basin, Forminit, FormSubmit and Netlify Forms: formgong.com/en/compare
A Next.js 15 (App Router) site with a working contact form. It has no API route, no Server Action and no email service. The browser posts to Formgong, a hosted form backend that delivers each message to your email and, optionally, to Telegram or webhooks.
npx degit formgong/nextjs-starter my-site # or click "Use this template"
cd my-site && npm install
cp .env.example .env.local # paste your access key
npm run dev- Sign up at https://formgong.com, create a form and copy its access key (
fk_…). - Put it into
.env.localasNEXT_PUBLIC_FORMGONG_ACCESS_KEY. The key is public by design, so theNEXT_PUBLIC_prefix is correct. - Deploy to Vercel, Netlify or Cloudflare and set the same env var there.
app/contact-form.tsx: a client component that POSTsFormDatawithAccept: application/jsonand shows Formgong's localized result inline. It sends:access_key;_lang, taken from<html lang>;- the
botcheckhoneypot; - a Cloudflare Turnstile token, only if
NEXT_PUBLIC_TURNSTILE_SITE_KEYis set.
app/layout.tsx: loads the optionalfg.js, which counts form views without cookies.
You don't need an /api/contact route, a Server Action, Resend/SendGrid/nodemailer or a database. Formgong stores and delivers each submission.
- Formgong: https://formgong.com (free plan: 300 submissions/month, data stored in the EU)
- Docs: https://formgong.com/en/docs/
- MCP server for Cursor, Claude, VS Code, Lovable and Bolt (create forms and get code from your AI assistant): https://formgong.com/en/docs/mcp/
- Prompts for AI builders: Lovable, Bolt, v0, Cursor, Replit
- Questions: [email protected]
MIT © Formgong