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 103.8k 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.
    • karsten13K Offline
      karsten13 @KristjanESPERANTO
      last edited by

      @KristjanESPERANTO said in Automatic checking of all MagicMirror² modules:

      After you showed me the examples, I tinkered a bit with a simple frontend (without dependencies): check it out. I just have to fill it with real data.

      cool, exactly what I thougth of …

      looking at your example json

        {
          "name": "MMM-PublicTransportHafas",
          "image": "https://raw.githubusercontent.com/KristjanESPERANTO/MMM-PublicTransportHafas/main/img/Goerdelerring_all.png",
          "maintainer": "KristjanESPERANTO",
          "link": "https://github.com/KristjanESPERANTO/MMM-PublicTransportHafas",
          "category": "Traffic",
          "tags": ["Schedule", "Public Transport", "Traffic", "HAFAS"],
          "text": "This module displays real-time departure times for public transportation.",
          "description": "Stay informed about the upcoming departures from your local public transit stations."
        },
      

      there are only a few things which are not available via github api (image, category).

      category and tags are similar, do we still need a category?

      tags are similar to api topics (may without magicmirror key words)

      KristjanESPERANTOK 1 Reply Last reply Reply Quote 1
      • M Offline
        MMRIZE
        last edited by

        One of the most popular modules MMM-Remote-Control uses similar JSON as a module-list.
        And MMM-Remote-Control-Repository are serving that JSON file for MMM-Remote-Control.
        However, if it is possible to serve a similar JSON URI, it could be a good replacement.

        KristjanESPERANTOK 1 Reply Last reply Reply Quote 1
        • KristjanESPERANTOK Offline
          KristjanESPERANTO Module Developer @MMRIZE
          last edited by

          @karsten13 said in Automatic checking of all MagicMirror² modules:

          category and tags are similar, do we still need a category?

          Good point! The mass of tags will certainly become a bit confusing. We could replace the category links in the menu by a few selected tags or we highlight certain tags so that they are more noticeable. I think I’ll try it in this direction.

          @MMRIZE said in Automatic checking of all MagicMirror² modules:

          MMM-Remote-Control uses similar JSON as a module-list.

          You’re right, it would be cool to get compatibility with MMM-Remote-Control. Thanks for the hint!

          1 Reply Last reply Reply Quote 0
          • KristjanESPERANTOK Offline
            KristjanESPERANTO Module Developer @karsten13
            last edited by KristjanESPERANTO

            I made some progress: https://kristjanesperanto.github.io/MagicMirror-3rd-Party-Modules/

            There’s still a lot on the to-do list and some things aren’t working quite smoothly yet. But the website is now filled with data from all modules from the wiki.

            When changes are made in the wiki, it doesn’t take much effort to update the data in this project - I just have to run a few scripts. Furthermore, no manual work is necessary.

            1 Reply Last reply Reply Quote 3
            • KristjanESPERANTOK Offline
              KristjanESPERANTO Module Developer @karsten13
              last edited by KristjanESPERANTO

              @karsten13 said in Automatic checking of all MagicMirror² modules:

              You can get such info’s over their api.

              Unfortunately the API blocks me when I make queries for almost 1000 modules in a short time 🤪

              I now take the tags from keywords in the package.json.

              karsten13K 1 Reply Last reply Reply Quote 0
              • karsten13K Offline
                karsten13 @KristjanESPERANTO
                last edited by

                @KristjanESPERANTO

                from your todo list

                Is there also a GitLab API?

                yes, as example you can look at MMM-RepoStats

                Another thing is what the source of the list should be, still the wiki (which is very error prone since anyone can edit things).

                Alternatively, you could store a list in your repo and we need something for users to add to their repo (e.g. as a PR in the repo or with website functionality).

                But maybe there are even better ideas.

                1 Reply Last reply Reply Quote 1
                • JalibuJ Offline
                  Jalibu Module Developer
                  last edited by

                  hmm… if this is the cornerstone for a proper MagicMirror Appstore, then I should consider renaming all my modules to start with the letter “A” to attract more attention on the landing page :-D

                  M BKeyportB KristjanESPERANTOK 3 Replies Last reply Reply Quote 3
                  • M Offline
                    MMRIZE @Jalibu
                    last edited by

                    @Jalibu Didn’t do that yet? :D

                    1 Reply Last reply Reply Quote 1
                    • BKeyportB Offline
                      BKeyport Module Developer @Jalibu
                      last edited by

                      @Jalibu AAA-Module instead of MMM? 🤣🤣🤣🤣

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

                      JalibuJ 1 Reply Last reply Reply Quote 0
                      • JalibuJ Offline
                        Jalibu Module Developer @BKeyport
                        last edited by

                        @BKeyport or MMM-a-fancy-weather-module, MMM-a-powerful-stock-ticker, MMM-a-bosch-smart-home-dashboard, etc…

                        1 Reply Last reply Reply Quote 0
                        • KristjanESPERANTOK Offline
                          KristjanESPERANTO Module Developer @Jalibu
                          last edited by

                          @Jalibu said in Automatic checking of all MagicMirror² modules:

                          hmm… if this is the cornerstone for a proper MagicMirror Appstore, then I should consider renaming all my modules to start with the letter “A” to attract more attention on the landing page :-D

                          Yeah, I’m already have some ideas about the default sort order (like a combination of stars, issues and activity), this will prevent that :beaming_face_with_smiling_eyes:

                          KristjanESPERANTOK 1 Reply Last reply Reply Quote 2
                          • KristjanESPERANTOK Offline
                            KristjanESPERANTO Module Developer @KristjanESPERANTO
                            last edited by

                            In the last few days I have worked on some details on the site. So if you’re interested, take a look: https://kristjanesperanto.github.io/MagicMirror-3rd-Party-Modules/.

                            And there is now a little statistics table on the results page: https://github.com/KristjanESPERANTO/MagicMirror-3rd-Party-Modules/blob/main/result.md#statistics

                            I have also created a few PRs based on the list for some modules. Most of them have already been accepted :-)

                            mumblebajM S 4 Replies Last reply Reply Quote 2
                            • mumblebajM Offline
                              mumblebaj Module Developer @KristjanESPERANTO
                              last edited by

                              @KristjanESPERANTO Looks good. Just out of interest, which image does it select as the thumbnail? Just noticed 2 of the modules of mines does not have the correct images. Both Growatt modules are the ones I am referring to.

                              Check out my modules at: https://github.com/mumblebaj?tab=repositories
                              Check my blog-post: https://mumblebaj.xyz/
                              Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

                              1 Reply Last reply Reply Quote 0
                              • mumblebajM Offline
                                mumblebaj Module Developer @KristjanESPERANTO
                                last edited by

                                @KristjanESPERANTO Stats were great, fixed most of the issues identified in my modules. Majority package.json issues.

                                Great work @KristjanESPERANTO

                                Check out my modules at: https://github.com/mumblebaj?tab=repositories
                                Check my blog-post: https://mumblebaj.xyz/
                                Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

                                1 Reply Last reply Reply Quote 1
                                • S Offline
                                  sdetweil @KristjanESPERANTO
                                  last edited by

                                  @KristjanESPERANTO

                                  could we separate out the cosmetic issues (MagicMirror vs the one with the superscript 2, as I don’t know how to make that happen in my text editor…) and its useless

                                  and this is misleading

                                  MMM-AareGuru by buge
                                  There is no package.json. We need this file to gather information about the module.
                                  

                                  there is no need for a package,json… as this module does all its work inside the modulename.js
                                  there is no functional requirement as there is no node_helper.js

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

                                  KristjanESPERANTOK 1 Reply Last reply Reply Quote 1
                                  • S Offline
                                    sdetweil @KristjanESPERANTO
                                    last edited by

                                    @KristjanESPERANTO
                                    additionally… a module I forked was marked as present and attributed to me, but I never posted it… MMM-Alexa (and I deleted it from your list… and it is NOT present in the master list )

                                    and one of my modules (the only one I have ever posted) is not present in the master list , and I did not remove it

                                    MMM-SleepWake.

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

                                    KristjanESPERANTOK 1 Reply Last reply Reply Quote 1
                                    • KristjanESPERANTOK Offline
                                      KristjanESPERANTO Module Developer @sdetweil
                                      last edited by

                                      @mumblebaj said in Automatic checking of all MagicMirror² modules:

                                      Just out of interest, which image does it select as the thumbnail?

                                      If the script doesn’t find an image with ‘screenshot’ or ‘example’ at the beginning of the name it takes the first it finds .

                                      The prerequisite for the whole thing is that a free license is specified in the package.json. If there is no package.json and no free license, no image will be searched.

                                      Stats were great, fixed most of the issues identified in my modules.

                                      Nice, thank you! I just updated the list and a lot of issues disappeared 👏

                                      @sdetweil said in Automatic checking of all MagicMirror² modules:

                                      I don’t know how to make that happen in my text editor

                                      On my keyboard it’s just +

                                      and its useless

                                      I think it’s worth striving to call things by their proper names, so I don’t find the test useless. Feel free to just ignore it :-)

                                      there is no need for a package,json… as this module does all its work inside the modulename.js there is no functional requirement

                                      You are right, functionally there is no need for this. However, the file is a good source of information that is interesting for the website - e.g. keywords.

                                      MMM-Alexa

                                      Do you know if the original module (https://github.com/sakirtemel/MMM-alexa) still works? Otherwise I should mark it as outdated.

                                      and one of my modules (the only one I have ever posted) is not present in the master list , and I did not remove it. MMM-SleepWake

                                      I’ve added it now :-)

                                      S JalibuJ 2 Replies Last reply Reply Quote 0
                                      • S Offline
                                        sdetweil @KristjanESPERANTO
                                        last edited by sdetweil

                                        @KristjanESPERANTO I have no info on MMM-Alexa or why i forked it

                                        Sam

                                        How to add modules

                                        learning how to use browser developers window for css changes

                                        1 Reply Last reply Reply Quote 1
                                        • KristjanESPERANTOK Offline
                                          KristjanESPERANTO Module Developer @sdetweil
                                          last edited by

                                          @sdetweil said in Automatic checking of all MagicMirror² modules:

                                          and this is misleading

                                          There is no package.json. We need this file to gather information about the module.
                                          

                                          I added ‘for the website’ at the end of the sentence. I hope that this is clearer.

                                          Thanks for the feedback :-)

                                          S mumblebajM 3 Replies Last reply Reply Quote 0
                                          • S Offline
                                            sdetweil @KristjanESPERANTO
                                            last edited by

                                            @KristjanESPERANTO I have no website.

                                            Sam

                                            How to add modules

                                            learning how to use browser developers window for css changes

                                            KristjanESPERANTOK 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 2 / 5
                                            • 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