GitHub-Stargazers-Alert
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.
Viewing readonly version of main branch: v156View latest version
Find out who's showing intent in your space - track competitors’ GitHub repo stargazers and get notified in Slack.
GitHub repo stargazers are one of the most reliable public intent signals in dev communities:
It's an especially great place to find:
- Prospective customers evaluating solutions
- Developers solving similar problems
- Potential hires in your niche
And unlike most intent signals, stars are free, public and can be captured in real-time.
- Remix this val, and add your
SLACK_WEBHOOK_URL
to your environment variables on the left sidebar (Guide) - Configure the repos you want to track in
cron.ts
. It'll auto-run every 15 minutes.
If you're only interested in getting notified about your own stargazers, you can set up a webhook in GitHub and get notified every time someone new stars your repo.
However, there are 2 major limitations to that:
- You can't backfill stargazers from the past - which are often incredibly valuable to folks trying to find qualified leads!
- You can only set up webhooks for repos that you own.
- Look up new stargazers (across any repos - including competitors') every 15 mins
- Finds their emails
- Sends them to your Slack
This val does 2 things for you:
- GitHub's stargazer API does not return emails for users out-of-the-box. We work around this by looking up the stargazers' past commits. GitHub commits are associated with emails. They're not technically private, but it is harder to find.
- It's hard to get notified about competitors' stargazers because you can't set up webhooks for repos you don't own. GitHub's stargazer API also doesn't let you sort by
starred_at
times easily and are fetched from oldest to newest. So to get the most recent stargazers, we calculate the last page of results and start from there. You can use crons and blob storage in Val Town to keep track of the stargazer count every 15 mins. When that count changes by X, go to the last page of stargazers and grab the last X users to get notified.
This is a great way to get notified about new stargazers across many repos - regardless of whether you own them or not.
- Enrich with Clay to auto-score ICP leads
- Auto-create HubSpot/CRM records
- Alert high signal leads in #VIP-leads