AI Comment Moderation

Un plugin in sandbox per EmDash 1.4 che modera i commenti con Cloudflare Workers AI.

Estensione

AI Comment Moderation

Un plugin in sandbox per EmDash 1.4 che modera i commenti con Cloudflare Workers AI.

  • Categoria: IA
  • Stato: Disponibile
  • Versione: 2.1.0
  • Prezzo: Sconosciuto
  • Fonte: Pacchetto npm
  • Installazione: Integrazione npm nativa
  • Verificato: 2026-11-09

Un plugin in sandbox per EmDash 1.4 che modera i commenti con Cloudflare Workers AI.

Installazione

Installa il pacchetto da npm:

npm install emdash-plugin-ai-comment-moderation

Registra il plugin nella configurazione di 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",
    }),
  ],
});

Questo esempio usa il runner workerd per Node.js: installa @emdash-cms/sandbox-workerd e workerd nel sito, oppure mantieni il runner sandbox di Cloudflare già in uso. È necessario un runner sandbox.

La versione 2.0.0 richiede EmDash ^1.4.0 e non supporta più EmDash 0.9.

Dettagli