For the complete documentation index, see llms.txt. This page is also available as Markdown.

📦Plugin Registries

Configure registries and install plugins

Plugin registries allow you to extend LRR's capabilities through third-party plugins.

Adding a Registry

Three types of registries are supported:

  • A git-based registry is a git repository on GitHub, or a self-hosted Gitea or Forgejo instance. Configure it with the repository's HTTPS URL, a branch/tag/commit, and the provider (github or gitea).

  • A CDN-based registry is a folder served on a static file service like nginx. Configure it with the folder's HTTP or HTTPS base URL.

  • A filesystem-based (local) registry is a folder on disk. Configure it with its absolute path.

A registry's plugins only become available after it is refreshed, which loads its index.

Plugin Management

Plugins installed through a registry are managed entirely by LRR. Install, upgrade, and uninstall plugins through the plugin API.

Creating Your Own Registry

A registry must have the following file structure:

|- registry.json
|- artifacts
|  |- plugin-1
      |- 1.0.0
         |- Plugin1.pm
      |- 1.1.0
      |- 2.0.0
      |- ...
|  |- plugin-2
|  |- plugin-3
|  |- ...

The registry.json holds info about all plugins contained in a registry. You can write it by hand, or generate it with generate_registry.pl):

The JSON should look like the following:

Last updated