Download and mount Giphy Messages.dmg
Move the app to your Applications folder
Double click to open the app
Go to Messages > Preferences > AppleScript Handler and select Giphy.applescript
All the code is interpreted and exposed in Giphy Messages.app with no external requirements, so it should be easy to open up the app bundle and hack however you'd like. You can open the app bundle by right clicking on Giphy Messages.app and selecting Show Package Contents. If you make a change you think other users would appreciate, fork the repository and create a Pull Request!
Giphy.applescript must be copied into ~/Library/Application\ Scripts/com.apple.iChat then selected under Messages > Preferences > AppleScript Handler.
Giphy.applescript expects giphy.py and send_message.applescript to live
inside the app in the /Applications directory. Change
Giphy.applescript if you'd like to develop with the giphy.py and
We distribute an app since it's the easiest way to make sure we can find giphy.py. AppleScript doesn't have the support to make and parse web requests.
The dmg is generated with create-dmg.
Follow the installation instructions there then run
./dmg.sh to create
The multi-resolution dmg-background.tiff for the background of the dmg is generated with:
tiffutil -cathidpicheck assets/dmg-background.png firstname.lastname@example.org -out assets/dmg-background.tiff