Skip to content
Get Slack notifications whenever someone stars your Github repo!
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
handler.js
package.json
serverless.yml

README.md

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! 😎

You can’t perform that action at this time.