Ima Vault

approved

by Liu Bo

This plugin has not been manually reviewed by Obsidian staff. Integrate IMA knowledge base with your vault. Supports Markdown rendering, import to folder, and advanced search.

1 stars19 downloadsUpdated 6d agoMIT

Ima Vault

Integrate IMA knowledge base and notes seamlessly into Obsidian.

GitHub release License: MIT


将腾讯 IMA 知识库和笔记无缝集成到 Obsidian,支持搜索、浏览、导入和阅读。


✨ Features / 功能

  • 🔍 Search Notes — Search IMA notes by title or content, with pagination support
  • 📁 Browse Notebooks — Browse IMA notebook directories, drill into notes
  • 📖 View Notes — Render notes in Obsidian sidebar with native Markdown rendering
  • 📥 Import to Vault — One-click import of IMA notes as .md files into your vault
  • 🧭 Navigation Stack — Forward/back navigation between multiple pages
  • ⌨️ Command Palette — Cmd/Ctrl+P to open IMA panel or search directly

📦 Installation / 安装

From Community Plugins (recommended) / 从社区插件市场安装(推荐)

  1. Open Obsidian → Settings → Community plugins
  2. Search for "Ima Vault"
  3. Click Install, then Enable

Manual Install / 手动安装

  1. Download the latest main.js, manifest.json, and styles.css from Releases
  2. Copy them to your-vault/.obsidian/plugins/ima/
  3. Restart Obsidian
  4. Enable in Settings → Community plugins

⚙️ Configuration / 配置

Get IMA Credentials / 获取 IMA 凭证

  1. Visit ima.qq.com Open Platform / 开放平台
  2. Create an app to get your Client ID and API Key

Plugin Setup / 插件设置

  1. Obsidian → Settings → Community plugins → Ima Vault
  2. Enter your Client ID and API Key
  3. Save — you're ready to go

🚀 Usage / 使用

Method 1: Sidebar Panel

Click the 🔍 icon in the left ribbon to open the IMA panel:

TabDescription
🔍 SearchSearch notes by keyword (title/body)
📁 NotebooksBrowse all notebooks, view notes inside

Method 2: Command Palette

Cmd/Ctrl + P → type IMA:

  • Open IMA Panel — Open sidebar panel
  • Search IMA Notes — Open search directly
  • Browse IMA Folders — Browse notebooks directly

Import Notes

On note detail page, click 📥 Import to Vault to save as Markdown and open in your vault.

🛠️ Technical Notes / 技术实现

  • Pure JavaScript (no TypeScript compilation dependency)
  • Uses Obsidian requestUrl API for IMA OpenAPI calls
  • MarkdownRenderer for native note rendering
  • Event binding: innerHTML + getElementById + onclick

API Endpoints

EndpointUsage
/openapi/note/v1/search_note_bookSearch notes
/openapi/note/v1/list_note_folder_by_cursorList notebooks
/openapi/note/v1/list_note_by_folder_idList notes in notebook
/openapi/note/v1/get_doc_contentGet note content
/openapi/note/v1/import_docCreate note
/openapi/note/v1/append_docAppend to note

📝 Changelog

v0.9.0

  • 📁 Browse notebooks
  • 🧭 Navigation stack
  • 🔍 Title/body search toggle
  • ⌨️ New command palette commands
  • 📄 Pagination for search results

v0.8.1

  • 🐛 Fix MarkdownRenderer API call
  • 🎨 Native Markdown rendering

📄 License

MIT

🙏 Acknowledgments


Made by Liu Bo

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.