MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.20.0 is available! For more information about this release, check out this topic.

    SOLVED Serverless

    Feature Requests
    3
    5
    1388
    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.
    • W
      werthdavid last edited by

      Hey there,

      I’m currently setting up a Dashboard to run on a E-Ink display instead of a Mirror. Actually it’s a Tolino E-Book reader that comes with a Web-Browser.
      Using the Browser I can connect to the Server-less Dashboard. I’m wondering if it is possible to run something like a “production build” with MagicMirror that outputs simple JS/HTML/CSS so that no backend is needed. Since the backend is written in JS and running on Node it should at least in theory be possible to run it all directly in the Browser?

      Kind Regards,
      David

      ? bhepler 2 Replies Last reply Reply Quote 0
      • W
        werthdavid last edited by

        I tried it with browserify btw, not working for me.

        1 Reply Last reply Reply Quote 0
        • ?
          A Former User @werthdavid last edited by

          @werthdavid Theoretically, it could, but MM is really more than that. I think some of the default modules can be implemented serverlessly. Maybe Clock is one of them. but other modules need more functions than the browser can provide. And that is the why node_helper.js exists.

          1 Reply Last reply Reply Quote 1
          • bhepler
            bhepler Project Sponsor @werthdavid last edited by

            @werthdavid - You might be able to run a web page that is very similar in appearance to the Magic Mirror framework. The clock, compliments, the iFrame module would be likely candidates for a browser-only mirror. Basically anything without a node_helper.js would be a good place to start.

            1 Reply Last reply Reply Quote 0
            • W
              werthdavid last edited by

              Okay thanks for the answers. I will probably run the serveronly-version on my vServer then.

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              Enjoying MagicMirror? Please consider a donation!
              MagicMirror created by Michael Teeuw.
              Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy