A contemplative Chrome extension that reviews your Gmail drafts against Buddhist Right Speech principles — using a local LLM via Ollama. No data leaves your machine.
- Analyzes your Gmail drafts in real-time as you type
- Intercepts Send and pauses only when the draft needs more care
- Reflects on five qualities of Right Speech: Sacca (truthful), Attha (beneficial), Piya (kind), Metta (goodwill), and Kala (timely)
- Suggests a revised draft you can apply with one click
-
Install and start Ollama:
ollama serve ollama pull llama3.1
-
Load the extension in Chrome:
- Go to
chrome://extensions - Enable Developer mode
- Click Load unpacked and select this directory
- Go to
-
If Ollama returns
403 Forbidden, allow the extension origin:OLLAMA_ORIGINS="chrome-extension://*" ollama serve
Click the extension icon to open settings:
- Provider: Ollama (local) — default
- Ollama URL:
http://localhost:11434 - Model: any model available in your Ollama instance (e.g.
llama3.1)
right-speech-extension/
├── engine/ # Core analysis: prompt builder, Ollama client, orchestrator
├── adapters/gmail/ # Gmail-specific: compose detection, UI injection
├── ui/ # Web Components: presence indicator, reflection panel
├── settings/ # Extension popup for configuration
├── background.js # Service worker: settings, message relay
└── manifest.json # Chrome MV3 manifest
All analysis runs locally through Ollama. No draft text is sent to any external service.