不知道怎么写日记?让 AI 通过对话引导你,然后自动整理成一篇像你亲笔写的日记。
Open Settings → Diary Pal → Enter your OpenAI/Claude API Key → Click "Test Connection"
Click "Analyze Writing Style" to let AI learn how you write (reads your existing diaries)
Click the 📖 icon in sidebar → Chat with AI → Click "Finish & Generate" → Done! Your diary is saved.
That's it. The AI asks you questions, you answer naturally, and it writes the diary for you—in your own style.
打开设置 → Diary Pal → 填入 OpenAI/Claude API Key → 点击"测试连接"
点击"开始分析"让 AI 学习你的写作方式(会读取你已有的日记)
点击侧边栏 📖 图标 → 和 AI 对话 → 点击"结束并生成" → 完成!日记已保存。
就这么简单。 AI 提问,你自然回答,然后它帮你写成日记——用你的文风。
| Before | After |
|---|---|
| Staring at blank page, don't know what to write | AI asks you questions, just chat naturally |
| Writing feels like a chore | 5-min conversation becomes a diary |
| Diary sounds robotic | Matches YOUR writing style (short sentences, casual tone, etc.) |
| Forgetting what happened today | AI guides you to recall details |
| 以前 | 现在 |
|---|---|
| 盯着空白页面不知道写什么 | AI 问你问题,自然聊天就好 |
| 写日记像完成任务 | 5分钟对话变成一篇日记 |
| 写出的东西像机器人 | 匹配你的文风(短句、口语化等) |
| 忘记今天发生了什么 | AI 引导你回忆细节 |
- Interview Mode - AI asks 5-8 gentle questions about your day
- Style Learning - Analyzes your past diaries to match your tone
- Auto Generate - Transforms conversation into a diary entry
- Save & Edit - Auto-saved to your vault, open and edit if needed
- 访谈模式 - AI 问你 5-8 个关于今天的问题
- 文风学习 - 分析你过去的日记,匹配你的语气
- 自动生成 - 把对话转换成日记正文
- 保存编辑 - 自动保存到仓库,可打开修改
- Obsidian v0.15.0+
- OpenAI, Claude, or compatible API key
Manual Install:
- Download
main.js,manifest.json,styles.cssfrom GitHub Releases - Copy to
.obsidian/plugins/diary-pal/ - Restart Obsidian → Enable "Diary Pal" in Community Plugins
From Community Plugin Store (Pending): Coming soon...
- Settings → Diary Pal
- Choose LLM Provider: OpenAI / Claude / Custom
- Enter API Key: Your key (stored locally only)
- Test Connection: Verify it works
- Analyze Writing Style: Let AI learn your style (takes 1-2 minutes)
- OpenAI: gpt-4o-mini, gpt-4o, etc.
- Claude: claude-3-haiku, claude-3-sonnet, etc.
- Custom: Any OpenAI-compatible API
- Auto-detect: Follows Obsidian's language
- 中文: Full Simplified Chinese support
- English: Full English support
Switch in Settings → Diary Pal → Language (restart required).
AI: What happened today?
You: Fixed a bug at work, took 3 hours
AI: How did you feel when you finally solved it?
You: Relieved but tired
AI: Anything else worth noting?
You: Had great ramen for dinner
Spent 3 hours fixing a bug today. Finally solved it—felt relieved but drained.
Dinner was a highlight. Great ramen, hit the spot.
Characteristics:
- Short, conversational sentences
- No emojis or structured headers
- Sounds like you wrote it yourself
- API Key stored locally (plain text, keep your config safe)
- Diary analysis done locally (your data never leaves your device)
- Only API calls go to your chosen LLM provider
git clone https://github.com/Jageri/obsidian-diary-pal.git
cd obsidian-diary-pal
npm install
npm run dev # Development mode
npm run build # Production buildIssues and PRs welcome!
MIT License - see LICENSE
Inspired by OpenClaw's diary companion workflow.
Ready to start? Go to Quick Start or 快速开始