A very simple pastebin web application.
Authentication is not enforcer, instead users are identified by an external source that must set the REMOTE_USER
environment variable.
To generate the required CSS you need to pick a style from the list of available styles (see Pygments Demo) and run the command:
$ pygmentize -f html -S <stylename> > pasticcio/static/css/pygments.css
A crontab entry must be setup to expire pastes; for example to run the expire command every 5 minutes you must write the following line in /etc/cron.d/pasticcio-expire
:
*/5 * * * * /path/to/bin/pasticcio -c /etc/pasticcio.conf cleaner
All code is BSD licensed, see LICENSE file.