Skip to main content

Bluesky

Blocks for Bluesky: read public posts and profiles, get notified when someone posts, and post, reply, like, follow, search and react to notifications as your own account.

Reading works without any account, through Bluesky's official public API. Acting as your account needs an app password, and those blocks have their own section at the bottom of the flyout.

Wherever a block asks for a user, you can give it a handle (bsky.app), an @handle or a profile link. Wherever it asks for a post, give it the post's link.

Show the whole Bluesky flyout

The Bluesky subcategory

Posts​

These run the blocks inside them with a post. Inside, get ... of Bluesky post reads from it. The dropdowns pick posts only, posts and reposts, or posts and replies.

BlockWhat it does
get postLooks up one post by its link.
get latestGets a user's newest post. Pinned posts are skipped.
for eachRuns once for each of a user's latest posts, newest first.

Post info

get ... of Bluesky post reads the text, link, the author's handle, name, link and profile picture, likes, reposts, replies, quotes, post date, a list of image URLs, a video's thumbnail, the link card's URL, whether it is a reply, whether it is a repost and by whom, its language, and its at:// URI.

New post notifications​

On new post

when Bluesky user ... posts a new ... goes on its own in the workspace, not inside an event. It checks the user every few minutes (at least 1) and runs once for each new post.

Users​

Get user

get Bluesky user ... then ... looks up a profile.

User info

get ... of Bluesky user reads the handle, display name, DID, bio, link, followers, following, post count, profile picture, banner and join date.

Quick info​

BlockReturns
latest linkA link to the user's newest post.
followersThe user's follower count.
existsTrue when the account exists.

Logging in​

  1. In Bluesky, go to Settings → Privacy and security → App passwords and add one. Never use your real password.
  2. Save it as a secret named BLUESKY_APP_PASSWORD.

Log in

Put log in to Bluesky in when the bot is logged in, with your handle.

Acting as your account​

BlockWhat it does
postPosts up to 300 characters, optionally with an image from a URL (with alt text) or as a reply to another post. Links, @mentions and #hashtags become clickable. Inside, get link of Bluesky post is the new post's link.
post actionLikes, unlikes, reposts, undoes a repost or deletes a post. You can only delete your own posts.
followFollows or unfollows a user.
searchSearches posts, newest or top first, and runs once for each. Supports from:handle and #hashtags.

Notifications​

On notification

when someone ... my Bluesky account goes on its own in the workspace. It checks your notifications every few minutes and runs once for each new mention, reply, quote, follow, like or repost. Inside, get ... of Bluesky user is the person who did it, and get ... of Bluesky post is their post (for mentions, replies and quotes) or your post they liked or reposted.

Notes​

  • Every block here goes over the network, so defer reply first inside an interaction.
  • Images must be under 1 MB; Bluesky refuses bigger ones.