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.
#!/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
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.