To use Sunder in your application, initialize the Sunder engine and pass your text through the `protect` method.
Try it yourself locally
import { Sunder } from '@sunder-ai/core';
const sunder = new Sunder();
const protectedText = sunder.protect("My email is john@example.com");
console.log(protectedText);
// Output: "My email is [EMAIL_1]"Sunder AI uses Ollama as its default local AI provider. Your data never leaves your machine.
# macOS (Homebrew) brew install ollama # Or download from https://ollama.com/download
ollama serve
Runs on http://localhost:11434 by default.
# Recommended for general use ollama pull llama3.2 # Lightweight alternative ollama pull gemma3:4b
The dashboard connects to Ollama from the browser, so CORS must be enabled:
# Start with CORS enabled OLLAMA_ORIGINS="*" ollama serve # Or set permanently in ~/.zshrc export OLLAMA_ORIGINS="*"
The Sunder extension brings privacy protection directly into AI chat websites like ChatGPT, Claude, Gemini, Perplexity, DeepSeek, and Copilot.
chrome://extensionsapps/extension/build/chrome-mv3-prod directory[EMAIL_1]