Giter Site home page Giter Site logo

m3dzik / imgurs Goto Github PK

View Code? Open in Web Editor NEW
14.0 2.0 1.0 513 KB

CLI and Library for Imgur API written in Rust ๐Ÿฆ€

Home Page: https://crates.io/crates/imgurs

License: BSD 3-Clause "New" or "Revised" License

Rust 100.00%
rust imgur rust-api-client imgur-api rust-library rust-lang rust-crate rust-crates imgur-client imgur-uploader

imgurs's Introduction

Imgurs - CLI and Library for Imgur API

crates-io docs-rs

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.