Bluesky
Introduction
In this guide we'll walk through the process of linking Cerb to Bluesky. You'll be able to use Bluesky's full API in Cerb automations.
Create a Bluesky App Password.
Log in to your Bluesky Account or sign up if you don't already have one.
Choose Settings in the menu and then click the Privacy and Security » App Passwords.
Click App App Password
Name the password (eg. cerb
) and click Next.
Copy the password for use later.
Create the Bluesky service in Cerb
-
Navigate to Search » Connected Services.
-
Click the (+) icon in the top right of the list.
-
Select Bluesky.
- Enter the following information:
- Your PDS Entryway URL (eg.
https://bsky.social
). - Your Identifier (eg.
example.bsky.social
). - The app password you copied earlier.
- Your PDS Entryway URL (eg.
- Click the Create button.
Examples
Get timeline
https://docs.bsky.app/docs/api/app-bsky-feed-get-timeline
start:
http.request/getTimeline:
output: http_response
inputs:
method: GET
url: https://bsky.social/xrpc/app.bsky.feed.getTimeline
authentication: cerb:connected_account:bluesky
on_success:
set:
response@json: {{http_response.body}}
Make a post
https://docs.bsky.app/docs/advanced-guides/posts
start:
http.request/post:
output: http_response
inputs:
method: POST
url: https://bsky.social/xrpc/com.atproto.repo.createRecord
headers:
Content-Type: application/json
authentication: cerb:connected_account:bluesky
body:
repo: example.bsky.social
collection: app.bsky.feed.post
record:
text: Testing, testing, 1,2,3!
createdAt: {{'now'|date('c')}}