How to configure a twitter-to-bsky script to synchronize X content to Bluesky and Mastodon?

33Second reading
no comments

twitter-to-bsky:实现 Twitter/X 内容一键同步至 Bluesky 与 Mastodon

twitter-to-bsky 是一款轻量级的浏览器脚本(Userscript),旨在帮助用户在 Twitter/X 网页端发布推文时,同步将内容推送至去中心化社交平台 Bluesky and Mastodon。该工具无需安装独立软件,仅需在 Chrome、Firefox or Edge 浏览器中安装脚本管理器即可运行。

如何配置 twitter-to-bsky 脚本实现 X 内容同步至 Bluesky 与 Mastodon

适用场景与限制

在社交平台迁移的过渡期,通过脚本同步内容可以有效维持多平台活跃度,防止粉丝失联。该工具最适合分发 新闻、博客链接及通用状态更新

注意:由于平台机制差异,该脚本 不适用于 私信、回复或 @ 提及等强互动内容。此外,Bluesky 目前暂不支持同步视频与 GIF 格式。

支持同步的内容类型:

  • 纯文本推文
  • 单图或多图推文
  • 带有链接预览卡的推文

安装与配置步骤

  1. 安装脚本管理器:在浏览器中安装 Tampermonkey or Violentmonkey 插件。
  2. 加载同步脚本:访问 twitter-to-bsky.user.js 并确认安装。
  3. 配置平台权限:安装完成后,Twitter 网页导航栏将出现 「交叉发布」 按钮,点击进入设置界面填写以下信息:
    • Mastodon 配置:填写实例地址(如 https://mastodon.social)及 Access Token(路径:设置 $rightarrow$ Development $rightarrow$ 创建新应用)。
    • Bluesky 配置:Fill in the complete account Handle (e.g.) @example.bsky.social)及 App 密码(路径:设置 $rightarrow$ 高级 $rightarrow$ App Passwords)。
  4. 开始同步:在推文编辑器中勾选 「Mastodon」 or 「Bluesky」 选项,点击发布即可同步至对应平台。

如何配置 twitter-to-bsky 脚本实现 X 内容同步至 Bluesky 与 Mastodon

兼容性建议

经测试,Chrome + Violentmonkey 的组合运行最为稳定。对于 Firefox 用户,由于浏览器内容安全策略(CSP)的限制,使用 Violentmonkey 可能会出现间歇性失效,建议优先选择 Tampermonkey 插件以获得更好的兼容性。

Resource Links

End of text
0
Administrator
Copyright Notice:This article is original content from this website. Administrator 于2025-12-24发表,共计955字。
Reprinting Notice:Unless otherwise stated, all original content on this site is published under the Creative Commons Attribution 4.0 (CC BY 4.0) license. Please indicate the source and retain the original link when reprinting. Some content on this site is compiled from publicly available information and may have been generated or optimized with the assistance of AI technology. It is for reference only and does not constitute any professional advice. Readers should make their own judgments and verifications. This site assumes no responsibility for the availability, security, or legality of third-party resources.
Comments (No comments)
验证码