• Townie
    AI
  • Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
charmaine

charmaine

blueskyAlertTemplate

Remix of stevekrouse/blueskyAlert
Public
Like
blueskyAlertTemplate
Home
Code
2
README.md
C
main.tsx
Branches
1
Pull requests
Remixes
History
Environment variables
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.
Sign up now
Code
/
Code
/
Search
README.md

Bluesky Keyword Alerts

Custom notifications for when you, your company, or anything you care about is mentioned on Bluesky.

1. Set Environment Variables

Set the environment variable for whichever destination you are sending this to, or both.

For Slack:

  • Get a webhook URL: https://api.slack.com/messaging/webhooks

For Discord:

  • Discord server > Server Setttings > Integerations > Webhooks > New Webhook > channel of choice > Copy Webhook URL

Feel free to comment out / remove whichever block of code you are not using.

2. Query

Specify your queries in the queries variable.

Bluesky doesn't support boolean OR yet so we do a separate search for each keyword.

Search demo: https://www.val.town/v/stevekrouse/blueskySearchPostsDemo

3. Notification

Below I'm sending these mentions to a private channel in our company Discord, but you can customize that to whatever you want, @std/email, Slack, Telegram, whatever.

Cron
  • main.tsx
Code
README.md
C
main.tsx
FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.