About the dpaste.com pastebin

New

7460 pastes in the database

Plain text   6030
Python console session   475
Python 2   237
JavaScript   88
Python 2 traceback   74
Bash   51
Diff   43
HTML   39
TeX   39
JSON   36
Ruby   29
Python 3   29
PHP   28
...and 262 more

Add yours

Usage

Use dpaste.com to share pieces of code in chat rooms, forums, and the like, without pastebombing the conversation. You get a nice short URL like dpaste.com/1S2BP7E. All paste URLs are "private" (non-sequential). You can set expiration from 1 day to 365 days (7 days is the default).

There's also a simple RESTful API for creating new pastes.

Tips

Construction

A lot of pieces have to come together to make even a simple web application like this. Here's a big unordered list:

Language: Python. Framework: Django. Syntax coloring: Pygments. WSGI server: Gunicorn. Reverse proxy web server: nginx. Static files: Amazon S3. Database: SQLite. Operating system: FreeBSD. Hosting: JohnCompanies. Base 32 conversion for IDs: basewhat. Hashing: MurmurHash. Administration tooling: Fabric. Process control: Supervisor. Version control: Mercurial. Project hosting: Bitbucket.

For more details, see my blog post "The story of dpaste.com 2.0".

Backstory

This site was created in 2006 by me, Paul Bissex. I wanted Django coders in Freenode's #django IRC channel to have a pastebin written in their favorite framework. I wanted it to be simple, useful, and stable. By Django 1.0, the "Share this traceback" button using dpaste.com was added to Django's debug page, and remains there today.

You can send comments, questions, and exorbitant acquisition offers via email. The address is my initials @ this domain.