AI Comment Moderation

A sandboxed EmDash 1.4 plugin for comment moderation using Cloudflare Workers AI.

Plugin

AI Comment Moderation

A sandboxed EmDash 1.4 plugin for comment moderation using Cloudflare Workers AI.

  • Category: AI
  • Status: available
  • Version: 2.1.0
  • Price: Unknown
  • Source: npm package
  • Install method: Native npm integration
  • Verified: 2026-11-09
  • Compatibility: EmDash ^1.4.0
  • Maintainer: jimiryquai

A sandboxed EmDash 1.4 plugin for comment moderation using Cloudflare Workers AI.

Installation

Install the package from npm:

npm install emdash-plugin-ai-comment-moderation

Register the plugin in your Astro config:

import { defineConfig } from "astro/config";
import emdash from "emdash/astro";
import aiCommentModeration from "emdash-plugin-ai-comment-moderation";

export default defineConfig({
  integrations: [
    emdash({
      sandboxed: [aiCommentModeration],
      sandboxRunner: "@emdash-cms/sandbox-workerd/sandbox",
    }),
  ],
});

This example uses the Node.js workerd runner: install @emdash-cms/sandbox-workerd and workerd in the site, or keep your site’s existing Cloudflare sandbox runner. A sandbox runner is required.

Version 2.0.0 requires EmDash ^1.4.0 and drops EmDash 0.9 support.

Details