Plugins
Viewers and syntax highlighting in frds are plugins. They ship with the app and can be updated on their own: a newer plugin placed in the plugin folder replaces the shipped one without reinstalling frds.
Shipped plugins
- PDF viewer, with pages, zoom and find
- Syntax highlighting for Stata, SAS, Python, R, SQL, Julia, MATLAB, LaTeX, shell and PowerShell
- Markdown, including Quarto and R Markdown
- Jupyter notebooks, with cells and saved outputs
- HTML and images
Where plugins live
- Shipped with frds, in the app's
pluginsresource folder. - Installed by you, in the
pluginsfolder of frds's data folder. Settings ▸ Plugins ▸ Install from folder copies one there.
When both have a plugin with the same id, the higher version is used, and your copy wins a tie. Plugins run with the same rights as frds's own interface, so install only plugins you trust.
Writing a plugin
A plugin is a folder with a manifest.json and an ES module that exports activate(api). A plugin can register a viewer for some file extensions, or a highlighter for some languages.
{
"id": "example.markdown",
"name": "Markdown viewer",
"version": "1.2.0",
"main": "index.js",
"minAppVersion": "3.0.0"
}
The full reference, including what a viewer can do and how it shows what a search found, is in docs/plugins.md on GitHub.
frds Pro
frds Pro is planned for later and will add more features through plugins. frds Lite, the free and open source app, has everything in the current version.