Skip to content
This repository has been archived by the owner on Jun 6, 2020. It is now read-only.
/ alphy Public archive

Search and get links for GIFs on Giphy with Alfred

License

Notifications You must be signed in to change notification settings

maximepeschard/alphy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alphy

Demo GIF

Alfred 3 workflow to search and get links for GIFs on Giphy, with previews in Quick Look. 👌

Installation

  1. Download the latest version from the releases page of this repository.
  2. Double-click the downloaded .alfredworkflow file to install.
  3. That's it. 👏

Please note that this workflow is only for Alfred 3.

Usage

Fire up the workflow with the keyword gif followed by your search query. Once the list is filled with results, the following actions are available for each item :

An extra action is always displayed at the bottom to open the current search on Giphy in the default browser.

Advanced usage

Keyword

The default keyword is gif (easy to remember 😁), but can easily be changed by going to the Workflows tab of the Alfred settings, clicking the workflow, double-clicking the (first) 'Script Filter' action and typing the desired keyword.

Search limit

By default, only the first 8 results are displayed. However, this setting can be changed by going to the workflow settings (following the above directions), toggling the 'Workflow variables' pane by clicking the [x] icon and changing the GIPHY_SEARCH_LIMIT variable.

Cache management

This workflow makes use of Alfred cache to store some search results and avoid repeated and unnecessary calls to Giphy API. To clear the cache, just type the following sequence :

gif :delcache

License and credits

This workflow is released under the MIT License.

This workflow uses the Alfred-Workflow helper library by deanishe, also released under the MIT License.

This workflow uses the Giphy public API.

Todo

  • Add still images from Giphy as results icons ?
  • Request API production key