Archibald is a self-hosted Slack integration written in PHP to post tag-selected GIF replies from replygif.net into your current Slack channel or Direct Messages.
How to use
Shows a list of all tags that can be used, together with the amount of gifs available in brackets
Use a tag to let Archibald search for a gif with that tag and randomly select one for you.<br>E.g:
You’ll love it, because he (you know who) loves you dearly!
Add a new Slash Command integration for your team.
For the Integration Settings, use the following values:
|Autocomplete help text|
Now copy the Token and paste it as a value for SLASHCOMMAND_TOKEN into
define('SLASHCOMMAND_TOKEN', 'Your copied Token here');
Now add a new Incoming Webhook integration for your team.
It doesn’t matter which channel you choose for the messages to be posted to. All you need to do in the settings for the Incoming Webhook integration is to copy the Webhook URL and paste it as a value for WEBHOOK_URL into
config.php. All other values are overwritten by Archibald.
define('WEBHOOK_URL', 'The copied URL here');
config.php and set the Token for the Slash Command Integration as well as the Webhook URL from the Incoming Webhook Integration.
Upload files to Webserver
You need to upload all files to a webserver running PHP version 5.4.x or higher.
Before you upload the files, be sure to use Composer to also include all vendor files.
How to run within a Docker container
Build the image
docker build -t="jverdeyen/archibald" .
Run the image, and replace the token and webhook url
docker run -p 80:80 -e SLASHCOMMAND_TOKEN=token -e WEBHOOK_URL="http://webhookurl" -d --name=archibald jverdeyen/archibald