@there-hugo.dev

Bookmark by replying on Bluesky

When I reply "Bookmark" to a Bluesky post, bookmark all links it contains on the community lexicon

app.bsky.feed.post
Lexicon
app.bsky.feed.post
Operations
Record created
Watched repos
  • {{self}}

Conditions

  • text equals Bookmark
  • reply.parent.uri exists

Data Sources (1)

Record lookupparentPost
Lookup
{{event.commit.record.reply.parent.uri}}
  • Continue only if the record is found

Actions (2)

Collect linksAction 1

Source
{{parentPost.record}}
Output
{{links}}
Dedupe
on
Allowed paths
embed.external.uri, facets[].features[].uri

Create a recordAction 2

For each item in
links[]
Target Collection
community.lexicon.bookmarks.bookmark
Record Template
{
  "subject": "{{item}}",
  "createdAt": "{{now}}"
}