-
-
Notifications
You must be signed in to change notification settings - Fork 29
MMPM Custom Packages
Brandon Marlowe edited this page Dec 18, 2023
·
2 revisions
Custom Packages in MMPM allow adding private or public packages not listed in the MagicMirror 3rd Party Wiki. You can install these packages using standard MMPM installation methods after adding them to your database.
To create a Custom Package, provide its title
, author
, repository
, and description
. This can be done through the CLI with mmpm mm-pkg add
or in the GUI under the "Custom Packages" menu.
mmpm mm-pkg add
mmpm mm-pkg add \
-t "my-module" \
-a "my-author" \
-r "https://github.com/my-author/my-module" \
-d "my-description"
You can add private repositories and specific branches. Note the --repo
(or -r
) argument.
mmpm mm-pkg add \
--title "my-module" \
--author "my-author" \
--repo "https://github.com/my-author/my-module -b develop" \
--desc "my-description"
Now that you've added a Custom Package to your local database, install it as you normally would:
mmpm install -y my-module
Uninstall it like you would any other MagicMirror Package:
mmpm remove -y my-module
Then remove it from the database:
mmpm mm-pkg remove my-module