1. Create the plugin
myrax.plugin.toml
2. Add a tab
The panel imports your entry as an ES module and callsregister(myrax).
sidebar.add creates the tab; mount is called when the user opens it and
must return a cleanup function.
web/plugin.js
web/plugin.css
var(--panel),
var(--text), var(--bg) and friends follow the active theme.
3. Install and look at it
On the server (plugin system must be on —myrax add-ons enable):
4. Add a backend (optional)
Frontends are sandboxed to the browser. Anything that needs the server — a process, files, another API — goes in a runtime: a process the panel starts, supervises and proxies for you. Declare it in the manifest:myrax.plugin.toml
web/plugin.js
myrax plugin logs hello.
Next
- Manifest — every field and its default.
- Frontend API — the full
myraxobject. - Runtime — environment, transports, lifecycle.
- Publishing — shipping from a git repo.