Build tools for Petti

Petti 1.4 · Plugin API v1 · Experimental

A Petti plugin is a local folder with a manifest and JavaScript. Petti supplies the interface and controlled database access. You supply the tool’s behavior.

Applies to Petti 1.4.0 · API version 1 · Experimental. API version 1 identifies the current contract, not a promise of unlimited compatibility. Read the limits before depending on a capability.

Start small

Build a command or cell preview first. You do not need Swift, Xcode, Node, a web server or an external AI service to write and install a plugin. The installed Mac app runs the JavaScript. A source checkout and Xcode are only needed for the repository’s automated Swift tests.

For installing and using tools rather than authoring them, see the user guide. Petti plugins are not native SQLite extensions: they cannot load .dylib files or add arbitrary SQLite functions.

Build and learn

Develop safely