#quote #gif #sw

app swq

Fetch and add Star Wars quotes (and GIFs!) from the CLI

4 releases

0.1.3 Apr 1, 2021
0.1.2 Feb 8, 2021
0.1.1 Feb 8, 2021
0.1.0 Feb 8, 2021

#51 in #gif

GPL-3.0 license

43KB
149 lines


SWQ-rs Logo

SWQ-rs

Star Wars Quote And GIF Utility

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

Dependencies

~3–17MB
~195K SLoC