Every GitHub star is intent:
- Prospects evaluating tools like yours
- Engineers solving the same problem
- Potential hires
This val turns public stars into qualified leads for you - even for repos you don’t own.
If you're only interested in getting notified about your own stargazers, you can set up a webhook in GitHub directly.
There are 2 major limitations to that:
- You can't backfill stargazers from the past - which are often incredibly valuable to startups trying to find qualified leads
- You can't track repos you don't own
This val does 2 things for you:
- Get stargazer emails
The GitHub stargazers API won’t give you email addresses. This val works around that by checking each stargazer’s past commits - commits are associated with an email address. This is technically public, but buried.
- Track competitors' stargazers
GitHub won’t let you set up webhooks for repos you don’t own, and the stargazers API lists results oldest -> newest (no starred_at
sorting). That means you can’t easily pull just the most recent stargazers.
So instead, we:
- Use blob storage to remember the last stargazer count
- Calculate the last page of the stargazers list
- Fetch only the most recent X users when the count changes
- Run this val every 15 minutes via cron so you have the latest and greatest :)
This is a great way to get notified about new stargazers across many repos - regardless of whether you own them or not. You can then optionally push these into Slack, Clay, or your CRM.
- Remix this val
- Add your
SLACK_WEBHOOK_URL
to your environment variables on the left sidebar (Guide) - Configure the repos you want to track in
cron.ts
. ClickRun
, or it'll auto-run every 15 minutes.
- You can backfill stargazers and enrich them - which are often incredibly valuable when you're to find qualified leads!
- ENRICHMENT ENRICHMENT ENRICHMENT! Enrich new stargazers with Clay to filter signal from noise
- Auto-create HubSpot/CRM records
- Alert high signal leads in #VIP-leads
Interested in more GTM workflows? You can check out our Templates, or let me know what you want to see next.