swq

Crates.ioswq
lib.rsswq
version0.1.3
sourcesrc
created_at2021-02-08 20:49:38.947075
updated_at2021-04-01 17:05:13.745638
descriptionFetch and add Star Wars quotes (and GIFs!) from the CLI.
homepagehttps://github.com/thecatster/swq-rs
repositoryhttps://github.com/thecatster/swq-rs
max_upload_size
id352486
size97,880
Daniil Rose (TheCatster)

documentation

README

Rust

About SWQ-rs

Rust Use your terminal often, and really want to grab that perfect quote or GIF for the situation? SWQ has you covered! It's easy to use, and quickly adds a GIF or full quote (with or without author) to your clipboard. SWQ-rs is a rewrite of the original Python+fire into Rust+clap for a faster, and more efficient codebase.

Usage

  • swq quote KEYWORDS

  • swq gif KEYWORDS

That's it!

Installation

  • Cargo: cargo install swq

  • AUR: paru -S swq

A Tenor API key is recommended, to get one please go to Tenor API, and on first time use of the GIF command, it will prompt you to paste it in (the key is held in the keyring).

To-Do:

  • Get quotes

  • Get GIFs (from Tenor)

  • Auto add to clipboard

  • Add quotes

  • TBD!

Support:

The best way to support SWQ-rs is to contribute! Feel free to make PRs, open issues, and help us make this the best utility we can! If you're interested in adding a feature, simply open an issue.

License:

Distributed under the GNU Public License (GPLv3) (See accompanying file LICENSE)

Keywords: rust, ureq, clap, cli

Commit count: 2

cargo fmt