Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mattLLVW/term-gif
Search and display gifs in your terminal :unicorn:
https://github.com/mattLLVW/term-gif
gif golang terminal
Last synced: 29 days ago
JSON representation
Search and display gifs in your terminal :unicorn:
- Host: GitHub
- URL: https://github.com/mattLLVW/term-gif
- Owner: mattLLVW
- License: mit
- Created: 2019-12-07T09:47:02.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-04-08T09:38:04.000Z (over 1 year ago)
- Last Synced: 2024-11-02T18:02:44.328Z (about 1 month ago)
- Topics: gif, golang, terminal
- Language: Go
- Homepage: https://gif.xyzzy.run
- Size: 11.2 MB
- Stars: 53
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-browserless - e.xec.sh - Search and display gifs in your terminal 🦄 (Viewing images)
README
# GIF.XYZZY.RUN
# Usage
```bash
curl gif.xyzzy.run/
```
or```bash
curl gif.xyzzy.run?url=
```## 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`:
```bash
curl gif.xyzzy.run/magic
wget -qO- gif.xyzzy.run/rainbow
```![magic](/static/img/magic.gif)
## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.## Run locally
```bash
cp env.sample .env # and fill it with your api key.
docker-compose up --build
```
and connect to [localhost:9000/whatever_you_want](localhost:9000/whatever_you_want)## Donations
If you like this project, consider donating:
via [GitHub Sponsors](https://github.com/sponsors/mattLLVW)
[![ko-fi](https://www.ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/J3J3173F6)
## Licence
[MIT](https://choosealicense.com/licenses/mit/)