Be really pretty. Be really simple.
haste is a simple cross-platform hastebin command-line client.
download a binary from the releases page.
Go 1.16 or higher required. (install instructions)
go install github.com/fawni/haste@latest
$ haste # interactively prompts you for data
$ haste "text here" # uploads "text here" to hastebin and prints the url
$ haste -f file.go # uploads content of file.go to hastebin and prints the url
$ echo "text" | haste -i "https://hastebin.cc" -r # uploads "text" to a custom haste instance and prints the raw url
haste -h
for more info.
the client defaults to my own instance. it is recommended to use a more reliable instance such as hastebin.cc.