Auto Social Share

将新发布的 EmDash CMS 文章自动分享到 Bluesky、Mastodon 和 X(Twitter),可选附带特色图片。

插件

Auto Social Share

将新发布的 EmDash CMS 文章自动分享到 Bluesky、Mastodon 和 X(Twitter),可选附带特色图片。

  • 分类: 社交
  • 状态: 可用
  • 版本: 0.2.0
  • 价格: 未知
  • 来源: npm 软件包
  • 安装方式: npm 原生集成
  • 核实日期: 2026-11-01

将新发布的 EmDash CMS 文章自动分享到 Bluesky、Mastodon 和 X(Twitter),可选附带特色图片。

安装

从 npm 安装该软件包:

npm install @drateberry/emdash-plugin-social-share

在 Astro 配置中注册该插件:

import { socialSharePlugin } from "@drateberry/emdash-plugin-social-share";
import emdash from "emdash/astro";

export default defineConfig({
  integrations: [
    emdash({
      // ...your existing config
      plugins: [socialSharePlugin()],
    }),
  ],
});

详细信息