Repository navigation
Plugin Introduction
Federico Conticello edited this page Mar 24, 2026
·
3 revisions
FerrisPad has a built-in plugin system powered by Lua 5.4, statically linked into the editor — no external runtime needed.
- React to editor events (file open, save, close, text changes, theme toggle)
- Run external commands (linters, formatters, build tools)
- Read and write files within the project directory
- Display results in tree views, split panels, or an embedded terminal
- Add custom menu items with keyboard shortcuts
- Show diagnostics (errors, warnings) with line annotations
- Access git status and compute diffs
Plugins run inside a sandbox:
- Filesystem access is restricted to the project root directory
- Commands require explicit user approval before a plugin can run them
-
No access to
os,io,debug,require, or other dangerous Lua globals - Resource limits: 1M instructions per hook call, 16 MB memory per plugin
- Three trust tiers: Official (cryptographically signed), Community (SHA-256 checksums), Manual (unverified)
- Open
Plugins > Plugin Manager - Browse the Official or Community tab
- Click Install on the plugin you want
- Official plugins are verified with ed25519 signatures; community plugins are verified with SHA-256 checksums
- Download or clone the plugin into
~/.config/ferrispad/plugins/{plugin-name}/ - The plugin must contain at least
init.luaandplugin.toml - Restart FerrisPad or reload plugins via
Plugins > Reload All
- Toggle plugins on/off via
Plugins > {Plugin Name}in the menu - Disabled plugins are not loaded and consume zero resources
- Plugin state persists across sessions
Many plugins have configurable settings:
- Go to
Plugins > {Plugin Name} > Settings - Adjust parameters (each plugin defines its own settings)
- Settings are stored in FerrisPad's settings file and persist across sessions
See the ferrispad-plugins wiki for the full API reference, hook documentation, and development guide.