Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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
))
```