CLI and Library for Imgur API written in Rust 🦀
Go to file
MedzikUser adc52ba207
feat(lib): if body length is > 30 return `body is too length`
2022-03-02 22:10:56 +01:00
.github/workflows chore(deps): update mindsers/changelog-reader-action action to v2 2022-02-27 12:43:52 +01:00
src feat(lib): if body length is > 30 return `body is too length` 2022-03-02 22:10:56 +01:00
.editorconfig update github workflows 2022-01-22 23:02:05 +01:00
.gitignore add clipboard 2022-02-23 22:39:37 +01:00
CHANGELOG.md chore(changelog): update 2022-02-28 23:32:26 +01:00
Cargo.lock fix(deps): update rust crate clap to 3.1.3 2022-02-28 19:08:56 +00:00
Cargo.toml fix(deps): update rust crate clap to 3.1.3 2022-02-28 19:08:56 +00:00
LICENSE Initial commit 2022-01-22 22:02:51 +01:00
README.md feat(clipboard): add support for xclip and termux 2022-02-28 23:20:50 +01:00
config.toml add clipboard, print colors in image info 2022-02-25 18:24:24 +01:00
renovate.json update renovate config 2022-02-23 22:50:45 +01:00

README.md

Imgurs - CLI and Library for Imgur API

Screenshots

upload

delete

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

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

If you are using arch linux you 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