haste
Be really pretty. Be really simple.
haste is a simple cross-platform hastebin command-line client.
Installation
Binaries
download a binary from the releases
page.
Build from source
Go 1.16 or higher required. (install instructions)
go install github.com/fawni/haste@latest
Usage
$ 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.
Disclaimer
the client defaults to my own instance. it is recommended to use a more reliable instance such as hastebin.cc.
license
ISC