GitHub Stargazer Enrichment Webhook

Webhook that tracks new GitHub repo stargazers and sends enriched Discord notifications for potential "VIP" users. image.png

Note: if you just want to get notified about all stargazers, you can use this val instead

What it does

Filters stargazers and only notifies for:

  • VIP users (have repos with >100 stars)
  • Users with company email addresses
  • Users with detectable company tech stacks

Setup

1. GitHub Webhook

  • For the repo(s) you want to watch, go to repo SettingsWebhooksAdd webhook
  • Payload URL: Your Val Town HTTP endpoint
  • Content type: application/json
  • Events: Select "Stars" only
  • Repeat for each repo you want to monitor :)

2. Discord Webhook

  • Create Discord webhook (guide)
  • Add webhook URL as DISCORD_WEBHOOK environment variable in Val Town

3. Test

  • Star your repo
  • Check Discord for notification (only sends for VIP users)

Example Notification

New stargazer: [username](https://github.com/username) starred **repo-name**
⭐ VIP: [popular-repo](https://github.com/user/repo) with 1250 stars  
user@company.com
Tech stack: React, Node.js, Docker