Version 23 (modified by anonymous, 7 years ago) (diff)


Add a pastebin component to Trac

Notice: This plugin is unmaintained and available for adoption.


Adds a basic pastebin functionality to a webpage. It requires Trac >= 0.11 and Pygments > 0.5.

For some screenshots have a look at the attachments. But note that they are taken on my test trac installation with a heavily modified theme.

The TracPastePlugin provides several features:

  • Paste events are shown in the timeline.

Several additional features have been proposed:

Bloodhound compatibilty

Since version 0.2.3 users may enable BloodhoundPaste component in order to get a new user interface powered by Twitter Bootstrap and compatible with Apache(TM) Bloodhound .

No image "bh_pastebin_x_99_mainform.png" attached to TracPastePlugin

No image "bh_pastebin_x_100_pasteview.png" attached to TracPastePlugin

Bugs/Feature Requests

Existing bugs and feature requests for TracPastePlugin are here.

If you have any issues, create a new ticket.

Download and Source

Download the zipped source from [download:tracpasteplugin here], check out using Subversion, or browse the source with Trac.


  1. Make sure the Pygments Python package is installed
  2. Either: Download, build egg, drop into your plugins folder,
    or: easy_install
  3. Enable it through WebAdmin or by editing trac.ini: [components] tracpaste.* = enabled
  4. Run trac-admin $TRAC_ENV upgrade
  5. Restart web server
  6. Add the permissions PASTEBIN_VIEW, PASTEBIN_CREATE, PASTEBIN_DELETE and PASTEBIN_ADMIN that you'd like your users to have.
  7. It should now be visible on the main navigation bar and available under /pastebin.

Recent Changes

17747 by rjollos on 2020-05-16 18:30:57
TracPaste 0.4dev: Remove bloodhound support

Added in r12575, however Bloodhound is no longer
under active development.

Refs #10833.

17746 by rjollos on 2020-05-16 18:27:41
TracPaste 0.4dev: Fix import for Trac 1.4+
16349 by rjollos on 2017-03-18 15:07:04
0.3.0: Prepare for release


Author: mitsuhiko
Maintainer: rjollos
Contributors: otaku42, olemis

Attachments (2)

Download all attachments as: .zip