The public Go SDK is github.com/allisonhere/tide/sdk/go/pluginapi. A plugin is a separate executable: it reads newline-delimited JSON-RPC from stdin and writes only JSON-RPC to stdout. It may log to stderr. Other languages can implement protocol v1 without importing any Go package.
- Copy
templates/hello-worldinto a new directory. Change the manifest ID to your own reverse-domain identifier, and set the name, author, license, version, permissions, and platform entrypoints. - In
main.go, handletide/initializeby returning{"api":"1"}. Handleview/renderby returning a document or canvas. Handleview/eventto update your own state. Use a mutex if handlers share state: the SDK dispatches requests concurrently. - For host data, call
peer.Call(ctx, "host/articles.list", map[string]any{"limit":20}, &result)from a handler. Declarearticles.metadata.readin the manifest, then approve it during installation. Keep a deadline on calls and show errors in your UI. - Build a Linux binary into the path listed in
entrypoints, for examplego build -o bin/my-plugin .. For Windows, buildGOOS=windows GOARCH=amd64 go build -o bin/my-plugin.exe .and listwindows/amd64in the manifest. Ensure a Linux entrypoint has executable permissions. - Launch Tide, press
P, theni, enter the directory path, inspect the requested permissions, and pressy. The managed copy can be replaced by a higher version. Press Enter on the installed plugin to open its view.
For distribution, package tide-plugin.json and the executable at the ZIP root. Name a GitHub release asset tide-plugin-<os>-<arch>.zip, tag the release with the manifest version, and provide a GitHub SHA-256 digest. Users can inspect it through P → h. A private custom registry uses the registry format. Tide never runs build or install scripts from an archive.
The host supports a focused set of methods, including article reads and state, storage, settings, secrets, the browser, notifications, clipboard, approved Markdown export, published articles, and AI generation. See the method table and the later capabilities before declaring permissions, and configuration for settings fields. Plugin-to-plugin services, graphics, and OS sandboxing are not available yet.