https://github.com/danasilver/giphy-messages
gif me messages
https://github.com/danasilver/giphy-messages
giphy hack imessage
Last synced: 26 days ago
JSON representation
gif me messages
- Host: GitHub
- URL: https://github.com/danasilver/giphy-messages
- Owner: danasilver
- Created: 2015-08-25T12:28:01.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-10-19T05:04:28.000Z (almost 10 years ago)
- Last Synced: 2025-01-06T00:41:50.969Z (9 months ago)
- Topics: giphy, hack, imessage
- Language: Objective-C
- Homepage:
- Size: 6.51 MB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Giphy Messages
#### Powered by [Giphy](http://giphy.com/)
### Install
0. Download and mount [Giphy Messages.dmg](https://github.com/danasilver/giphy-messages/releases/latest)
0. Move the app to your Applications folder
0. Double click to open the app
0. Go to **Messages > Preferences > AppleScript Handler** and select **Giphy.applescript**
### Hack
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!### Details
*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 `theScript` in
*Giphy.applescript* if you'd like to develop with the *giphy.py* and
*send_message.applescript* elsewhere.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](https://github.com/andreyvit/create-dmg).
Follow the installation instructions there then run `./dmg.sh` to create
*Giphy Messages.dmg*.The multi-resolution *dmg-background.tiff* for the background of the dmg is
generated with:```
tiffutil -cathidpicheck assets/dmg-background.png assets/dmg-background@2x.png -out assets/dmg-background.tiff
```