Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Monitor star changes of GitHub repo, and send the notification to slack or lark.

License

Notifications You must be signed in to change notification settings

kevwan/stargazers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

token: <github token>
repo: <github repo like zeromicro/go-zero>
interval: 1m
trending:
  language: Go
  dateRanges:
    - daily
    - weekly
    - monthly
lark:
  appId: <app id>
  appSecret: <app secret>
  receiver: <receiver's lark UserID>
  receiver_email: <receiver's lark Email>
slack:
  token: <oauth token>
  channel: <channel>

The notification message looks like:

  • star event
stars: 12157
today: 27
user: <user>
name: <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

About

Monitor star changes of GitHub repo, and send the notification to slack or lark.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors 2

  •  
  •  

Languages