Public
Like
3
github-stargazers
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Tracks new stargazers for your GitHub repositories and sends notifications to Discord when someone stars your repos.
Note: For organization-owned repos, you will need the org owner to set up webhooks on the repo.
Read more on GitHub Docs.
1. Go to your repo settings:
- Navigate to your GitHub repo
- Click "Settings"
- Click "Webhooks" in the left sidebar
2. Add webhook:
- Click "Add webhook"
- Payload URL: Your Val Town HTTP endpoint
- URL - Content type: application/json
3. Select events:
- Choose "Let me select individual events"
- Uncheck "Pushes" (it's checked by default)
- Check "Stars" only
- Click "Add webhook"
4. Test it:
- Star/unstar your repo
- Check the webhook deliveries tab to see if it worked
- Check your Discord channel for notifications
Repeat for each repo you want to monitor :)
1. Create a Discord Webhook
- Follow the instructions here. It only takes a minute.
2. Copy webhook URL
- Paste the webhook URL into your val's environment variables as
DISCORD_WEBHOOK
.