TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Post with a URL in on Bluesky? The preview can be anything you want

2 pointsby jarofgreenabout 2 months ago

1 comment

jarofgreenabout 2 months ago
I noticed that when you post on Bluesky with a URL in, the client says &quot;uploading thumbnail&quot;. That&#x27;s odd, I thought, why is the client doing that and not the server?<p>So I looked up the API and it turns out the client can set whatever it wants as the preview!<p>API Docs: <a href="https:&#x2F;&#x2F;docs.bsky.app&#x2F;blog&#x2F;create-post" rel="nofollow">https:&#x2F;&#x2F;docs.bsky.app&#x2F;blog&#x2F;create-post</a><p>Here&#x27;s an example: <a href="https:&#x2F;&#x2F;bsky.app&#x2F;profile&#x2F;jarofgreen.co.uk&#x2F;post&#x2F;3llj76ouqsr2u" rel="nofollow">https:&#x2F;&#x2F;bsky.app&#x2F;profile&#x2F;jarofgreen.co.uk&#x2F;post&#x2F;3llj76ouqsr2u</a><p>Here&#x27;s a Python Marimo notebook where you can do the same thing too:<p>Code: <a href="https:&#x2F;&#x2F;github.com&#x2F;JMB-Technology-Limited&#x2F;blueskyposter&#x2F;blob&#x2F;main&#x2F;blueskyposter.py" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;JMB-Technology-Limited&#x2F;blueskyposter&#x2F;blob...</a><p>Run in your browser: <a href="https:&#x2F;&#x2F;marimo.app&#x2F;?src=https%3A%2F%2Fraw.githubusercontent.com%2FJMB-Technology-Limited%2Fblueskyposter%2Frefs%2Fheads%2Fmain%2Fblueskyposter.py" rel="nofollow">https:&#x2F;&#x2F;marimo.app&#x2F;?src=https%3A%2F%2Fraw.githubusercontent....</a><p>This seems ... not great? Users would expect the preview to come from the website, I think.<p>Also, I assume that means if you update your website and change the info that you want shown in that embed card (the OG tags) it won&#x27;t change on any old posts that link to your website?<p>ps. Also this is the first time I&#x27;ve tried using Marimo Python Notebooks for anything real, a few rough edges but pretty nice! <a href="https:&#x2F;&#x2F;marimo.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;marimo.io&#x2F;</a> If anyone knows how to link to a note book and have it open in app mode, please let me know.