Skip to content

plugin.json

Top-level manifest schema for plugin.json. Place plugin.json at the root of your plugin folder. Optional translated strings for manifest labels live beside it in locales/<lang>.json.

id

stringRequired

Globally unique plugin identifier (for example "curio.reader" or "com.example.converter"). Used for per-plugin page origins (plugin:// on Linux and macOS, http://plugin.<id>.localhost/ on Windows), storage isolation, dependency matching and rule or reader IDs. Plugins that serve HTML pages must use only ASCII letters, digits, ., - and _ (not starting with .).

name

stringRequired

Human-readable display name shown in Settings › Plugins, the Plugins menu and Settings › Shortcuts groups.

version

stringDefault: ""

Semantic version string (for example "1.0.0") displayed in Settings › Plugins and checked against other plugins' dependencies.

api

integerDefault: 1

Manifest API version required by this plugin. Currently 1; versions newer than what Curio supports prevent activation.

min_curio

string | nullDefault: null

Minimum Curio version required (for example "1.2.0"), for plugins that rely on API operations, tools or manifest options added within the same api version. Older Curio builds keep the plugin inactive and report the required version.

description

stringDefault: ""

One-sentence summary shown beneath the plugin name in Settings › Plugins.

author

stringDefault: ""

Author or organization name.

icon

string | nullDefault: null

Tabler icon name without prefix (for example "book", "cube" or "sparkles") shown in Settings › Plugins and the Plugins menu.

dependencies

Record<string, string>Default: {}

Map of required plugin IDs to version requirements (such as "1.2", ">=1.0.0", "^1", "=1.0.0" or "*"). Missing, incompatible or disabled dependencies keep this plugin inactive.

permissions

string[]Default: []

Requested permissions: metadata.read, metadata.write, organize, files.read, files.write, files.outside, ui, exec, network. library.read is always granted implicitly; library.manage is never allowed. See Permissions and isolation.

fields

object[]Default: []

Typed custom metadata fields registered by this plugin. See Field declarations.

extractors

object[]Default: []

Declarative (png_text, regex, json), hidden-page (page) or CLI (command) metadata readers. See Extractor declarations.

widgets

object[]Default: []

Inspector and sidebar widgets (field groups or HTML pages). See Widget declarations.

actions

object[]Default: []

Commands placed in item menus, the Plugins menu, the viewer, shortcuts or reusable action steps. See Action and URL handler declarations.

urls

object[]Default: []

URL pattern handlers claiming dropped, pasted, extension-captured or API-added web addresses. See Action and URL handler declarations.

filters

object[]Default: []

Named one-click Filter bar presets backed by query language expressions. See Search, sort and column declarations.

sorts

object[]Default: []

Named Sort by options backed by custom fields. See Search, sort and column declarations.

panels

object[]Default: []

Declarative Library sidebar panels containing text and one-click filter links. See Window, tab and panel declarations.

columns

object[]Default: []

Specialized host-rendered List view columns (such as render: "font"). See Search, sort and column declarations.

formats

object[]Default: []

File extension handlers, custom display types (type), viewers, thumbnailers, screens, companion rules and open-as-filter rules. See Format and companion declarations.

windows

object[]Default: []

Standalone plugin windows. See Window, tab and panel declarations.

tabs

object[]Default: []

Workspace tabs mounted beside Curio's item grid and Tag Manager. See Window, tab and panel declarations.

viewer_tools

object[]Default: []

Native toolbar controls (buttons, sliders, text readouts) driven by viewer pages via viewer.setTools. See Viewer screens, tools and keys.

viewer_keys

object[]Default: []

Viewer-scoped rebindable shortcuts delivered via plugin.tool. See Viewer screens, tools and keys.

tools

string[]Default: []

Declared external CLI tools discoverable via tool.list and runnable via process.run (ffmpeg, ffprobe, yt-dlp, gallery-dl, exiftool, magick, 7z).

network

string[]Default: []

Host allowlist for page network access (connect-src, img-src and media-src CSP) when the network permission is granted (for example ["openlibrary.org", "*.openstreetmap.org"]). Empty allows any https:/wss: host when network is granted.

settings

string | nullDefault: null

Relative path to an HTML settings page embedded inline inside Settings › Plugins (for example "settings.html").

theme_variables

Record<string, string>Default: {}

Custom CSS variables published as --plugin-<name> (. and _ become -). Values must use only ASCII letters, digits, spaces and # % . , + - * / ( ) with balanced parentheses and no url(. Ignored in --safe-mode.