Takosan is a simple Web interface to Slack (Ikachan for Slack).
Illustrated by @demiflare168
You can choose and get binaries from the releases like below:
$ wget https://github.com/kentaro/takosan/releases/download/1.0.9/takosan_linux_amd64 -O takosan
$ chmod +x takosan
Just go get
as below:
$ go get github.com/kentaro/takosan
First, set your Slack API token.
$ export SLACK_API_TOKEN="YOUR SLACK API TOKEN"
Then, execute takosan
command like below:
$ takosan [-host string] [-port int] [-name string] [-icon string]
The interface which takosan
binds.
The port to which takosan
listens.
The name which you want to display on Slack for this bot.
The icon URL which you want to display on Slack for this bot.
See httpd.go for other params.
$ curl -d "channel=#channel&message=test message" localhost:4979/privmsg
You can use both of the endpoints to send messages to Slack. No change can be seen on Slack, though.
When you post requests to these endpoints, the server always returns 404
. Which is because you don't need to join/leave groups on Slack explicitely.
MIT