GiphyCli 2.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global GiphyCli --version 2.1.0                
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local GiphyCli --version 2.1.0                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=GiphyCli&version=2.1.0                
nuke :add-package GiphyCli --version 2.1.0                

giphy-cli

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

.NET Core CI

Get started

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

Usage

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

Screenshot Giphy CLI

Have markdown copied to clipboard et voila.

will ferrell yes GIF

Features

  • Interactive prompt: Open giphy.com URL, copy .gif deeplink or copy markdown to clipboard
  • Preview image in iTerm2 (PR by https://github.com/slang25)
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
2.2.0 2,415 8/30/2022
2.1.0 1,656 6/10/2022
2.0.0 2,811 12/22/2020
1.2.0 1,781 10/10/2020
1.1.0 2,853 9/6/2018
1.0.0 1,937 8/24/2018

Extra `-m` option to only output markdown.