markshust / stargazer

Get Slack notifications whenever someone stars your Github repo!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stargazer

Get Slack notifications whenever someone stars your Github repo! 🌟

Slack example message

This project uses:

Usage

  1. Install the Serverless Framework and create a new service from this repo:
$ npm install -g serverless
$ sls create --template-url https://github.com/alexdebrie/stargazer -p stargazer
$ cd stargazer
  1. Create an incoming webhook integration in Slack. Copy the webhook URL into serverless.yml as the WEBHOOK_URL environment variable.

  2. Deploy your Serverless service ⚡️:

$ sls deploy

You'll see an endpoint for your function in the Service Information section once the deploy is finished.

  1. Create a webhook in your preferred Github repository (docs here). Use the endpoint from the previous step as your payload URL.

  2. Watch the notifications come in! 😎

About

Get Slack notifications whenever someone stars your Github repo!


Languages

Language:JavaScript 100.0%