Examples
Acest conținut nu este încă disponibil în limba selectată.
The repository includes example plugins you can copy, rename, and adapt while building your own tools.
Included plugin examples
Section titled “Included plugin examples”examples/plugins/hello-worldMinimal Rust plugin. Good for understanding the smallest manifest and tool surface.examples/plugins/ts-hello-worldSmallest AssemblyScript example. Good for learning the manifest format, the plugin exports, and the basic host API.examples/plugins/obsidian-wikiWorkspace-oriented plugin that manages markdown notes inside the active project root.examples/plugins/web-searchRust plugin example that shows an alternative implementation language.
Desktop UI examples
Section titled “Desktop UI examples”apps/desktop/plugins/calendarExample plugin with a sidebar panel and a main content panel declared through[[ui.tabs]].apps/desktop/plugins/pomodoroExample plugin with a richer interactive desktop UI tab backed by plugin storage and tools.
What to learn from the examples
Section titled “What to learn from the examples”- manifest structure
- host calls
- tool naming
- desktop UI tab registration
- packaging flow
Recommended path
Section titled “Recommended path”- Copy
ts-hello-world. - Change the plugin identity in
plugin.toml. - Replace the sample tools with your own.
- Keep permissions as narrow as possible while you develop.