Venolio

Build add-ons

For developers

Add-ons extend Venolio with features the product does not ship: an integration with a chat tool, a digest sent to a webhook, records filed from an outside service, a block that shows data from another system. You write an add-on in Rust with the venolio-addon SDK, compile it to WebAssembly, test it on your machine with the venolio-addon command-line tool, and hand Venolio a package: a JSON manifest plus the module.

Venolio runs add-ons in a sandbox. An add-on sees nothing of the workspace except what its manifest asks for and an administrator grants, and it runs with hard limits on processor time, memory, wall-clock time, calls and data. The command-line tool applies the same checks and limits on your machine, so an add-on that passes venolio-addon build and venolio-addon test installs and runs the same way in Venolio.

How administrators install add-ons and grant permissions is described in Connect other tools.

Getting the SDK

The SDK and the command-line tool are not on crates.io yet. Ask the Venolio team for the SDK source at support@venol.io; Getting started shows how to install the tool from it.

How an add-on works

manifest.json ─┐                         Venolio
               ├─ venolio-addon pack ─►  install (an administrator approves the permissions)
module.wasm  ──┘                         │
                                         ▼
                          an entry point runs in the sandbox
                          input JSON ─► your function ─► output JSON
                                         │
                                         └─ host API (venolio.*): only what the grants allow
  • An entry point is a function your module exports, with no parameters and no results. Data moves through the host API: the run’s JSON input, its JSON output, log lines and host requests. The SDK’s entry_point! macro turns a fn(Input) -> Result<Output> into one.
  • Each entry point has a kind. function runs when an administrator starts it (Run in the add-on settings). action, webhook, panel and block are extension points, started by automations, by requests to a secret address and by people viewing pages.
  • The sandbox has no file system, clock, randomness, environment variables or sockets. Network access goes through the host API, only to the hosts an administrator granted.

This documentation describes manifest version 1. The SDK constant venolio_addon::limits::VENOLIO_VERSION is the Venolio version the SDK and the tool target; the tool checks your manifest’s venolio_versions against it.

Guides

Guide What it covers
Getting started Install the tools, create, build, test and package your first add-on.
Manifest Every field of manifest.json and its rules.
Host API What an add-on can call: input and output, logs, pages, records, storage, HTTP, triggers, signatures.
Extension points Automation actions and triggers, incoming webhooks, page panels and blocks.
Permissions Scopes, what an administrator grants, what an add-on can never reach.
Limits Processor, memory, time, calls and sizes, and what happens when a run hits one.
Testing Native unit tests, test cases against the WebAssembly build, fixtures.
Packaging and submitting The package format, installing it in your own Venolio, getting it listed.
Command-line reference Every venolio-addon command and option.

About this part of Venolio: Let Claude, ChatGPT and Codex work in your workspace

Checked against the app on . The same help is built into the Venolio apps and works offline. Something wrong or missing? Tell us.