TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

2 点作者 jarofgreen大约 2 个月前

1 comment

jarofgreen大约 2 个月前
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.