Back to APIs list
Bluesky API examples & templates
Use these vals as a playground to view and fork Bluesky API examples and templates on Val Town. Run any example below or find templates that can be used as a pre-built solution.
blueskyAlert
@stevekrouse
script
Bluesky keyword alerts Custom notifications for when you, your company, or anything you care about is mentioned on Bluesky. 1. Query Specify your queries in the queries variable. Bluesky doesn't support boolean OR yet so we do a separate search for each keyword. 2. 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.
bsky_rss_poll
@rcurtiss
script
Bluesky RSS bot This is a bot that polls an RSS feed for a new item every hour and posts it to Bluesky. It's split into three parts: bsky_rss_poll This function runs every hour and polls the provided RSS feed, turns it into XML and runs the check. If there is a new post, it tell rss_to_bsky to post a link (and the title) to Bluesky latest_rss This is a stored object that keeps the latest object for the poll to test against rss_to_bsky This function turns the text post into a rich text post and posts it to Bluesky
bsky_rss_poll
@jordan
script
Bluesky RSS bot This is a bot that polls an RSS feed for a new item every hour and posts it to Bluesky. It's split into three parts: bsky_rss_poll This function runs every hour and polls the provided RSS feed, turns it into XML and runs the check. If there is a new post, it tell rss_to_bsky to post a link (and the title) to Bluesky latest_rss This is a stored object that keeps the latest object for the poll to test against rss_to_bsky This function turns the text post into a rich text post and posts it to Bluesky