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

Serverless

Scheduled Pinned Locked Moved Solved Feature Requests
5 Posts 3 Posters 1.9k 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 Jul 30, 2018, 10:37 AM

    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

    ? B 2 Replies Last reply Jul 30, 2018, 12:55 PM Reply Quote 0
    • W Offline
      werthdavid
      last edited by Jul 30, 2018, 12:41 PM

      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 Jul 30, 2018, 12:55 PM

        @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
        • B Offline
          bhepler Module Developer @werthdavid
          last edited by Jul 31, 2018, 1:30 AM

          @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 Jul 31, 2018, 5:30 AM

            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
            1 / 1
            • First post
              4/5
              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