-
-
Notifications
You must be signed in to change notification settings - Fork 31
MMPM Custom Packages
Custom Packages in MMPM allow adding private or public packages not listed in the MagicMirror 3rd Party Wiki. Once added to your local database, they can be installed, upgraded, and removed just like any marketplace package.
Every Custom Package needs a title, author, repository URL, and description. You can add one through the CLI with mmpm custom-pkg add (alias: mmpm pkg add), or in the UI under the "Custom Packages" menu.
Run the command with no options and MMPM will prompt you for each field:
mmpm custom-pkg addThe repository must be a valid URL beginning with http://, https://, or git@ (so private repositories accessed over SSH work too).
mmpm custom-pkg add \
-t "my-module" \
-a "my-author" \
-r "https://github.com/my-author/my-module" \
-d "my-description"Long-form flags work as well: --title, --author, --repo, --desc. Any field you omit will be prompted for interactively.
Now that the package is in your local database, install it as you normally would:
mmpm add -y my-module # 'mmpm install' also worksUninstall it like you would any other MagicMirror package:
mmpm remove -y my-moduleThen remove it from the database (multiple names accepted; -y skips the confirmation prompt):
mmpm custom-pkg remove -y my-module