A rewrite of swq in Rust. The recommended implementation to use!
bd8974e1 — Daniel Rose 3 months ago
af70ab5b — Daniel Rose 3 months ago
Initial migration to Sourcehut


browse  log 



You can also use your local clone with git send-email.


Star Wars Quote and GIF Utility

#About swq-rs

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.


  • swq quote KEYWORDS

  • swq gif KEYWORDS

That's it!

#Quick Install

  • Cargo: cargo install swq

  • AUR: paru -S swq

  • Debian/Ubuntu & derivatives: Download .deb in releases

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).


  • [x] Get quotes

  • [x] Get GIFs (from Tenor)

  • [x] Auto add to clipboard

  • [ ] Add quotes

  • [ ] TBD!


Currently, it is only possible to build an amd64 binary. Dependencies include (find these for your specific distro):

  • libx11

  • libxcb

Simply run cargo build --release to get your release binary.


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.


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

Keywords: rust, ureq, clap, cli