Stargazer is a Slack bot that watches for stars on your messages and report them to you.
go get github.com/bfontaine/stargazer
$ TOKEN=your-slack-token stargazer
- Go on your team’s Slack URL, and on the “Integrations” page, search for the
“bots” integration. If your team is e.g.
foobar
, the URL ishttps://foobar.slack.com/services/new/bot
. - Choose a name for your bot. Don’t worry, you can change it later.
- Your token is on the bot page.
The bot works with a whitelist, not to annoy everybody by default. Send it a private message saying “enable”, and it should enable the reporting for you.
You can later disable this by sending it “disable”.
Stargazer doesn’t currently have a public API. You can however contribute to this repository :)
Make sure tests pass with the following command:
$ STARGAZER_TESTING=1 go test ./...