#!/usr/bin/env bash # Makes interacting with the 0x0.st service easy. Just pipe command output # into 0x0 or point $0 to a file input="-" if [[ -n $1 ]]; then input=$1 fi curl -F "file=@${input}" https://0x0.st