Mirror Flat LogA minimal VS Code extension for daily journaling with integrated AI chat — keeping your thought flow inside the editor. FeaturesCommands
Inline AI Chat (
|
| Provider | Value | API Key |
|---|---|---|
| Google Gemini | gemini (default) |
Required — aistudio.google.com |
| OpenAI ChatGPT | openai |
Required — platform.openai.com |
| Anthropic Claude | claude |
Required — console.anthropic.com |
| Ollama (local) | ollama |
Not required |
Run MirrorFlat: Set API Key to store a key securely, or set the environment variables GEMINI_API_KEY, OPENAI_API_KEY, or ANTHROPIC_API_KEY.
Ollama (local LLM)
No API key needed. Configure:
mirrorflatlog.ollamaModel— model name (default:llama3.2)mirrorflatlog.ollamaBaseUrl— server URL (default:http://localhost:11434)
MirrorFlat: Chat (Ctrl+U)
Set mirrorflatlog.chatUrl to any AI chat URL (e.g. https://gemini.google.com, https://copilot.microsoft.com). Pressing Ctrl+U opens it in the system browser.
Log File Format
Daily logs are plain Markdown files. Timestamps are headings, dialogs are blockquotes — readable without the extension.
# 2026-05-03 09:00
## 09:00
Today's thoughts...
> ### dialog `09:15`
> User: Summarize what I wrote above.
> AI: You reflected on...
Why?
I write a daily log in VS Code and chat with AI to reflect — like looking into a mirror.
This extension merges both into a single markdown lifelog with minimal UI noise.
Development
npm install
npm run build # compile TypeScript
npm test # run tests (52 tests)
# Press F5 in VS Code to launch Extension Development Host