CLI and Library for Imgur API written in Rust 🦀
Go to file
dependabot[bot] 044fa6525d chore(deps): bump h2 from 0.3.14 to 0.3.17
Bumps [h2](https://github.com/hyperium/h2) from 0.3.14 to 0.3.17.
- [Release notes](https://github.com/hyperium/h2/releases)
- [Changelog](https://github.com/hyperium/h2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hyperium/h2/compare/v0.3.14...v0.3.17)

---
updated-dependencies:
- dependency-name: h2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-15 13:26:15 +02:00
.github/workflows ci: delete publish to crates.io 2022-09-05 21:21:25 +02:00
imgurs-cli fix(deps): update all non-major dependencies 2023-01-30 04:52:40 +00:00
src Fix deprecation warning of base64 crate. 2023-04-03 20:29:17 +02:00
.gitignore chore: small changes 2022-05-18 19:48:39 +02:00
CHANGELOG.md chore(release): v0.11.1 2022-12-11 11:05:51 +01:00
Cargo.lock chore(deps): bump h2 from 0.3.14 to 0.3.17 2023-04-15 13:26:15 +02:00
Cargo.toml fix(deps): update all non-major dependencies 2023-01-30 04:52:40 +00:00
LICENSE Initial commit 2022-01-22 22:02:51 +01:00
README.md chore(release): v0.11.1 2022-12-11 11:05:51 +01:00
config.toml chore(webhook): delete discord webhook 2022-07-08 11:38:16 +02:00
renovate.json chore(webhook): delete discord webhook 2022-07-08 11:38:16 +02:00
rustfmt.toml chore(release): v0.10.0 2022-10-01 18:43:08 +02:00

README.md

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-cli