Introducing phorkie: git based pastebin

At work, we've been looking for a pastebin application with a special feature set:

We did not find anything suitable after researching for some days. Since I needed a new spare time project, I began working on phorkie.

After working on it for a month, I've just released the first version 0.1.0 and you're welcome to try it.


phorkie is a self-hosted pastebin software written in PHP. Pastes are editable, may have multiple files and are stored in git repositories.

It turned out to be a clone of github's gist tool, but with less features - for now.


Missing tools

For the history/log display, I wanted to display the timestamps in a human readable manner, e.g. "5 minutes ago" instead of 2012-04-18 22:36.

Looking for existing libraries, I found plenty for Python and Javascript, but not a single one for PHP. After asking on stackoverflow without getting a usable answer, I wrote my own and proposed it to PEAR: Date_HumanDiff.


new paste paste list history tools

Also see the wiki.


The code is in a git repository but also mirrored on github for your convenience.


Written by Christian Weiske.

Comments? Please send an e-mail.