A pastebin.com/pastie.org clone based on flask
.
Live example can be found here.
- Paste expiration
- Syntax highlighting
- A sidebar with recent (public) pastes
- Filesystem based - so no database required
$ apt-get install libevent-dev python-dev python-virtualenv python-pip
$ virtualenv paste_service
$ cd $_
$ git clone https://github.com/skftn/flask-pastebin.git
$ source bin/activate
$ cd flask-pastebin/
$ pip install -r requirements.txt
$ python paste.py
Coded in 5 hours; the mileage you get out of this may very.