Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bfontaine/stargazer
:star2: A bot that watches stars on Slack so you don’t have to
https://github.com/bfontaine/stargazer
bot go slack
Last synced: 2 months ago
JSON representation
:star2: A bot that watches stars on Slack so you don’t have to
- Host: GitHub
- URL: https://github.com/bfontaine/stargazer
- Owner: bfontaine
- License: mit
- Created: 2015-08-29T17:24:06.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-04T12:50:50.000Z (over 9 years ago)
- Last Synced: 2024-12-08T21:03:26.858Z (2 months ago)
- Topics: bot, go, slack
- Language: Go
- Homepage:
- Size: 1010 KB
- Stars: 11
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-golang-repositories - stargazer
README
# Stargazer
**Stargazer** is a Slack bot that watches for stars on your messages and report
them to you.
[](https://travis-ci.org/bfontaine/stargazer)
## Build
go get github.com/bfontaine/stargazer
## Run
$ TOKEN=your-slack-token stargazer
## FAQ
### How do I get a token?
1. 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 is
`https://foobar.slack.com/services/new/bot`.
2. Choose a name for your bot. Don’t worry, you can change it later.

3. Your token is on the bot page.
## How do I get the bot to report stars to me?
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”.
## Hacking
**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 ./...