All Projects → tremby → Imgur.sh

tremby / Imgur.sh

Licence: unlicense
Bart's Imgur uploader bash script

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Imgur.sh

imgurbash2
A shell script that uploads/deletes images to/from IMGUR.
Stars: ✭ 41 (-71.72%)
Mutual labels:  imgur, bash-script
Homura
Windows Games Launcher for FreeBSD 🎮
Stars: ✭ 134 (-7.59%)
Mutual labels:  bash-script
Robotics setup
Setup Ubuntu 18.04, 16.04 and 14.04 with machine learning and robotics software plus user configuration. Includes ceres tensorflow ros caffe vrep eigen cudnn and cuda plus many more.
Stars: ✭ 110 (-24.14%)
Mutual labels:  bash-script
Fancy Git
That's a simple prompt changer to show a few cool git informations about your repository on terminal. You can choose among 13 styles and enjoy all the aliases it provides you. Feel free for contributing, pull requests and issues are always welcome! ;)
Stars: ✭ 123 (-15.17%)
Mutual labels:  bash-script
Quickxss
Automating XSS using Bash
Stars: ✭ 113 (-22.07%)
Mutual labels:  bash-script
Introduction To Bash Scripting
Free Introduction to Bash Scripting eBook
Stars: ✭ 1,903 (+1212.41%)
Mutual labels:  bash-script
Whereami
A short shell script that returns you your IPv4 address and its geolocation.
Stars: ✭ 108 (-25.52%)
Mutual labels:  bash-script
Mac admin
Helpful scripts & configuration profiles for the Mac admin community
Stars: ✭ 139 (-4.14%)
Mutual labels:  bash-script
Bashinator
Bashinator: Bash Shell Script Framework
Stars: ✭ 133 (-8.28%)
Mutual labels:  bash-script
Spring Boot Blog
Simple blog web app made using Spring Boot + Thymeleaf
Stars: ✭ 121 (-16.55%)
Mutual labels:  bash-script
Bash Full Of Colors
Advanced .bashrc and .bash_profile coming together with colorful output.
Stars: ✭ 118 (-18.62%)
Mutual labels:  bash-script
Eternalview
EternalView is an all in one basic information gathering and vulnerability assessment tool
Stars: ✭ 118 (-18.62%)
Mutual labels:  bash-script
Epsxe64ubuntu
Install ePSXe Linux (x64) & shaders using BIOS HLE and Core Plugins on x86-64 Debian, Ubuntu, Linux Mint and their derivatives.
Stars: ✭ 130 (-10.34%)
Mutual labels:  bash-script
Iuvolt
Script to undervolt Intel CPUs
Stars: ✭ 114 (-21.38%)
Mutual labels:  bash-script
Lazydroid
bash script to facilitate some aspects of an Android application assessment
Stars: ✭ 134 (-7.59%)
Mutual labels:  bash-script
Pwd.sh
GPG symmetric password manager
Stars: ✭ 1,468 (+912.41%)
Mutual labels:  bash-script
Bpkg
Lightweight bash package manager
Stars: ✭ 1,601 (+1004.14%)
Mutual labels:  bash-script
Cloudflare Api V4 Ddns
Cloudflare API v4 Dynamic DNS Update in Bash
Stars: ✭ 124 (-14.48%)
Mutual labels:  bash-script
Mida Multitool
Bash script purposed for system enumeration, vulnerability identification and privilege escalation.
Stars: ✭ 144 (-0.69%)
Mutual labels:  bash-script
Relayer
SMB Relay Attack Script
Stars: ✭ 136 (-6.21%)
Mutual labels:  bash-script

Bart's Imgur uploader bash script

Purpose

Upload images to Imgur via a small bash script.

History

This is the repository for the Bash script which has been found on Imgur's tools page since way back in 2009, and now on their new tools page.

I received infrequent but steady emails over the years with thanks and suggestions for improvements. A Google search shows the script has been reused and forked many times over the years. About time this had its own Git repository, so maybe the improvements can find their way back to the source.

Requirements

  • curl

Optional

  • xsel, xclip, pbcopy (Mac), or clip (Windows) to automatically put the URLs on the X selection or clipboard for easy pasting

Instructions

  1. Put it somewhere in your path and maybe rename it

     mv imgur.sh ~/bin/imgur
    

    Or you could make a symlink instead.

  2. Make it executable

     chmod +x ~/bin/imgur
    
  3. Optional, since I've provided a client ID: add your client id to the top of the script, replacing the provided one, or set it as the IMGUR_CLIENT_ID environment variable

Uploading images

  • Single image

      imgur images/hilarious/manfallingover.jpg
    
  • Single image from a URL

      imgur https://example.com/egg.png
    
  • Multiple images

      imgur images/delicious/cake.png https://example.com/exciting/bungeejump.jpg
    
  • Directly from a screenshot

      import png:- | imgur
    

    Note that the import command above is from Imagemagick, and will await a selection being made on screen.

The new URLs will be displayed (and the delete page URLs will be displayed on stderr). If you have xsel, xclip, or pbcopy, the URLs will also be put on the X selection, which you can then usually paste with a middle click.

If no filename is given, or if - is given as one of the arguments, an image is read from standard input.

Rate limits

There are some rate limits with the API. The daily upload limit is shared by everyone using the same client ID, so if you're using the provided one and start to get errors, you might consider using your own client ID.

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].