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.

    Module template

    Scheduled Pinned Locked Moved Education
    8 Posts 4 Posters 6.9k Views 4 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.
    • R Offline
      roramirez Core Contributors
      last edited by

      I wrote a module to help developers to build your own modules.

      This code include some examples and can be a quickstart. Included tasks to check code like is used in core by MagicMirror.

      [card:roramirez/MagicMirror-Module-Template]

      Let me know any suggestion.

      Easy module development with MagicMirror Module Template

      1 Reply Last reply Reply Quote 4
      • CatoC Offline
        Cato Module Developer
        last edited by

        Had a quick look at it and it looks really great!

        I guess this is a much better start for first time MMM-developers since it includes most scenarios you need when you get past “Hello World”… (No offence, @MichMich!).

        I’ll probably start making a new module this weekend, so I’ll defently give this a try!

        Good work!

        1 Reply Last reply Reply Quote 0
        • J Offline
          Jopyth Moderator
          last edited by

          Very nice start, I have had a look at it already, made a PR with a few things I stumbled upon. Let me know what you think on Github.

          Helpful sticky: How to troubleshoot

          R 1 Reply Last reply Reply Quote 0
          • R Offline
            roramirez Core Contributors @Jopyth
            last edited by

            @Jopyth Your PR is already merged. Thanks!.

            Easy module development with MagicMirror Module Template

            1 Reply Last reply Reply Quote 0
            • R Offline
              roramirez Core Contributors
              last edited by

              The new version 1.1.0 is released. Thanks to @Jopyth for your contribuitions.

              This version 1.1.0 include:

              [1.1.0] - 2017-03-04

              • Add example to use translations
              • Improvement configuration script and remote execution command
              • Fix description assignment
              • Set version by defaul 1.0.0 in template
              • Documentation fix and improvement

              Easy module development with MagicMirror Module Template

              strawberry 3.141S 1 Reply Last reply Reply Quote 2
              • strawberry 3.141S Offline
                strawberry 3.141 Project Sponsor Module Developer @roramirez
                last edited by

                @roramirez you started the testsuite for the core project, how about adding this to the template as well?

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

                R 1 Reply Last reply Reply Quote 0
                • R Offline
                  roramirez Core Contributors @strawberry 3.141
                  last edited by

                  @strawberry-3.141 Hi, yes, It’s a idea I’ve thinking how add the tests in modules.

                  You can comment about this on thread of testsuite. There a some people involved in this area https://forum.magicmirror.builders/topic/1456/test-suite-for-magicmirror

                  Maybe can be we work together for add this to testsuite

                  Easy module development with MagicMirror Module Template

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    roramirez Core Contributors
                    last edited by

                    Hey, new release

                    [1.2.0] - 2017-07-21

                    • Use getStyles for module
                    • Include node 7 support
                    • Add test for ESLint, stylelint, jsonlint, markdownlint and js-yaml
                    • Include create CHANGELOG file

                    Easy module development with MagicMirror Module Template

                    1 Reply Last reply Reply Quote 4

                    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 / 1
                    • 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