Read the statement by Michael Teeuw here.
Serverless
-
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 -
I tried it with browserify btw, not working for me.
-
@werthdavid Theoretically, it could, but MM is really more than that. I think some of the default modules can be implemented serverlessly. Maybe
Clockis one of them. but other modules need more functions than the browser can provide. And that is the whynode_helper.jsexists. -
@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.jswould be a good place to start. -
Okay thanks for the answers. I will probably run the serveronly-version on my vServer then.
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