Vandrite Docs

Plugin Manifest

Configure your plugin's metadata and requirements

Plugin Manifest

Every Vandrite plugin requires a manifest.json file in its root directory. This file contains metadata about your plugin and tells Vandrite how to load it.

Basic Structure

manifest.json
{
  "id": "my-plugin",
  "name": "My Plugin",
  "version": "1.0.0",
  "description": "A description of what my plugin does",
  "author": "Your Name",
  "minAppVersion": "0.1.0"
}

Required Fields

FieldTypeDescription
idstringUnique identifier for your plugin. Use lowercase and hyphens (e.g., my-plugin)
namestringDisplay name shown in the plugin list
versionstringSemantic version (e.g., 1.0.0)
descriptionstringBrief description of what your plugin does
authorstringYour name or organization
minAppVersionstringMinimum Vandrite version required

Optional Fields

manifest.json
{
  "id": "advanced-plugin",
  "name": "Advanced Plugin",
  "version": "2.0.0",
  "description": "An advanced plugin example",
  "author": "Your Name",
  "authorUrl": "https://yourwebsite.com",
  "minAppVersion": "0.1.0",
  "isDesktopOnly": false,
  "main": "main.js",
  "helpUrl": "https://github.com/you/your-plugin"
}
FieldTypeDefaultDescription
authorUrlstring-Link to author's website
isDesktopOnlybooleanfalseIf true, plugin won't load on mobile
mainstringmain.jsEntry point file name
helpUrlstring-Link to documentation or support

Version Guidelines

Follow Semantic Versioning:

  • Major (1.x.x): Breaking changes
  • Minor (x.1.x): New features, backwards compatible
  • Patch (x.x.1): Bug fixes

Ensure your minAppVersion matches the @vandrite/plugin-api version you're using. Using APIs from a newer version than specified may cause errors.

Example Manifests

Simple Plugin

{
  "id": "word-counter",
  "name": "Word Counter",
  "version": "1.0.0",
  "description": "Displays word count in the status bar",
  "author": "Developer Name",
  "minAppVersion": "0.1.0"
}
{
  "id": "advanced-editor-tools",
  "name": "Advanced Editor Tools",
  "version": "2.1.0",
  "description": "Powerful editing tools including find/replace, sorting, and more",
  "author": "Plugin Labs",
  "authorUrl": "https://pluginlabs.com",
  "minAppVersion": "0.2.0",
  "isDesktopOnly": true,
  "helpUrl": "https://github.com/pluginlabs/advanced-editor-tools/wiki"
}

On this page