Live site: https://ghosttyper-bs-ext.oriz.in
Copilot-style inline AI writing suggestions in any text field — Gmail, Notion, Twitter, web forms, anywhere. Press Tab or Right Arrow to accept. 100% client-side, no backend, no telemetry.
As you type, GhostTyper fetches a short AI completion for the text before your cursor and renders it inline as greyed-out ghost text. Keep typing to dismiss; press Tab or Right Arrow to accept instantly.
| Provider | Key required | Default model | Notes |
|---|---|---|---|
| Pollinations (default) | No | openai | Zero-config. Works immediately. |
| Groq | Yes | llama-3.3-70b-versatile | console.groq.com |
| Cerebras | Yes | llama-3.3-70b | cloud.cerebras.ai |
| Google Gemini | Yes | gemini-2.0-flash | aistudio.google.com |
| OpenRouter | Yes | deepseek/deepseek-r1:free | openrouter.ai |
| Mistral | Yes | mistral-small-latest | console.mistral.ai |
| Custom | Optional | Your choice | Any OpenAI-compatible endpoint |
chrome://extensions.extension/ folder.No account. No sign-up. Works immediately with the Pollinations default.
/chat/completions (max_tokens=64, temperature=0).<input>/<textarea>; Selection/Range API ghost span for contentEditable).GhostTyper is 100% client-side. Text goes browser → your chosen provider. No GhostTyper server exists.
Sensitive fields always excluded — GhostTyper never reads or sends text from:
input[type=password]autocomplete=cc-*: cc-number, cc-csc, cc-exp, cc-name, cc-type)See Privacy Policy for full details.
| Key | Action |
|---|---|
| Tab | Accept suggestion |
| Right Arrow | Accept suggestion (fallback — useful when Tab is remapped) |
| Esc | Dismiss suggestion |
| Any other key | Keep typing (dismisses suggestion) |
Open the extension popup and click Open Settings.
| Setting | Default | Description |
|---|---|---|
| Provider | Pollinations | AI provider |
| API Key | (empty) | Not needed for Pollinations |
| Model | (provider default) | Override the model |
| Custom Base URL | (empty) | For Custom provider |
| Trigger Delay | 150ms | Debounce before fetching |
| Presentation Mode | Inline | Inline / Popup / Panel |
| Blocked Sites | (empty) | Domains where suggestions are disabled |
PRs welcome. Open an issue first for large changes.
git clone https://github.com/chirag127/ghosttyper-bs-ext
# Load extension/ unpacked in Chrome for development
# Run tests:
node --test tests/
MIT — see LICENSE.