Skip to content
This repository was archived by the owner on Feb 27, 2018. It is now read-only.

taut/taut

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Taut

Utility for Slack integrations.

Getting Started

Taut is useless without hooks. Take a look at taut-gifme for an example.

Put this in your Gemfile:

gem "taut", github: "philtr/taut"

Standalone

Create a config.ru:

require "bundler"
Bundler.require

run Taut::Application

In a Rails app

This is not supported, but you should be able to mount Taut in your routes:

# config/routes.rb
Your::Application.routes.draw do
  mount Taut::Application, at: "/taut"
end

Configuration

Set the following environment variables:

SLACK_TOKEN=198uihchu0ah801308
SLACK_DOMAIN=philtr
SLACK_USERNAME=TautBot
SLACK_EMOJI=:ghost:

Any environment variable is available inside your hooks:

config.slack_domain # => "philtr"
config.slack_token  # => "198uihchu0ah801308"

About

Framework for Slack chat integrations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages