Mateusz Tymek 9ef9d26021 Cleanup
2026-01-04 22:13:36 +00:00
2026-01-04 21:32:03 +00:00
2026-01-04 22:10:56 +00:00
2026-01-04 22:13:36 +00:00
2026-01-04 21:32:03 +00:00
2026-01-04 21:32:03 +00:00
2026-01-03 16:08:11 +00:00
2026-01-03 16:08:11 +00:00
2026-01-04 22:13:36 +00:00
2026-01-03 16:08:11 +00:00
2026-01-03 16:08:11 +00:00
2026-01-03 16:09:38 +00:00
2026-01-03 16:08:11 +00:00
2026-01-03 16:08:11 +00:00

Obsidian OpenCode

Embed OpenCode AI assistant directly in Obsidian's sidebar.

Requirements

  • Desktop only (uses Node.js child processes)
  • OpenCode CLI installed and in your PATH

Installation

  1. Clone to .obsidian/plugins/obsidian-opencode
  2. bun install && bun run build
  3. Enable in Obsidian Settings > Community plugins

Usage

  • Click the terminal icon in the ribbon, or
  • Cmd/Ctrl+Shift+O to 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

Setting Default Description
Port 14096 Server port
Hostname 127.0.0.1 Bind address
OpenCode path opencode Path to executable
Auto-start off Start server on Obsidian launch

Development

bun run dev    # Watch mode
bun run build  # Production build

License

MIT

Description
Embed OpenCode AI assistant directly in Obsidian's sidebar.
Readme MIT 1.5 MiB
Languages
TypeScript 94.5%
CSS 4.3%
JavaScript 1.2%