jansmolders86 / mediacenterjs

A HTML/CSS/Javascript (NodeJS) based Media center
http://mediacenterjs.com
1.29k stars 243 forks source link

Get MediacenterJS to run in/with Node-Webkit #81

Closed jansmolders86 closed 8 years ago

jansmolders86 commented 10 years ago

It would be ideal if MediacenterJS could also run in/with Node-webkit. Although MCJS is setup with ExpressJS and JADE, it should be doable without too much effort to get things going in Node-Webkit https://github.com/rogerwang/node-webkit/

Karnith commented 10 years ago

When you're ready for this let me know. I've used node-webkit to create desktop apps before and could shed some light on what's needed.

jansmolders86 commented 10 years ago

Hej Matthew!

How have you been? I must admit I was way to busy to delve into this one. I did mess around with it a bit based on your previous feedback, but I still had a hard time getting it to run due to the routing and the keep alive system (server.js). So if you are up for it I could definitely use some of your insights :)

Thanks! Jan

Karnith commented 10 years ago

Sure, let me know your questions and I'll try to help. :)

TheBenji commented 10 years ago

Maybe have a look at https://github.com/atom/atom-shell It basically does the same as node-webkit but with a different approach which could make it more suitable for mcjs.

From their docs: Normal web pages are designed to not touch outside world, which makes them unsuitable for interacting with native systems. Atom-shell provides Node.js APIs in web pages so you could access native resources in web pages, just like Node-Webkit.

But unlike Node-Webkit, you could not do native GUI related operations in web pages, instead you need to do them on the browser side by sending messages or use the easy remote module.


I never really used any of them, so it's really just about what I read there

jansmolders86 commented 9 years ago

Basically what I figured from reading documentation, the entire application should be ported to angular for this to work.

Jon889 commented 9 years ago

I can't really see any connection to angular? Also at his point I think it's just the weather app and the main screen that needs to move to angular?

jansmolders86 commented 9 years ago

Very true, but what I meant was use angular routing and mvc structure rather than the current express custom Mvc solution we have. With angular routing a node webkit port is a breeze

jansmolders86 commented 8 years ago

This means a rewrite with webpack/react/react-router/