~thecatster/swq-py

A Star Wars quote and GIF retriever for the terminal.
b361664f — Daniel Rose 4 months ago
Update README
311986ca — Daniel Rose 4 months ago
Initial migration to Sourcehut

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~thecatster/swq-py
read/write
git@git.sr.ht:~thecatster/swq-py

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

I create a version of swq in every language I try, as a sort of benchmark (for HTTP clients and basic syntax). This was the first attempt, in Python 3.

This code was written earlier in my times, and could be done better. Please check out swq-rs for a new, more useful version of this utility.

#swq - The Star Wars Quote (and GIF) searcher and copier

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.

#Usage

  • swq quote --quote=str (fragment of the quote) --author=bool

  • swq gif --quote=str (fragment of the quote or scene)

That's it!

#Installation

A Tenor API key is required, to get one please go to Tenor API, and add it to your swq file.

Follow instructions in releases.