Skip to content

v0.7.1 — Link previews + X/Twitter tweet cards

Choose a tag to compare

@inder inder released this 23 Jun 03:20
· 53 commits to main since this release

🔗 Link previews (opt-in, local-only)

When someone posts a link in chat, BetterSSC shows a preview card (site · title · description · thumbnail) built from the page's Open Graph metadata, fetched in your browser session.

  • Off by default; opt-in behind a host permission. Enable in Chat preferences — Chrome prompts for page-read access (declared as an optional permission, never requested at install). Turning it off relinquishes the permission.
  • Local + per-viewer. Each client unfurls the links it sees; nothing is written back to Substack and nothing is shared with other readers.
  • Cookieless + safe. credentials: 'omit', response capped at 256KB, all page text rendered via textContent (never innerHTML), images https-only with referrerpolicy=no-referrer. Failed unfurls are negative-cached.

🐦 X / Twitter tweet cards (v0.7.1)

X/Twitter status links render like the original tweet: avatar + display name + @handle header with the X logo, the full tweet text, and the embedded media rendered large below. Avatar resolved via unavatar.io with a fallback to the X glyph; media-less tweets use their profile image as the avatar.

  • Fixed: card text is no longer artificially underlined on hover.

515 tests passing. See CHANGELOG for full detail.