Version 2 (modified by SiNiESTrO, 6 years ago) (diff)

I wrote installation instructions here because developer instructions doesn't works correctly and his wiki is closed to collaboration.

TracRecaptchaPlugin is a Trac plugin that adds a CAPTCHA (using reCAPTCHA) to ticket forms. This plugin only works in Trac 0.10, as far as I know.

Working installation steps (at least for python2.4) [setuptools needed]:


  • Once you have it installed you'll need to modify your ticket templates and add your keys to your trac.ini file. In your ticket.cs and newticket.cs files, insert the following code somewhere before your submit buttons:
    <?cs var:recaptcha_javascript ?>
  • If you only want recaptcha for anonymous users, add:
    <?cs if:trac.authname == "anonymous" ?>
    <?cs var:recaptcha_javascript ?>
    <?cs /if ?>
  • Edit your conf/trac.ini file and add these lines, including your public and private reCAPTCHA keys:
    recaptcha_plugin.* = enabled
    public_key = 
    private_key =

The plugin is hosted at: