Pastebin is a service that allows you to "paste" any text and share it with others, publicly or privately. I am in need of a piece of self-hosted software that does exactly what pastebin does, but without the need of a 3rd party.
To give you some context, I am attempting to create an error reporting/support service for my bukkit plugin and I need something that not only uploads a log file, but also can be shared with the user. Pastebin's API would be a great thing for this, but they limit the data to just 500kb and I would rather not send personal information through a 3rd party. I need this software to have a built in API so that I can submit data via POST and have it return a link to the paste, just like what pastebin does.
- It must be self-hosted
- It must be gratis (free) and it would be preferred if it was floss (open source) but that's not a requirement
- It must have a built in API so I may submit my data
- The API must be able to get data (the text I am sending it), and return the link to the paste
- It is preferable if its made with php and be integrated into my website (I don't have tons of RAM on my VPS, so I don't really want to run additional services if I don't have to)
- Syntax highlighting would be pretty nifty, but not required