imgur-upload

uploads images to Imgur from the command line

TLDR

Upload image
$ imgur-upload [image.png]
Upload from clipboard
$ imgur-upload -c
Upload with custom title
$ imgur-upload -t "[My Image]" [image.jpg]
Upload from URL
$ imgur-upload -u "[https://example.com/image.png]"

SYNOPSIS

imgur-upload [options] [file]

DESCRIPTION

imgur-upload uploads images to Imgur from the command line. It returns the direct image URL, useful for sharing screenshots or images quickly.Various implementations exist; some require Imgur API credentials while others use anonymous uploads.

PARAMETERS

file

Image file to upload.
-c, --clipboard
Upload from clipboard.
-u, --url url
Upload image from URL.
-t, --title text
Image title.
-d, --description text
Image description.
-a, --album id
Add to album.

EXAMPLE SCRIPT

$ #!/bin/bash
# Screenshot and upload
scrot /tmp/screenshot.png
url=$(imgur-upload /tmp/screenshot.png)
echo "$url" | xclip -selection clipboard
notify-send "Uploaded: $url"

CAVEATS

Requires Imgur API key for some versions. Anonymous uploads may have limits. Images may be removed if violating TOS. Multiple implementations exist with different features.

HISTORY

Various imgur command-line uploaders have been created by the community. They provide quick image sharing from the terminal, popular with screenshot workflows and automation.

SEE ALSO

curl(1), scrot(1), xclip(1)