
OpenPorte is a free and open-source plugin that protects WordPress forms
from spam using a lightweight Proof-of-Work challenge instead of CAPTCHAs.
The goal is to make spam expensive for bots while keeping the experience almost
invisible for legitimate visitors and respecting their privacy.
For site owners, OpenPorte offers an easy to configure and deploy modern
spam protection under their control.
For the site users, it offers an accessible, transparent and privacy-friendly
alternative to CAPTCHAs.
OpenPorte is built around the open-source ALTCHA widget.
Some highlights:
For the list of contributors, refer to our GitHub project: Contributors.
AI-assisted project. Architecture, security decisions, and final review are
mine; AI tools (Claude, Mistral, and others) help with drafting code, tests,
translations, and documentation — without them, one person couldn’t keep
this fork alive.
The original ALTCHA Spam Protection WordPress plugin (v1) was open source
(GPLv2). Its authors have since released a version 2/3 which is no longer
open source. They no longer maintain the open source project and recommend
that users migrate to v2/v3. See the official project at https://altcha.org
for their offering.
OpenPorte started as a fork and continues the v1 line as free software
(GPLv2 or later) for users who want to stay on a fully open-source,
self-hosted solution. It is a faithful fork: existing v1 installations
can switch to OpenPorte and keep their settings (see Upgrading).
OpenPorte is backward-compatible with ALTCHA Spam Protection v1 plugin:
[altcha] shortcode keeps working (alongside the new [openporte]).altcha_* filters and actions keep firing as deprecated aliases.See the Deprecations section for the full list of compatibility aliases and
what they map to.
Deactivate the old ALTCHA plugin, then install and activate OpenPorte. Your
existing configuration is detected and copied into the OpenPorte settings on
first activation; the original ALTCHA settings are left untouched, so you can
roll back to ALTCHA v1 without losing anything. Do not run both plugins at the
same time.
If your site was already moved to ALTCHA v2/v3 (for example by the automatic
3.0.0 update), your original v1 settings are normally still in the database:
the v2/v3 upgrade neither migrates nor removes them. Deactivate ALTCHA, then
install and activate OpenPorte — it finds and imports the v1 settings, even
when the v1 plugin itself has long been deleted. Settings made in v2/v3 are
not read.
The following ALTCHA-era identifiers are kept as aliases for backward
compatibility and are scheduled for removal in a future release:
[altcha] shortcode — use [openporte].altcha/v1 REST namespace — use openporte/v1.altcha_* filters and actions — now firing through WordPress’ deprecatedopenporte_* equivalents.AltchaPlugin class and the ALTCHA_VERSION / ALTCHA_WIDGET_VERSIONOpenPortePlugin and the OPENPORTE_* constants.[openporte] shortcode instead. You canOpenPorte prioritizes user privacy by avoiding the use of cookies and fingerprinting techniques.
This plugin remains fully contained within your WordPress installation, eliminating any reliance on external services.
OpenPorte verifies submissions in one of two modes, selected in the settings
(API Mode):
The paid altcha.org regional SaaS classifier offered by earlier versions has
been removed; both remaining modes are free and self-hostable.
This plugin requires the WordPress REST API. If you are using any “Disable REST API” plugins, ensure that the endpoint /altcha/v1/challenge (marked for deprecation) and /openporte/v1/challenge are allowed.
[openporte] shortcode, or the deprecated [altcha] alias)All source code for the plugin, and the ALTCHA widget is available on GitHub. In the repository, you’ll also find versions of non-minified JavaScript and CSS assets: