MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. KristjanESPERANTO
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    Online
    • Profile
    • Following 6
    • Followers 3
    • Topics 19
    • Posts 405
    • Groups 2

    Posts

    Recent Best Controversial
    • RE: Automatic checking of all MagicMirror² modules

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

      did you try to authenticate with a user before making the api requests?

      No, I didn’t. Thanks for the hint! I’ll try that! The documentation sounds promising:

      Additionally, you can make more requests per hour when you are authenticated.

      posted in Development
      KristjanESPERANTOK
      KristjanESPERANTO
    • RE: Automatic checking of all MagicMirror² modules

      @MZ-BER said in Automatic checking of all MagicMirror² modules:

      Great work @KristjanESPERANTO. Really, really like this. Is there a way to also publish the github stars and # of forks? I also would love if there is a way to “like” a module.

      Thank you for your appreciation! :-)

      karsten13 has already suggested the GitHub API and I have tested it, but if you make requests for 1000 modules you’ll got blocked quickly. I haven’t found another good approach yet.

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

      I suggest you and the community expand package.json to regularise the details of the module. (recommended but optional)

      Storing additional data in the package.json is an interesting idea! But I would like to avoid maintaining data redundantly. So before we tackle this, it would be good to have an overview of the data that is already used for the website and where it is taken from. Plus an additional list of data that is still needed, ideally with ideas on how to collect it. What’s not easy to implement could perhaps be addressed by extending the packge.json.

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

      My MMM-SweepClock doesn’t have a package.json either as all work done in the MMM-SweepClock.js file. I can add one for completeness and conformity. I also notice I did not have an image. I usually name my images image-1.png etc. so the main image is generally the first one.

      At the moment the script has no other source for keywords and the license. And without the license information no image will be taken. If you want an image to be displayed on the website, you would have to specify a free license in the package.json.

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

      my MMM-SleepWake module does not have any UI… so there is no photo…

      There is no obligation for an image. But perhaps it would be nice to use an icon that symbolizes motion detection instead of a screenshot. Like this maybe: https://openclipart.org/detail/306403/motion-detection?

      posted in Development
      KristjanESPERANTOK
      KristjanESPERANTO
    • RE: Automatic checking of all MagicMirror² modules

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

      @KristjanESPERANTO and, this impacts my scripts as i use package.json as the indicator for doing an npm install in the module folder.

      There are some modules that only have devDependencies, so your script already makes unnecessary npm install calls. Can you adjust your trigger and check whether dependencies are set in the package.json?

      posted in Development
      KristjanESPERANTOK
      KristjanESPERANTO
    • RE: Automatic checking of all MagicMirror² modules

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

      Hi @KristjanESPERANTO does it expect the example.png in a specific folder (such as img/ or /) or can it also lookup in docs/?

      No, you can put it where ever you want :-)

      posted in Development
      KristjanESPERANTOK
      KristjanESPERANTO
    • RE: Automatic checking of all MagicMirror² modules

      @BKeyport 😆

      I thought “This” doesn’t fit so well because the sentence is on the page with the issues and not on the page of the modules where the keywords are used. Is the following issue messages less awkward? Do you have another idea?

      There are no keywords in 'package.json'. We would use them as tags on the module list page.

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

      posted in Development
      KristjanESPERANTOK
      KristjanESPERANTO
    • RE: Automatic checking of all MagicMirror² modules

      @BKeyport Sorry, I tend to use the logic of my native language in my English sentences 😅

      posted in Development
      KristjanESPERANTOK
      KristjanESPERANTO
    • RE: Automatic checking of all MagicMirror² modules

      @BKeyport Good suggestion :-) But what do you think of this:

      No keywords in 'package.json'. We would use them as tags on the module list website.

      posted in Development
      KristjanESPERANTOK
      KristjanESPERANTO
    • RE: Automatic checking of all MagicMirror² modules

      @sdetweil Yes, I mean this website: https://kristjanesperanto.github.io/MagicMirror-3rd-Party-Modules/. Information from the package.json files is used there.

      posted in Development
      KristjanESPERANTOK
      KristjanESPERANTO
    • RE: Automatic checking of all MagicMirror² modules

      @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 :-)

      posted in Development
      KristjanESPERANTOK
      KristjanESPERANTO
    • RE: Automatic checking of all MagicMirror² modules

      @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 :-)

      posted in Development
      KristjanESPERANTOK
      KristjanESPERANTO
    • RE: Automatic checking of all MagicMirror² modules

      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 :-)

      posted in Development
      KristjanESPERANTOK
      KristjanESPERANTO
    • RE: Calendar shows incorrect time for a single changed event in a series

      @sdetweil Just out of curiosity: Is the library moment.js?

      posted in Troubleshooting
      KristjanESPERANTOK
      KristjanESPERANTO
    • RE: [MMM-MailMessage] Send messages to your MagicMirror via e-mail

      @UncleRoger What happend to it? The repository isn’t available anymore.

      posted in Utilities
      KristjanESPERANTOK
      KristjanESPERANTO
    • RE: [MMM-MailMessage] Send messages to your MagicMirror via e-mail

      @UncleRoger Nice. Do you want to add it to the list of modules?

      https://github.com/MichMich/MagicMirror/wiki/3rd-Party-Modules

      edited to fix url

      posted in Utilities
      KristjanESPERANTOK
      KristjanESPERANTO
    • RE: Automatic checking of all MagicMirror² modules

      @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:

      posted in Development
      KristjanESPERANTOK
      KristjanESPERANTO
    • RE: Automatic checking of all MagicMirror² modules

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

      posted in Development
      KristjanESPERANTOK
      KristjanESPERANTO
    • RE: Automatic checking of all MagicMirror² modules

      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.

      posted in Development
      KristjanESPERANTOK
      KristjanESPERANTO
    • RE: Automatic checking of all MagicMirror² modules

      @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!

      posted in Development
      KristjanESPERANTOK
      KristjanESPERANTO
    • RE: Automatic checking of all MagicMirror² modules

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

      as most modules are hosted on github: You can get such info’s over their api.

      Wow. That’s really nice! There are certainly some things that can be put to good use.

      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.

      posted in Development
      KristjanESPERANTOK
      KristjanESPERANTO
    • RE: Automatic checking of all MagicMirror² modules

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

      if you really want to check yml vs. yaml

      Yeah, I’ll drop this test for now.

      maybe this could be also a starting point to have the module list as e.g. yaml output with all current stuff and your analysis results.

      Interesting direction. I’ll take a look at it 🙂

      posted in Development
      KristjanESPERANTOK
      KristjanESPERANTO
    • 1
    • 2
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 17 / 21