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.

    Serverless

    Scheduled Pinned Locked Moved Solved Feature Requests
    5 Posts 3 Posters 2.0k Views 2 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.
    • W Offline
      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

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

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

        1 Reply Last reply Reply Quote 0
        • ? Offline
          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
          • bheplerB Offline
            bhepler Module Developer @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 Offline
              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 Sam, technical setup by Karsten.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy