From 4afff38601a86bb7b26babe5833d217f00a398b9 Mon Sep 17 00:00:00 2001 From: Joe Robinson Date: Mon, 21 Jul 2014 16:40:34 +0100 Subject: Added readme --- README | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 README diff --git a/README b/README new file mode 100644 index 0000000..db0e402 --- /dev/null +++ b/README @@ -0,0 +1,28 @@ +blapaste + +Very simple pastebin clone written in PHP + +Source code of http://p.of.je + +Usage: Place in a directory accessible from a web browser, navigate to +that page, type something into the text area, click submit. This will +create a file with the contents that you typed into the form. + +Can also be used with pastebinit (https://launchpad.net/pastebinit) +which should be available in package managers for most Linux distros. +After installing pastebinit, copy the p.of.je.conf file into +/usr/share/pastebin.d then can be used with -b p.of.je, e.g - + +df -h | pastebinit -b http://p.of.je + +Will copy the output of df -h to http://p.of.je, then return the URL +where it can be viewed + +Requirements: + +PHP (Tested with 5.5, assumed to work with any recent version) +An HTTP Server (Tested with Apache 2.2) + +Author: Joe Robinson + + -- cgit v1.2.3