• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

New module installer

Scheduled Pinned Locked Moved General Discussion
51 Posts 7 Posters 11.3k Views 6 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Online
    sdetweil @sdetweil
    last edited by Jan 23, 2025, 3:18 AM

    @MDWEBB I just resynced my fork with his latest remote-control

    he had most of my changes and seemed to catch that error… maybe

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    1 Reply Last reply Reply Quote 0
    • S Online
      sdetweil
      last edited by Jan 23, 2025, 4:05 AM

      I just updated the code again, this time to provide opening the readme for the repo in both install and config

      its on a different branch again

      git pull
      git checkout better_repo_url
      npm install     # <--- required.. added another library and copies a template file
      

      everything else is the same, except there is a button to open the module readme

      an example from the installer page, exactly the same on the config page

      still have some trouble with our own docs site, gitlab

      Screenshot at 2025-01-22 22-03-28.png

      the readme window will open at the button position

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      S 1 Reply Last reply Jan 29, 2025, 2:18 PM Reply Quote 0
      • S Online
        sdetweil @sdetweil
        last edited by sdetweil Feb 5, 2025, 2:30 PM Jan 29, 2025, 2:18 PM

        @sdetweil said in New module installer:

        just posted another update for better handling of the repo readme (in most cases)
        and handles readme’s for repo ADDs to the 3rd party list list, deletes worked ok before

        and for the readme during config, use the file in the installed module folder, instead of trying to get the github repo version

        same process

        git pull
        git checkout better_repo_url  # if already there not needed
        npm install     # <--- required.. added another library and copies a template file
        

        the copy fixes a bug in the readme list file

        and if this is first time using, make sure to add
        MMM-Config to your config.js

        {
              module:"MMM-Config"
               position:"...", // only for qrcode if you use that
                config:{
                }
        }
        

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • H Offline
          hadal
          last edited by Feb 5, 2025, 1:56 PM

          Hi All
          I don’t know where I made a mistake, can you help me?

          b26417ab-0349-4059-9356-f9e3cdd556eb-image.png

          8e28874b-634e-4dfd-a6da-4da24ba78e3f-image.png

          S 1 Reply Last reply Feb 5, 2025, 2:04 PM Reply Quote 0
          • S Online
            sdetweil @hadal
            last edited by sdetweil Feb 5, 2025, 2:07 PM Feb 5, 2025, 2:04 PM

            @hadal did you do the npm install? and add MMM-Config to your config.js

            can you show

            in the MMM-Config folder

            do
            git branch

            ls module_url_hash.json

            in the module_installer folder

            ls module_selector_schema.json

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • S Online
              sdetweil
              last edited by Feb 8, 2025, 2:53 PM

              added new url for launching the config side

              http://mm_address:mm_port/configure
              

              both main and better_repo_url branches

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • S Online
                sdetweil
                last edited by sdetweil Feb 15, 2025, 3:59 PM Feb 15, 2025, 3:59 PM

                updated for missing calendar url… properties, and missing module header…

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                S 1 Reply Last reply Feb 16, 2025, 6:57 PM Reply Quote 0
                • S Online
                  sdetweil @sdetweil
                  last edited by sdetweil Feb 16, 2025, 8:12 PM Feb 16, 2025, 6:57 PM

                  i am considering merging the extra branches back w the base

                  but its been quiet, so i am not sure if there are other changes, or if ive got the functionality right

                  any feedback welcomed

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  S 1 Reply Last reply Feb 18, 2025, 5:29 PM Reply Quote 0
                  • S Online
                    sdetweil @sdetweil
                    last edited by Feb 18, 2025, 5:29 PM

                    now merged w base branch, main

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • F Offline
                      furqanhamid @sdetweil
                      last edited by Mar 5, 2025, 9:44 AM

                      This is awesome! Having a streamlined, end-to-end solution for modules will make setting up MM so much easier. Appreciate the effort. BTW, I am still confused that whether it is still working or not!

                      S 1 Reply Last reply Mar 5, 2025, 1:48 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 5 / 6
                      • First post
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy