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:

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.