close Warning:

Version 6 (modified by jaharkes, 10 years ago) (diff)


Trac reCAPTCHA filter


This filter uses the free service from to check if a content submitter is a human or a computer. Once a captcha is solved it will allow a configurable number of submissions for a configurable time period until it requires another captcha to be solved.

Release 1.5 also includes mailhide functionality which hides most email addresses behind a captcha, if the email address is already a link for something else we show only the full name, or local part of the email address.

Release 1.7 will introduce support for Trac 0.11.

This implementation was tested with Trac 0.10.


  • download the attached .egg file, copy it to $tracdir/plugins and restart trac.
  • optionally install the TracWebAdmin plugin.


Use the Admin -> Spam Filtering -> reCAPTCHA page to configure the settings or add the following to $tracdir/conf/trac.ini

recaptcha_public_key = ...
recaptcha_private_key = ...
recaptcha_lifetime = ...
recaptcha_submissions = ...
mailhide_public_key = ...
mailhide_private_key = ...

Attachments (12)

Download all attachments as: .zip