https://github.com/kevwan/stargazers
Monitor star changes of GitHub repo, and send the notification to slack or lark.
https://github.com/kevwan/stargazers
github stargazers
Last synced: about 1 year ago
JSON representation
Monitor star changes of GitHub repo, and send the notification to slack or lark.
- Host: GitHub
- URL: https://github.com/kevwan/stargazers
- Owner: kevwan
- License: mit
- Created: 2020-12-26T14:36:58.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-10-15T09:02:39.000Z (over 2 years ago)
- Last Synced: 2025-04-06T04:39:45.186Z (about 1 year ago)
- Topics: github, stargazers
- Language: Go
- Homepage:
- Size: 121 KB
- Stars: 16
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# stargazers
## Features
- monitor the star events of the GitHub repo
- monitor the trending event of the GitHub repo
- send the notifications to Slack or Lark
## How to use
For Lark, create a bot called like `stargazers`, and use this bot to send notifications to you.
For Slack, create an app called like `stargazers`, and add this app into an channel.
Run `stargazers`:
`stargazers -f config.yaml`
`config.yaml` looks like:
```yaml
token:
repo:
interval: 1m
trending:
language: Go
dateRanges:
- daily
- weekly
- monthly
lark:
appId:
appSecret:
receiver:
receiver_email:
slack:
token:
channel:
```
The notification message looks like:
- star event
```
stars: 12157
today: 27
user:
name:
followers: 6
time: 10-26 22:52:56
```
- trending event
```
go-zero
Go daily trending: 9
Go weekly trending: 5
Go monthly trending: 19
```