
mosparo
Rule-based form spam protection without CAPTCHAs
301 stars 17 forks last commit first released MIT
Actively maintained
Last commit 11 Jul 2026.

mosparo is a self-hosted, rule-based spam protection system for web forms that detects spam by evaluating form field content rather than forcing users to solve CAPTCHAs. It focuses on accessibility, data minimization, and privacy while providing configurable rules to block unwanted submissions.
Key Features
- Rule-based spam detection that inspects individual form fields for disallowed words, patterns, or content
- Collects only form data, client IP, and user agent; data is encrypted or hashed before storage
- Automatic data retention policy that deletes stored form entries after approximately 14 days
- Accessible UX: no image puzzles or obscure interactions, compatible with screen readers and keyboard navigation
- Customizable checkbox widget for embedding and styling to match sites
- Supports multiple storage backends (MySQL/MariaDB, PostgreSQL, SQLite) and optional caching (Redis/Memcached)
- Lightweight PHP implementation with frontend assets built via Node tooling
Use Cases
- Protecting contact, comment, and signup forms from automated spam without degrading accessibility
- Integrating a privacy-focused spam filter into existing web apps or CMS forms
- Centralizing form-protection rules for multiple sites or forms on a single self-hosted instance
Limitations and Considerations
- Detection effectiveness depends on rule quality and coverage; additional tuning is often required to reach high block rates
- Not a behavioral CAPTCHA replacement for highly sophisticated bot farms; may need complementary defenses for advanced attacks
mosparo is a practical, privacy-oriented alternative to traditional CAPTCHAs that emphasizes accessibility and configurability for site operators seeking a self-hosted spam protection solution.
Categories:
Tags:
Tech Stack:
Similar to mosparo
Private Captcha
Privacy-first, self-hosted proof-of-work CAPTCHA service
Privacy-first, GDPR-focused self-hosted Proof-of-Work CAPTCHA for forms and APIs with an adaptive lightweight widget and Postgres/ClickHouse backend.
Chiyogami
Self-hosted pastebin with client-side encryption and REST API
Modern pastebin offering client-side encryption, configurable expiry, user accounts, public search and a REST API. Built with Go, SQLite and TailwindCSS.

Onetime Secret
Self-destructing service for sharing single-use encrypted secrets
Open-source web and API service to create encrypted, single-view links for sharing secrets with configurable expiry and optional passphrase protection.


FlashPaper
One-time encrypted secret sharing web application
Simple PHP app for one-time encrypted secret sharing. Stores encrypted secrets in SQLite, deletes on retrieval, and provides a curl API and Docker images.


SimpleX Chat
Open-source encrypted messenger with no user identifiers
Open-source, decentralized messaging network built on a Haskell core with Kotlin Multiplatform and native iOS clients; end-to-end encrypted messaging without user IDs.

CryptPad
End-to-end encrypted collaborative office and document suite
CryptPad is an end-to-end encrypted collaboration suite with real-time editors, file storage, and sharing, designed to keep document contents private from servers and admins.




