Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hashworks/phergie-gif-to-gfycat
Phergie plugin to convert all posted GIF links into WEBM using Gfycat.com.
https://github.com/hashworks/phergie-gif-to-gfycat
Last synced: about 1 month ago
JSON representation
Phergie plugin to convert all posted GIF links into WEBM using Gfycat.com.
- Host: GitHub
- URL: https://github.com/hashworks/phergie-gif-to-gfycat
- Owner: hashworks
- License: gpl-3.0
- Created: 2015-02-08T13:03:59.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2018-03-28T14:54:49.000Z (over 6 years ago)
- Last Synced: 2024-10-19T22:48:44.758Z (2 months ago)
- Language: PHP
- Size: 24.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PhergieGifToGfycat
[Phergie](http://github.com/phergie/phergie-irc-bot-react/) plugin to convert all posted GIF links into WEBM using [Gfycat](https://gfycat.com/).
## Install
To install via [Composer](http://getcomposer.org/), use the command below, it will automatically detect the latest version and bind it with `~`.
```
composer require hashworks/phergie-plugin-gif-to-gfycat
```See Phergie documentation for more information on
[installing and enabling plugins](https://github.com/phergie/phergie-irc-bot-react/wiki/Usage#plugins).## Configuration
```php
// dependency
new \WyriHaximus\Phergie\Plugin\Dns\Plugin,
new \WyriHaximus\Phergie\Plugin\Http\Plugin(array('dnsResolverEvent' => 'dns.resolver')),
new \hashworks\Phergie\Plugin\GifToGfycat\Plugin(array(
// Optional. Sets the prefix for posted Gfycat links
'prefix' => '[GIF to WEBM] ',
// Optional. Sets the maximum number of links getting converted per PRIVMSG
'limit' => 10
))
```