Version 17 (modified by rjollos, 5 years ago) (diff)

List permissions.

Add a pastebin component to Trac


Adds a basic pastebin functionality to a webpage. It requires trac0.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.

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 extension is installed
  2. Either: Download, build egg, drop into your plugins folder,
    or: easy_install
  3. Enable it over webadmin or by editing trac.ini: [components] tracpaste.* = enabled
  4. Run trac-admin /path/to/project upgrade
  5. Restart web server
  6. Add permission PASTEBIN_USE to users/groups that should be able to access it
  7. It should now be visible in menu and available under /pastebin.



Recent Changes

15264 by rjollos on 2016-02-11 05:22:34
Remove unnecessary svn:mime-type on py files

svn:mime-type was set to "plain" for many files.

14799 by rjollos on 2015-07-13 02:25:09
0.3.0dev: Refactored IEnvironmentSetupParticipant per discussion in trac:#8172.
14798 by rjollos on 2015-07-12 08:44:16
0.3.0dev: Adapt to Trac 1.1.6dev API. Fixes #5658, #7204.


Author: mitsuhiko
Maintainer: otaku42

Attachments (4)

Download all attachments as: .zip