Add a pastebin component to Trac

Notice: This plugin is unmaintained and available for adoption.


This plugin adds a basic pastebin functionality to a webpage.

Key features:

  • Paste events are shown in the timeline
  • paste TracLinks
  • Pastes are searchable

Some additional features have been proposed:

Some screenshots are included below, using a heavily modified theme.

Bugs/Feature Requests

Existing bugs and feature requests for TracPastePlugin are here.

If you have any issues, create a new ticket.


20 / 21


6 / 13


2 / 3


Download the zipped source from here.


Check out TracPastePlugin from here using Subversion or browse the source with Trac.


  1. Make sure the pypi:Pygments package is installed.
  2. Either: Download, build egg, drop into your plugins folder,
    or: easy_install
  3. Enable it through WebAdmin or by adding the following to your trac.ini file:
    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 would like your users to have.
  7. The plugin menu item 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: none (needsadoption)
Contributors: otaku42, olemis, ejucovy

Last modified 4 years ago Last modified on May 16, 2020, 6:57:38 PM

Attachments (2)

Download all attachments as: .zip