Pastebin 0.50 released – with expiry control

Pastebin was conceived as a way to post code into an IRC or IM conversation, so the post itself was thought to be quite ephemeral. Therefore, the database didn’t retain posts for very long. However, this has surprised some users, who expected a little more permanence.

I’ve rectified this in v0.50. There are three options to suit various users

  • expiry in a day – great for IRC or IM, where the post will be read pretty much immediately and then fall out of use
  • expire in a month – great for exploring code ideas or problems via email
  • never expire – the post lives forever. This is really for retaining code snippets you want to share with others.

I’m going to add more features that will make pastebin more useful for long term storage of code snippets, watch this space!

Download GPL’d source code, or just play with it at

7 thoughts on “Pastebin 0.50 released – with expiry control

  1. Pingback: Pasteosaurus → The Jim Whimpey Weblog

  2. John Mann

    I was testing out setting this up on a personal system, and had to figure out an extra step that your installation document didn’t cover (or I didn’t see?). When using the mod_rewrite to convert the short urls to long ones, it caused the .css and .js files to not be loaded. In my VirtualHost section, I had to add the line “RewriteRule /pastebin(.*) /pastebin$1 [PT]” to get the install to function properly. Not sure if this is something on my server setup that didn’t like the default way or not, but all is good after adding that additional line.

  3. Adam Derewecki

    I second John Mann’s post — I needed to add that same rule to my mod_rewrite configuration.

    Other than that, thank you Paul for this app! It makes life so much easier!

Comments are closed.