• 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.

Automatic checking of all MagicMirror² modules

Scheduled Pinned Locked Moved Development
83 Posts 9 Posters 57.1k Views 10 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.
  • B Offline
    BKeyport Module Developer @sdetweil
    last edited by Nov 22, 2023, 8:56 PM

    I’ve over simplified as I tend to do.

    What I was thinking of was more along the lines of how Homebridge is doing things. Full on NPM integrations across the board. GUI installer/maintainer. bonus points for GUI configuration tool on their “plugins” etc. Can still get into the weeds if you want to mess with operations under the hood.

    I honestly think it’s time, but I’ve got nowhere near the skill to do it.
    MMM-Config on steroids.

    The pieces are there - we’re just missing the core.

    https://github.com/homebridge/homebridge-raspbian-image/wiki/Getting-Started#step-5-install-and-configure-plugins

    Setting the core up would build in a natural module checking system and weed out the unmaintained stuff for new users, because new users won’t want to install stuff that has no GUI settings and/or unmaintained wouldn’t show in the official repository/search anymore.

    The "E" in "Javascript" stands for "Easy"

    K 1 Reply Last reply Nov 22, 2023, 9:41 PM Reply Quote 0
    • K Online
      karsten13 @BKeyport
      last edited by Nov 22, 2023, 9:41 PM

      @BKeyport

      sounds pretty much like what mmpm does

      S 1 Reply Last reply Nov 22, 2023, 9:47 PM Reply Quote 0
      • S Offline
        sdetweil @karsten13
        last edited by sdetweil Nov 22, 2023, 9:50 PM Nov 22, 2023, 9:47 PM

        @karsten13 mmpm doesn’t do config editing
        and to do config editing in a reliable way, we need programming standards too.

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        B 1 Reply Last reply Nov 23, 2023, 3:13 AM Reply Quote 0
        • B Offline
          BKeyport Module Developer @sdetweil
          last edited by Nov 23, 2023, 3:13 AM

          @sdetweil We already have some standards in place (node_helper.js, naming conventions, package.json, etc) - what’s one more (config-schema.json) for the programmer? Think along the lines of the schema.json file used in MMM-Config.

          Programmer creates the GUI settings page, using API into a specific file. It’s up to the core to insert result into the main config file. if GUI file isn’t there, then resort to a web based editor.

          https://github.com/homebridge/homebridge/wiki/Verified-Plugins describes the process in homebridge’s case. Provide a reward, and bam - We’ve got easier access to the project, making it more widespread, and it completely eclipses the automatic checking process here.

          Reward for the programmer is rather simple. A badge set thusly - everywhere - in the built in plugin manager’s search, on websites, etc. 725c9b2e-1442-4642-b75e-141f393a87f4-image.png

          Example - No GUI settings page file (the dead module): 497832aa-62f3-4bf5-aee0-9475eed1cee0-image.png

          Example - GUI settings page file (my reworked module with more functionality):
          5e94c71f-2419-4ac8-bdcc-1c48f867acef-image.png

          and the resulting config (I believe they use JSON rather than JS):
          63f41904-ff06-4146-9a49-d1988b1bb237-image.png

          The "E" in "Javascript" stands for "Easy"

          S 1 Reply Last reply Nov 23, 2023, 3:33 AM Reply Quote 0
          • S Offline
            sdetweil @BKeyport
            last edited by Nov 23, 2023, 3:33 AM

            @BKeyport I believe we use js because you can have comments, json does not support comments

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            B 1 Reply Last reply Nov 23, 2023, 6:04 AM Reply Quote 0
            • B Offline
              BKeyport Module Developer @sdetweil
              last edited by Nov 23, 2023, 6:04 AM

              @sdetweil It don’t matter how it’s done, honestly. JS, JSON - Same diff in my book… I’d just love to see it get simpler, and wrap up some of these projects into one.

              The "E" in "Javascript" stands for "Easy"

              S 1 Reply Last reply Nov 23, 2023, 2:57 PM Reply Quote 0
              • S Offline
                sdetweil @BKeyport
                last edited by Nov 23, 2023, 2:57 PM

                @BKeyport what we really need is an AI page layout/designer tool. mushing all these disparate css together w the base design is getting beyond most people’s capabilities. I know it’s way beyond mine.

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                K 1 Reply Last reply Feb 23, 2024, 8:42 PM Reply Quote 0
                • S sdetweil referenced this topic on Jan 7, 2024, 4:12 PM
                • S sdetweil pinned this topic on Jan 7, 2024, 4:14 PM
                • K Offline
                  KristjanESPERANTO Module Developer @sdetweil
                  last edited by Feb 23, 2024, 8:42 PM

                  Meanwhile, there have been some changes to the module list. E.g.

                  • If you click on a maintainer’s name, you will get a list of all modules by that maintainer :smiley:
                  • Dark mode switch
                  • Style changes
                  • Many module maintainers added screenshots and keywords and fixed listed issues
                  • GitHub stars are displayed
                  • New sort option: number of stars
                  • Module tags are now clickable
                  • Screenshots are now clickable
                  • Optimized mobile view

                  And some more …

                  J 1 Reply Last reply Feb 24, 2024, 8:18 AM Reply Quote 1
                  • J Offline
                    Jalibu Module Developer @KristjanESPERANTO
                    last edited by Feb 24, 2024, 8:18 AM

                    @KristjanESPERANTO are there plans to make this the official linked modules store on the project‘s page?
                    In my opinion it is already by far better than the existing one. I‘d also vote for making this the source of truth without dependency to the old page as a datasource

                    K 1 Reply Last reply Feb 24, 2024, 11:11 AM Reply Quote 1
                    • K Offline
                      KristjanESPERANTO Module Developer @Jalibu
                      last edited by KristjanESPERANTO Feb 28, 2024, 12:57 PM Feb 24, 2024, 11:11 AM

                      @Jalibu wrote:

                      are there plans to make this the official linked modules store on the project‘s page?

                      I’m definitely open to the idea of turning it into an official part of the project and moving it to MagicMirrorOrg, for example.

                      However, I have not yet sought dialogue with the core developers in this regard. It would be very interesting to hear if the core developers are open to that idea. @karsten13 , @rejas and @sdetweil, what do you think?

                      I‘d also vote for making this the source of truth without dependency to the old page as a datasource

                      The current solution (the list in the wiki) works and does not cause any additional work for the core developers.

                      However, as soon as we automate the process of creating the new module webpage, a vandal could provoke ugly effects. That’s why a different approach to maintaining the list, one that provides more protection against (intentional and unintentional) vandalism and includes a simple quality check, would make sense.

                      My concrete suggestion would be to create a pull request template for this purpose.


                      If we decide that “my” list should become an official part of the MM project, I would spontaneously suggest these rough milestones in the following order:

                      1. moving the repository to MagicMirrorOrg.
                      2. finding a better way to maintain the source of truth (currently the wiki page).
                      3. replacing/redirect references to the old module list.
                      4. automating the creation of the module list website.
                      K M 2 Replies Last reply Feb 24, 2024, 11:17 AM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 7
                      • 8
                      • 9
                      • 6 / 9
                      6 / 9
                      • First post
                        59/83
                        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