Automation & URL scheme

Deep-link into documents from scripts, terminals, and other tools.

The bungu:// URL scheme

Open a file at an exact position from anywhere that can open a URL:

open "bungu://open?path=/path/to/notes.md"
open "bungu://open?path=/path/to/notes.md&line=42"
open "bungu://open?path=/path/to/notes.md&heading=Roadmap"
ParameterMeaning
pathAbsolute path to the file (required)
lineJump to a line number after opening
headingJump to a heading by name

Handy targets: terminal aliases, scripts that generate reports, linking into notes from issue trackers or other apps.

From the terminal

open -a Bungu notes.md      # open a file
open -a Bungu .             # not supported — add folders via ⌘⇧O instead

Slash command issue reports

/report <description> in the chat pane files a GitHub issue without leaving the editor: the local model classifies it (bug/feature), proposes labels, attaches sanitized logs for bugs (home paths redacted), and shows you the full editable draft before anything is submitted.