Brian's Pastebin


Instructions

This is a simple pastebin website. Using curl, or any other method to POST some data to /upload, the response is a URL you can use to send that data elsewhere.

Example

#!/usr/bin/env bash
# Brian Chrzanowski
# a small `upload` utility

[ $# -ge 1 -a -f "$1" ] && input="$1" || input="-"
cat $input | curl --data-binary @- https://paste.chrzanowski.me/upload

Links

GH Source
If you find any bugs, or innappropriate content in the pastebin, feel free to send me an email at: chrzanowskitest at gmail dot com.