Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/m3dzik/imgurs
CLI and Library for Imgur API written in Rust 🦀
https://github.com/m3dzik/imgurs
cli imgur imgur-api imgur-client imgur-com imgur-uploader rust rust-api-client rust-crate rust-crates rust-lang rust-library
Last synced: 3 months ago
JSON representation
CLI and Library for Imgur API written in Rust 🦀
- Host: GitHub
- URL: https://github.com/m3dzik/imgurs
- Owner: M3DZIK
- License: bsd-3-clause
- Created: 2021-12-01T16:53:19.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-11T20:43:30.000Z (10 months ago)
- Last Synced: 2024-10-01T17:08:31.419Z (4 months ago)
- Topics: cli, imgur, imgur-api, imgur-client, imgur-com, imgur-uploader, rust, rust-api-client, rust-crate, rust-crates, rust-lang, rust-library
- Language: Rust
- Homepage: https://crates.io/crates/imgurs
- Size: 501 KB
- Stars: 14
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[crates-io]: https://img.shields.io/badge/crates.io-fc8d62?style=for-the-badge&labelColor=555555&logo=rust
[docs-rs]: https://img.shields.io/badge/docs.rs-66c2a5?style=for-the-badge&labelColor=555555&logo=docs.rs# Imgurs - CLI and Library for Imgur API
[![crates-io]](https://crates.io/crates/imgurs)
[![docs-rs]](https://docs.rs/imgurs)## Screenshots
![](https://i.imgur.com/MG35kvf.png)
![](https://i.imgur.com/TSxBrhO.png)
## Shell completions
Here are some examples of usage
```bash
# 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](https://github.com/MedzikUser/imgurs/releases/latest) and runchmod +x imgurs-linux
./imgurs-linux#### **Arch Linux**
Using yay ([AUR](https://aur.archlinux.org/packages/imgurs))yay -S imgurs
or can add [this repo](https://github.com/archlinux-pkg/packages) and run
sudo pacman -Sy imgurs
### **OSX**
Download imgurs-darwin from [the releases page](https://github.com/MedzikUser/imgurs/releases/latest) and runchmod +x imgurs-darwin
./imgurs-darwin### **Windows**
Download imgurs-windows.exe from [the releases page](https://github.com/MedzikUser/imgurs/releases/latest) and runimgurs-windows.exe
### **Compile with Cargo**
Make sure you have a recent version of Rust. Then you can runcargo install imgurs-cli