slacktv

package module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2015 License: MIT Imports: 8 Imported by: 0

README

slacktv

slacktv is a Slack bot designed to run on a Mac plugged into a digital signage TV. When mentioned in a message with a URL, that URL is opened.

Usage

export SLACK_TOKEN="slack-bot-auth-token-here"
slacktv

Development

slacktv is written in Go, uses godep to manage dependencies, and gorilla/websocket for Slack's Real Time Messaging API.

The slack subpackage is the beginnings of a generic Slack API/RTM client.

export SLACK_TOKEN=...

godep restore
go test ./...
go build ./cmd/slacktv
DEBUG=1 ./slacktv  # verbose logging to stdout

# restart on every source file change
go get github.com/skelterjohn/rerun
DEBUG=1 GOPATH=`godep path`:$GOPATH rerun github.com/99designs/slacktv/cmd/slacktv

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run()

Types

This section is empty.

Directories

Path Synopsis
Godeps
_workspace/src/github.com/gorilla/websocket
Package websocket implements the WebSocket protocol defined in RFC 6455.
Package websocket implements the WebSocket protocol defined in RFC 6455.
_workspace/src/github.com/gorilla/websocket/examples/autobahn
Command server is a test server for the Autobahn WebSockets Test Suite.
Command server is a test server for the Autobahn WebSockets Test Suite.
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL