ContentShield

Ultra-fast multilingual profanity detection. Runs entirely in your browser — no server, no data leaves your machine. GitHub · npm

Engine ready (English bundled).
<script src="https://zachhandley.github.io/ContentShield/content-shield.global.js"></script>
<script>
  // English is bundled. For other languages:
  await ContentShield.loadLanguage('es', 'https://zachhandley.github.io/ContentShield')

  const result = await ContentShield.detect("some text to check")
  console.log(result)
</script>

GitHub Pages can't host an HTTP endpoint, but ContentShield ships with a Hono example you can deploy to Cloudflare Workers, Bun, Deno, or Node in about a minute.