A small, self-contained script that uploads an image to imgbb.com
You will need an imgbb account to create an API key. You can create an account here and API token here.
$ export IMGBB_API_KEY=<insert-key-here>
$ imgbb ~/Screenshots/hello.jpg
$ Success: https://ibb.co/809fdsal
- You can only upload 1 image at a time.
- File sizes are not checked pre-upload.