Skip to content

Conversation

@HilaryTorn
Copy link

What kind of change does this PR introduce?

Adds support for app.bsky.embed.external when posting to Bluesky with URLs but no media attachments. Fetches Open Graph metadata (title, description, thumbnail) and creates rich link preview cards.

How it works:
Detects the first URL in posts without media attachments
Fetches Open Graph/Twitter Card metadata (title, description, image)
Uploads the thumbnail to Bluesky and creates an app.bsky.embed.external embed
Falls back gracefully if metadata fetch fails (post still publishes, just without the card)

Why was this change needed?

Because links are not noticeable in BlueSky compared to other posts and do not stand out, degrading the user experience when scheduling posts with BlueSky

Other information:

Closes #667

I posted it on Discord and the bot said PRs are welcomed, tested the fix on my docker image.

Checklist:

Put a "X" in the boxes below to indicate you have followed the checklist;

  • I have read the CONTRIBUTING guide.
  • I checked that there were not similar issues or PRs already open for this.
  • This PR fixes just ONE issue (do not include multiple issues or types of change in the same PR) For example, don't try and fix a UI issue and include new dependencies in the same PR.

Adds support for app.bsky.embed.external when posting to Bluesky with URLs
but no media attachments. Fetches Open Graph metadata (title, description,
thumbnail) and creates rich link preview cards.

Closes gitroomhq#667
@vercel
Copy link

vercel bot commented Nov 26, 2025

@HilaryTorn is attempting to deploy a commit to the Listinai Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add URL Preview Feature to Posts in Bluesky

1 participant