b5c523791544874a2425661c02e4aad167adcafb
Set NODE_USE_SYSTEM_CA=1 when spawning the opencode server process. This allows Bun to use the macOS system keychain for TLS validation, fixing SSL errors for users on corporate VPNs with custom CAs.
OpenCode plugin for Obsidian
Give your notes AI capability by embedding Opencode OpenCode AI assistant directly in Obsidian:
Use cases:
- Summarize and distill long-form content
- Draft, edit, and refine your writing
- Query and explore your knowledge base
- Generate outlines and structured notes
Note: plugin author is not afiliated with OpenCode or Obsidian - this is a 3rd party software.
Requirements
- Desktop only (uses Node.js child processes)
- OpenCode CLI installed
- Bun installed
Installation
- Clone to
.obsidian/plugins/obsidian-opencodesubdirectory under your vault's root - Run
bun install && bun run build - Enable in Obsidian Settings > Community plugins
- Add AGENTS.md to the workspace root, use it to explain the structure
Usage
- Click the terminal icon in the ribbon, or
Cmd/Ctrl+Shift+Oto toggle the panel- Server starts automatically when you open the panel
Commands
| Command | Description |
|---|---|
| Toggle OpenCode panel | Show/hide sidebar |
| Start OpenCode server | Manual start |
| Stop OpenCode server | Manual stop |
Settings
Languages
TypeScript
94.5%
CSS
4.3%
JavaScript
1.2%