# Rondyr: Open-Source Self-Hosted Form Backend for Cloudflare

> Open-source, self-hosted form backend with classifier-model spam filtering (Jev and OpenAI Decisions). Deploy in one click to your Cloudflare account.

- Website: https://rondyr.com/
- GitHub: https://github.com/basaltbytes/rondyr
- One-click deploy: https://deploy.workers.cloudflare.com/?url=https://github.com/basaltbytes/rondyr
- License: AGPL-3.0 (EmDash plugin: MIT)
- Full documentation bundle: https://rondyr.com/llms-full.txt

## Summary

Rondyr is an open-source, self-hosted form backend with classifier-model spam filtering (Jev on Cloudflare Workers AI or OpenAI Decisions) that runs in your own Cloudflare account. Point any HTML `<form>` or JSON `fetch` call at Rondyr; every submission is saved first, screened for spam, unsolicited sales pitches, and business relevance, and either forwarded automatically or placed in a To review quarantine inbox so real messages are never silently deleted.

## Example HTML form

```html
<form action="https://rondyr.example.com/f/YOUR_PUBLIC_ID" method="post">
  <input type="email" name="email" required />
  <textarea name="message" required></textarea>
  <button type="submit">Send</button>
</form>
```

## Rondyr vs. hosted form backends

| Aspect | Rondyr (self-hosted) | Hosted form SaaS (Formspree, Basin, Web3Forms) |
| --- | --- | --- |
| Hosting and data ownership | Runs in your own Cloudflare account; submissions stay under your control. | Stored on a third-party vendor's servers. |
| Deployment | One-click Deploy to Cloudflare button, or Alchemy with GitHub Actions. | SaaS account signup and vendor dashboard. |
| Pricing and limits | Open-source (AGPL-3.0). Pay Cloudflare Workers Paid ($5/month per account) with no per-form or per-submission SaaS markup. | Monthly tiers billed per form, per seat, or per submission cap. |
| Spam and sales-pitch filtering | Classifier models (Jev on Workers AI or OpenAI Decisions) score spam, unsolicited sales pitches, and business relevance, layered with honeypot and Turnstile. | CAPTCHA widgets or generic keyword and IP blocklists. |
| Uncertain messages | Held in To review quarantine with a plain reason until a person accepts or archives them; real leads are never silently dropped. | Often blocked at intake or dropped into a hidden spam folder. |
| Forwarding and integrations | Resend, Cloudflare Email Sending, HMAC-SHA-256 webhooks, Discord, Slack, Airtable, EmDash plugin, and HTTP API. | Webhooks and integrations often gated behind higher paid plans. |

Choose a hosted SaaS form builder instead if you need drag-and-drop multi-step surveys, file attachments, or zero Cloudflare account setup.

## Frequently asked questions

### Is Rondyr free and open source?

Yes. Rondyr is licensed under AGPL-3.0, and the EmDash plugin is MIT-licensed. You pay Cloudflare directly for Workers Paid ($5/month per account) and your email provider if you send emails, with no per-form or per-submission SaaS markup.

### What spam classifier models does Rondyr use?

Rondyr uses Jev on Cloudflare Workers AI by default (no extra API keys required) and also supports the OpenAI Decisions API through Cloudflare AI Gateway unified billing. You can configure the second model as a tiebreaker for uncertain messages, alongside honeypot fields, Cloudflare Turnstile, rate limits, and repeat detection.

### Why self-host Rondyr instead of a hosted form service like Formspree or Basin?

Every submission stays in your own Cloudflare account, never on a third-party form SaaS server. You avoid per-form or per-submission pricing tiers, get classifier-model spam and sales-pitch screening tuned to your business description, and review doubtful messages in quarantine instead of losing real leads to silent spam drops. The trade-off is running your own Cloudflare Workers Paid account.

### Does Rondyr work with static sites and frameworks like Astro, Next.js, or Hugo?

Yes. Any page that can render an HTML form or call fetch with JSON works with Rondyr, including plain HTML, Astro, Next.js, Hugo, Eleventy, Jekyll, and SvelteKit. You can also forward submissions from your own server with API tokens and idempotency keys, or connect an EmDash site with the official plugin.

### How do I deploy and update a self-hosted Rondyr instance?

Select Deploy to Cloudflare to copy the repository to your GitHub or GitLab account and deploy in a few minutes without a terminal. Updates arrive through the included Update Rondyr GitHub Actions workflow, or you can deploy from a fork with Alchemy and GitHub Actions on a custom domain.

### Where are form submissions stored, and how are they forwarded?

Submissions are stored in your Cloudflare account with configurable automatic retention and CSV or JSON Lines exports. Accepted messages go out automatically through Resend or Cloudflare Email Sending, HMAC-SHA-256 signed webhooks, or built-in Discord, Slack, and Airtable connectors.

## Documentation

### Run an instance

- [Deploy Rondyr](https://rondyr.com/deployment.md) ([HTML](https://rondyr.com/deployment/))
- [Team and accounts](https://rondyr.com/team.md) ([HTML](https://rondyr.com/team/))
- [Costs and limits](https://rondyr.com/costs.md) ([HTML](https://rondyr.com/costs/))

### Forms and messages

- [Put a form on your site](https://rondyr.com/forms.md) ([HTML](https://rondyr.com/forms/))
- [Fight spam](https://rondyr.com/spam-protection.md) ([HTML](https://rondyr.com/spam-protection/))
- [Read and sort messages](https://rondyr.com/inbox.md) ([HTML](https://rondyr.com/inbox/))

### Forward messages

- [Send messages by email](https://rondyr.com/email.md) ([HTML](https://rondyr.com/email/))
- [Send messages to a webhook](https://rondyr.com/webhooks.md) ([HTML](https://rondyr.com/webhooks/))
- [Send messages to Discord, Slack or Airtable](https://rondyr.com/connectors.md) ([HTML](https://rondyr.com/connectors/))

### Plugins

- [Connect an EmDash site](https://rondyr.com/emdash.md) ([HTML](https://rondyr.com/emdash/))

### Reference

- [HTTP API](https://rondyr.com/api.md) ([HTML](https://rondyr.com/api/))

### Project

- [Contributing](https://rondyr.com/contributing.md) ([HTML](https://rondyr.com/contributing/))
