A CLI, published as Docker image and .NET Global tool, to search for a gif on Giphy and optionally open the link in the browser or copy the link or markdown to the clipboard.
Was featured in a presentation about .NET interactive notebooks at .NET Conf 2020: https://youtu.be/938jBJ-tK3c?t=1025
There is an example notebook included dotnet-interactive-notebook-sample.ipynb
Comments, ideas, bug reports and PR are welcome here.
You can run this CLI via Docker. This will output markdown and a link to giphy.com.
Published version on Docker Hub:
docker run --rm -it daviddesloovere/giphy-cli:latest "lolcats"
Latest on GitHub:
docker run --rm -it ghcr.io/daviddesloovere/giphy-cli:latest "lolcats"
Head over to GiphyCli on NuGet or continue reading:
You'll need the .NET 6 runtime or newer.
Install the Giphy CLI with this command:
> dotnet tool install --global GiphyCli
Update the Giphy CLI with this command:
> dotnet tool update --global Giphycli
To search for a gif, simply use
> giphy lolcats
> giphy cheeseburger
> giphy "awesome cheeseburger"
Output markdown only, great for using in notebooks.
> giphy cheeseburger -m
> giphy cheeseburger --markdown
Giphy CLI now an includes interactive prompt.
Have markdown copied to clipboard et voila.
- Interactive prompt: Open giphy.com URL, copy .gif deeplink or copy markdown to clipboard
- Preview image in iTerm2 (PR by https://github.com/slang25)