Upload files from local or remote locations to 0x0.st.
The only dependency is curl, which can be installed from your distribution's repositories.
basher install Calinou/0x0
Using this installation method,
0x0 will be immediately available in your PATH.
# Download the script curl -LO https://raw.githubusercontent.com/Calinou/0x0/master/bin/0x0 # Make the script executable chmod +x 0x0 # Move the script to a location in your PATH sudo mv 0x0 /usr/local/bin
# Upload a local file 0x0 some_file.png # Upload an URL's contents (starting with `http://` or `https://`) 0x0 http://example.com
If the upload is successful, the file URL will be printed to standard output.
Copyright © 2018 Hugo Locurcio and contributors
Unless otherwise specified, files in this repository are licensed under the MIT license; see LICENSE.md for more information.