Skip to content
This repository has been archived by the owner on Oct 22, 2020. It is now read-only.
/ Archibald Public archive
forked from gchtr/Archibald

A Slack integration to post GIF replies from replygif.net

License

Notifications You must be signed in to change notification settings

wearelucid/Archibald

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Archibald

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 Message.

How to use

/archie tags
Shows a list of all tags that can be used, together with the amount of gifs available in brackets

/archie [tag]
Use a tag to let Archibald search for a gif with that tag and randomly select one for you.
E.g: /archie magic

/archie shaq
You’ll love it, because he (you know who) loves you dearly! |

Configure Integrations

Slash Command

Add a new Slash Command integration for your team.

For the Integration Settings, use the following values:

Setting Value
Command /archie
URL http://yourOwnDomain.com/archibald/api.php
Method POST
Autocomplete help text
Descriptive Label Archibald

Now copy the Token and paste it as a value for SLASHCOMMAND_TOKEN into config.php.

    define('SLASHCOMMAND_TOKEN', 'Your copied Token here');

Incoming Webhook

Now add a new Incoming Webhook integration for your team.

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

In config.php you need to 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.3.x or higher.

Before you upload the files, be sure to use Composer to also include all vendor files.

composer install

About

A Slack integration to post GIF replies from replygif.net

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%