leoyishou114 downloadsInline AI writing completion with ghost text. Powered by Groq. Tab to accept.
AI inline writing completion for Obsidian, powered by OpenAI-compatible APIs. The default setup routes through OpenRouter to the Groq provider for fast inference.
Type naturally and get ghost text suggestions that appear inline. Press Tab to accept, Esc to dismiss.
| Key | Action |
|---|---|
| Tab | Accept suggestion |
| Esc | Dismiss suggestion |
| Keep typing | Suggestion auto-dismisses |
| Setting | Default | Description |
|---|---|---|
| API base URL | https://openrouter.ai/api/v1/chat/completions |
Any OpenAI-compatible chat completions endpoint |
| Model | openai/gpt-oss-120b:nitro |
Smart default via OpenRouter's Groq provider |
| System prompt | Built-in heuristic prompt | Editable prompt that controls ghost text style and insight behavior |
| Reasoning effort | minimal |
Keeps reasoning models fast enough for inline autocomplete |
| Hide reasoning | On | Excludes reasoning tokens from suggestion text |
| Provider | groq |
Forces OpenRouter's Groq provider |
| Provider sort | throughput |
Prioritizes high token throughput |
| Allow fallbacks | Off | Keeps requests on the selected provider |
| Trigger delay | 800ms | How long to wait after typing before fetching a suggestion |
| Enabled | On | Toggle via settings or command palette |
The plugin uses CodeMirror 6 extensions to render transparent "ghost text" at the cursor position. When you pause typing, it sends the surrounding context (up to 2000 chars before + 500 chars after cursor) to the configured API and displays the completion as inline ghost text.
MIT