Working on a Node.js GUI for Mac. Would love feedback/thoughts/feature requests/etc…
snaps.rchy.net/Run.js.mp4Posted Jan 16, 2015, 11:44 PM UTC
Posted Jan 16, 2015, 11:44 PM UTC
This is cool. I've been recently diving into node-WebKit and would love to see the source if you are open to it.
I'm really interested in the front end html bits particularly. I'm a c++ / obj-c Dev so I get the JavaScript backend aspects quite well... But the html stuff is a bit foreign to me still.
I haven't decided about open sourcing it yet. I plan to open source some of the custom components that I'm building for it—particularly a WebView–Node.js bridge that enables something along the lines of RPC calls—but I'm on the fence about whether or not to release the entire project source.
That said, the GUI component is a WebView running custom CSS to mimic native UI. I'm using Knockout.js for the data-binding, and I'm working on a custom bridge between WebKit and Core Data for data storage.
Core
Personally I would stay away from core data for any data storage. Use something like sqlite for cross platform compatibility. After all that's one of the benefits of using something like node-webkit.
You should develop it with Tint! (node's Desktop UI half-breed).
https://www.trueinteractions.com/tint2/docs/ https://github.com/trueinteractions/tint2/
What's the benefits?
I started with Node-Webkit (now NW.js) and also looked at Tint, but I actually decided to develop it as a custom Objective-C app based on the MacGap project.
Nice idea. Are you planning to open source it? Is there a repo I can check out right now or is it still in the "video demo only" stage?
I've got a "pre-release" version online at https://runjsapp.com/
Right now pretty much the entire feature set is:
npmintegration so that beginners can start using the essential Node toolset without using TerminalI have a few other ideas, but I'm trying to keep it as simple as possible. That said, I'm totally open to ideas/etc.
Pretty cool man. It looks like a basic starter kit, could be of use for teaching kids and that stuff. Do you have a repo?
Having said that, I think the terminal is something you should not avoid and more importantly should not be depicted as something hard to understand or super advanced.
The npm vis part is really nice, could be used to visualize obsolete deps. Maybe you could integrate a chrome addon to install directly from npmjs.org.
I agree about the terminal, but I also know that folks who are used to something like MAMP are intimidated by it. That's why I chose to include a simple UI for npm to get them started, which actually launches Terminal.app if they run an interactive command. Hopefully, someone can get familiar with the idea of
npm [command]and that will introduce them to the idea of using the terminal for more.