AI Comment Moderation

Un plugin EmDash 1.4 en bac à sable pour modérer les commentaires avec Cloudflare Workers AI.

Extension

AI Comment Moderation

Un plugin EmDash 1.4 en bac à sable pour modérer les commentaires avec Cloudflare Workers AI.

  • Catégorie: IA
  • Statut: Disponible
  • Version: 2.1.0
  • Prix: Inconnu
  • Source: Package npm
  • Installation: Intégration native npm
  • Vérifié: 2026-11-09

Un plugin EmDash 1.4 en bac à sable pour modérer les commentaires avec Cloudflare Workers AI.

Installation

Installez le paquet depuis npm :

npm install emdash-plugin-ai-comment-moderation

Enregistrez le plugin dans votre configuration Astro :

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",
    }),
  ],
});

Cet exemple utilise le runner workerd pour Node.js : installez @emdash-cms/sandbox-workerd et workerd dans le site, ou conservez le runner de bac à sable Cloudflare existant. Un runner de bac à sable est requis.

La version 2.0.0 nécessite EmDash ^1.4.0 et ne prend plus en charge EmDash 0.9.

Détails