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

Something I'm working on ...

Scheduled Pinned Locked Moved Announcements
39 Posts 12 Posters 33.9k Views 12 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.
  • M Offline
    MichMich Admin
    last edited by Nov 26, 2016, 8:10 AM

    Yes it will be searchable. You can already click on a tag or category to filter.

    The number you see in the link is the ID of the module in the database. This will anger change. Even if you change the name of your module, the link will remain working.

    If you have multiple modules, you can also link to an overview of all your modules: click on your name in the top right, and choose “my modules”.

    1 Reply Last reply Reply Quote 0
    • S Offline
      strawberry 3.141 Project Sponsor Module Developer
      last edited by Nov 26, 2016, 8:16 AM

      Are you fine with using your api endpoint http://beta.magicmirror.builders/api/module for mobile app or remote control?

      Please create a github issue if you need help, so I can keep track

      1 Reply Last reply Reply Quote 0
      • M Offline
        MichMich Admin
        last edited by Nov 26, 2016, 8:21 AM

        @strawberry-3-141 Feel free to use it, BUT …

        • Keep in mind the URL will change in the future.
        • I can’t promise it will stay the same.
        • Keep in mind that it will only give you a subset of the modules. (user query paramaters limit and offset to get more)

        If it turns out external API usage will be too heavy, I might limit the access using API keys.

        1 Reply Last reply Reply Quote 2
        • R Offline
          roramirez Core Contributors
          last edited by Nov 27, 2016, 4:47 PM

          Its great. With this, I was thinking is possible create a installer system, its somethings i was thinking from time ago.

          Using the API and the parameters of configuration per every module its possible create the section of module for add into the config.js

          Easy module development with MagicMirror Module Template

          J 1 Reply Last reply Nov 28, 2016, 9:07 AM Reply Quote 1
          • M Offline
            MichMich Admin
            last edited by Nov 27, 2016, 10:10 PM

            By the way, this project is in a horrible raw early alpha stage … buttt, if someone is interested to contribute, the source code is available here: https://github.com/MichMich/MagicMirror-Website/tree/develop

            Be advised: the code needs a lot of refactoring and misses a lot of commenting.

            The frontend is a SPA based on Vue.js and a bit of Vuex. The Backend/Api is based on Laravel.

            If you clone the repo, take the following steps to get it up and running:

            • Run: composer install
            • Run npm install
            • Create an environment configuration: cp .env.example .env
            • Run php artisan key:generate`
            • Modify the database and github settings in the .env file. (You need to create a github app for testing.)
            • Run php artisan migrate --seed to setup the database.

            If you make any changes to /resources/assets/js or /resources/assets/sass, make sure to run gulp to compile.

            1 Reply Last reply Reply Quote 0
            • J Offline
              Jopyth Moderator @roramirez
              last edited by Nov 28, 2016, 9:07 AM

              @roramirez Installer system is a great idea, however this is something that @strawberry-3-141 will implement as a mobile app, from what I hear plus I am building something like this into my remote control (a website - currently on the develop branch). So maybe have a look at it, before you start something completely new. Although, if there is a good reason for building this again or in a different way, count me in.

              Helpful sticky: How to troubleshoot

              1 Reply Last reply Reply Quote 1
              • Y Offline
                yawns Moderator
                last edited by Nov 28, 2016, 10:00 AM

                Very nice, MichMich. I like the integration with github pulling almost all data and as such removing the need to enter description and all that over and over again. I added my modules

                1 Reply Last reply Reply Quote 0
                • R Offline
                  roramirez Core Contributors
                  last edited by Nov 28, 2016, 1:31 PM

                  Thanks @MichMich the information. I will take a look of code :)

                  Hi @Jopyth , do you know where I can find some code or design about the @strawberry-3-141 app?

                  I think we can bootstrap a app for install apps (modules) into a MagicMirror with API provider by modules section of web. The idea it’s most like a packages manager + configuration.

                  Easy module development with MagicMirror Module Template

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    MichMich Admin
                    last edited by Nov 29, 2016, 9:37 AM

                    If you work on such an installer. Make sure it’s based on the module infrastructure where possible. That we you can develop and test is, without the need of directly integrating it in mm2. If It’s fully up and running and tested, we can integrate it by adding it to the list of default modules.

                    R 1 Reply Last reply Dec 26, 2016, 5:55 PM Reply Quote 1
                    • C Offline
                      Cato Module Developer
                      last edited by Nov 29, 2016, 8:47 PM

                      @MichMich I noticed that format of table markdown is not optimal. The rows should be alternating color. A good example that current format is bad is here: http://beta.magicmirror.builders/module/29/motioneye. Notice that it’s difficult to see what configuration value belongs to which description…

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 1 / 4
                      1 / 4
                      • First post
                        8/39
                        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