Skip to content

Search and display gifs in your terminal 🦄

License

Notifications You must be signed in to change notification settings

mattLLVW/term-gif

Repository files navigation

GIF.XYZZY.RUN

Usage

curl gif.xyzzy.run/<your_search_terms_separated_by_an_underscore>

or

curl gif.xyzzy.run?url=<https://your_image_or_gif_url.gif>

Example

curl gif.xyzzy.run/spongebob_magic
curl "gif.xyzzy.run?url=https://gif.xyzzy.run/static/img/mgc.gif" # Any url as long as it's an image or a gif

You can also reverse the gif if you want, i.e:

curl "gif.xyzzy.run/mind_blown?rev=true"

Or just display a preview image of the gif, i.e:

curl "gif.xyzzy.run/wow?img=true"

Works with curl and wget:

curl gif.xyzzy.run/magic
wget -qO- gif.xyzzy.run/rainbow

magic

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Run locally

cp env.sample .env # and fill it with your api key.
docker-compose up --build

and connect to localhost:9000/whatever_you_want

Donations

If you like this project, consider donating:

via GitHub Sponsors

ko-fi

Licence

MIT