16 releases (8 breaking)

Uses new Rust 2021

new 0.9.1 Sep 22, 2022
0.8.1 Jun 17, 2022
0.6.0 Mar 14, 2022

#2 in #imgur

Download history 74/week @ 2022-06-04 41/week @ 2022-06-11 20/week @ 2022-06-18 2/week @ 2022-06-25 15/week @ 2022-07-02 15/week @ 2022-07-09 29/week @ 2022-07-16 37/week @ 2022-07-23 59/week @ 2022-07-30 29/week @ 2022-08-06 18/week @ 2022-08-13 10/week @ 2022-08-20 11/week @ 2022-08-27 23/week @ 2022-09-03 53/week @ 2022-09-10 18/week @ 2022-09-17

109 downloads per month
Used in imgurs-cli

BSD-3-Clause

20KB
284 lines

Imgurs - CLI and Library for Imgur API

total-lines code-size crates-io docs-rs ci

Screenshots

Shell completions

Here are some examples of usage

# For bash
imgurs completions bash > ~/.local/share/bash-completion/completions/imgurs
# For zsh
imgurs completions zsh > /usr/local/share/zsh/site-functions/_imgurs
# For fish
imgurs completions fish > ~/.config/fish/completions/imgurs.fish

Man page

Generate manpage

imgurs manpage | gzip > /usr/share/man/man1/imgurs.1.gz

Dependencies

  • support clipboard on Linux
    • xsel
    • xclip - alternative to xsel
    • termux-api - on Termux
  • libnotify - support notification on Linux

How to install Imgurs CLI?

Linux

Download imgurs-linux from the releases page and run

chmod +x imgurs-linux
./imgurs-linux

Arch Linux

Using yay (AUR)

yay -S imgurs

or can add this repo and run

sudo pacman -Sy imgurs

OSX

Download imgurs-darwin from the releases page and run

chmod +x imgurs-darwin
./imgurs-darwin

Windows

Download imgurs-windows.exe from the releases page and run

imgurs-windows.exe

Compile with Cargo

Make sure you have a recent version of Rust. Then you can run

cargo install imgurs

Dependencies

~4–41MB
~775K SLoC