Marvin Live storage plugins automatically save snapshots to databases added in version 16.9.26. These plugins are NodeJS modules, stored in a folder set by Marvin Live's configuration file.
an instance of Marvin Live available for development purposes, i.e.: the ability to stop and start it, to try different configuration options
This plugin type is intended to save important information from a discussion room, to a shared idea database.
Marvin Live scans the services directory to find all storage plugins and loads them on start. There is 1 instance of a plugin per room.
Export plugins are NodeJS modules , denoted by their filename:
*.storage.js and the location in the services directory as configured during installation.
An export plugin exports the following required properties:
|name||string||Unique identifier of the plugin, used by Marvin Live for identification and internal communication. If multiple plugins use the same identifier, the last one to be loaded overrides the others.|
The main function of the plugin, called when chemists save a snapshot, once for each snapshot. The function should have a void return type.
Called when chemists change the metadata of a snapshot, once for each change. The function should have a void return type.
array of strings
List of domains where this plugin may be used, when authentication is enabled in Marvin Live. Use
Configures the application to enable this plugin in rooms that are set to private. Private rooms are visible only to their owner and those invited.
Below is an example of a snapshot object, with inline description of the individual attributes.
You can find a brief selection of plugins in our Github repository for: Oracle, JChem Oracle Cartridge, Postgres, JChem Postgres Cartridge and MySQL.