Skip to content
This repository has been archived by the owner on Sep 2, 2018. It is now read-only.
/ webhooks Public archive

Small application listening for webhook notifications

License

Notifications You must be signed in to change notification settings

Hydractify/webhooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Webhooks

Build Status

Small application listening for webhook notifications.

Docker container built by travis are available here.

Currently supporting:

General

Required Setup:

  • Running Redis
    • Connection defaults to redis://127.0.0.1:6397, can be overriden with an environment variable called REDIS_URL

Optional Setup:

  • You can override the port Cowboy / Plug will listen to by setting an environment variable PORT

Discord Bots

Required Setup:

  • Setting an environment variable called DBL_SECRET
  • Setting that secret in the optional available Authorization header, which dbl provides
  • Setting an environment variable called BOT_ID with the id of the bot to receive upvotes for

Upon receiving an upvote this will add a key dbl:#{USER_ID} with the value 1 into redis.

The key will expire after 24 hours; The user can vote again

About

Small application listening for webhook notifications

Resources

License

Stars

Watchers

Forks

Packages

No packages published