All Projects → ram-on → imgurbash2

ram-on / imgurbash2

Licence: MIT license
A shell script that uploads/deletes images to/from IMGUR.

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to imgurbash2

BackgroundTransfer-Example
An example project looking at how to implement background transfers on iOS
Stars: ✭ 19 (-53.66%)
Mutual labels:  imgur, imgur-api
Imgur.sh
Bart's Imgur uploader bash script
Stars: ✭ 145 (+253.66%)
Mutual labels:  imgur, bash-script
imgur-scraper
Retrieve years of imgur.com's data without any authentication.
Stars: ✭ 26 (-36.59%)
Mutual labels:  imgur, imgur-api
Imgur.API
Imgur.API is a .NET implementation of Imgur's API.
Stars: ✭ 39 (-4.88%)
Mutual labels:  imgur, imgur-api
walgur
💻 Set your desktop background from randomly picked Imgur links! 🖼️
Stars: ✭ 20 (-51.22%)
Mutual labels:  imgur, imgur-api
saveddit
Bulk Downloader for Reddit
Stars: ✭ 130 (+217.07%)
Mutual labels:  imgur, imgur-api
rbackup
Shell script for encrypted backups with rsync and GnuPG
Stars: ✭ 22 (-46.34%)
Mutual labels:  bash-script
bash-tpl
A smart, lightweight shell script templating engine, written in Bash
Stars: ✭ 26 (-36.59%)
Mutual labels:  bash-script
Octopus
Octopus - Network Scan/Infos & Web Scan
Stars: ✭ 25 (-39.02%)
Mutual labels:  bash-script
vsc-markdown-image
Easy to insert a image to markdown
Stars: ✭ 140 (+241.46%)
Mutual labels:  imgur
api-test
🌿 A simple bash script to test JSON API from terminal in a structured and organized way.
Stars: ✭ 53 (+29.27%)
Mutual labels:  bash-script
md-file-tree
Generate markdown list of all the files in a directory. Now also with emoji 📂 📄
Stars: ✭ 130 (+217.07%)
Mutual labels:  bash-script
scripts
Collection of useful scripts for Linux (git, docker, LUKS, Archlinux...)
Stars: ✭ 36 (-12.2%)
Mutual labels:  bash-script
zBuster
Bash script for CTF automating basic enumeration
Stars: ✭ 20 (-51.22%)
Mutual labels:  bash-script
imgur-Extension
Former repository for the imgur Community Extension
Stars: ✭ 53 (+29.27%)
Mutual labels:  imgur
covid19 JHU dashboard
This script pull the data from JHU dashboard in real-time
Stars: ✭ 12 (-70.73%)
Mutual labels:  bash-script
ubuntu-1804
🔵 Curso GRÁTIS Linux Ubuntu Server 18.04.x LTS - REPOSITÓRIO CONGELADO - Esse repositório não irá mais receber atualizações. Novo repositório: vaamonde/ubuntu-2004
Stars: ✭ 99 (+141.46%)
Mutual labels:  bash-script
soap2day-dl
📺 Soap2day downloader: download TV series and movies in your terminal
Stars: ✭ 29 (-29.27%)
Mutual labels:  bash-script
sysz
An fzf terminal UI for systemctl
Stars: ✭ 1,258 (+2968.29%)
Mutual labels:  bash-script
cis-benchmark-centOS-8
Auditing Script based on CIS-BENCHMARK CENTOS 8
Stars: ✭ 34 (-17.07%)
Mutual labels:  bash-script

imgurbash2

imgurbash2 is a simple bash script that allows you to upload images to imgur. Once an image is uploaded, the link is displayed on the terminal and copied to your clipboard (see below or refer to the manual).

Tested on Linux, macOS and FreeBSD.

Features

  • Upload remote HTTP/HTTPS images to imgur.
  • Upload multiple images at one go.
  • Upload images to your album and to your account.
  • Delete previously uploaded images.
  • Automatically images deletion.
  • Copy uploaded images' URLs to clipboard.

Usage

Upload Images

Upload the images named cow.png and fish.jpg to imgur:

imgurbash2 cow.png https://myserver.io/fish.jpg

The above command will output something like this:

http://i.imgur.com/HDVh123.png (Delete Hash = mo02q3r)
http://i.imgur.com/QCfh256.png (Delete Hash = blub1qx)

The outputted links are the URLs of the uploaded images. Such URLs are copied to your clipboard if the right programs are installed.

Upload To Your Album

Upload the image named cow.png to your imgur album:

imgurbash2 -l -a abc134 cow.png

Delete Images

imgurbash2 ~/tmp/test.png
http://i.imgur.com/HDVh123.png (Delete Hash = vgdTM62vQ08xaxa)

To delete the above uploaded image:

imgurbash2 -d vgdTM62vQ08xaxa

Automatically Image Deletion

imgurbash2 -D 5m ~/tmp/test.png

Uploaded image will automatically be deleted after 5 minutes.

Manual

More examaples and a detailed manual is available at https://github.com/ram-on/imgurbash2/blob/master/examples.md. Details about the configuration file are also explained.

Installation

Linux / macOS / UN*X

curl -O https://raw.githubusercontent.com/ram-on/imgurbash2/master/imgurbash2
chmod u+x imgurbash2

Arch Linux / Manjaro / Antergos

yay -S imgurbash2

Dependencies

Program Optional Reason
bash 4.0+ No To run this script. Given that macOS ships with an old Bash version, it is recommended that the latest Bash is installed via brew install bash
curl No Uploads images
xsel, xclip or wl-copy Yes Copies URL (image) link to clipboard if using Linux - no separate program is required for macOS

License

MIT License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].