Questions tagged [appjs]

AppJS is an open-source SDK to develop desktop applications using Node.js and the Chromium Embedded Framework.

AppJS allows developers to build desktop applications for Linux, Windows and Mac using Node.js melded with Chromium. Desktop tools and applications can thus be developed using the same libraries and knowledge used to build websites.

The Chromium Embedded Framework (CEF) provides support for JavaScript, HTML5, CSS, SVG and WebGL while Node.js brings http/https servers and client APIs, filesystem, cryptography, sandboxed code execution environments and tools for exposing native C++ bindings to JavaScript.

More information is available on the AppJS.org website and on the project's github page.

78 questions
2
votes
1 answer

AppJS Drag and Drop event never fired

Using AppJS (http://appjs.org/) which basically gives NodeJS a webkit window to work with. I am attempting to harness the drag and drop event for files and URLs to be used in my code. The short code for the drag and drop can be found here:…
Levi Roberts
  • 1,277
  • 3
  • 22
  • 44
2
votes
1 answer

Using node.js os.cpus() to detect user idle time?

I'm developing a chat application with appjs that uses node.js as the platform. I'm stucked with detecting when computer is idle (when user is away from it or not using it). There is os module in node.js and its os.cpus() provides such information…
moogeek
  • 397
  • 4
  • 14
  • 34
2
votes
1 answer

Deploy Applications with AppJS?

How to I create a stand alone application with AppJS? I read the tutorial but I cannot find where it is that you actually convert the source code into an "application" with its own "frame" and what not.
Andrew Rhyne
  • 5,060
  • 4
  • 28
  • 41
2
votes
1 answer

Installing 32bit Node on Mountain Lion

I'd like to start playing with AppJS as a possible solution for an upcoming project, but I'm new to NodeJS and haven't managed to find a way to install 32bit Node (required by AppJS) on OSX Mountain Lion. Is there a tutorial that I've missed that…
Rob Wilkerson
  • 40,476
  • 42
  • 137
  • 192
1
vote
1 answer

The video element is not showing on the page

Recently I used app.js as the framework to design the layout of my web app. The web app is to stream from webcam and show on the webpage html video element. The webcam is working and running, however the video doesn't show on my webpage, in fact…
jetjetboi
  • 142
  • 1
  • 14
1
vote
1 answer

JavaScript prompt() won't work in AppJS

I'm making an app in AppJS, and the prompt() function wont work. I've looked it up, tried window.prompt() and many other things, but nothing has worked. I'm trying to see when the Esc key is pressed, then the person enters the password. If the…
1
vote
1 answer

Update loaded value with node.js express

Express view: app.get("/", function (req, res) { res.render("index", { addons: addons }); }); Jade template loop each addon in addons How would update that addons loop after the initial load using appjs/node.js/express/jade?
Zander17
  • 1,894
  • 5
  • 23
  • 31
1
vote
3 answers

node.js - get value of json request

How do I get the value of json data sent from client with ajax in node.js? I tried so many examples and q&a but still it's not working. I'm totally new to node.js so my question could be dumb. I got my codes below. Please kindly point me out where…
Nerdar
  • 1,103
  • 2
  • 10
  • 23
1
vote
1 answer

Trouble loading JW Player consistently on KiK

I'm having trouble getting JW Player (JW Platform) videos to load on KiK (and just mobile web, for that matter). Appears to work 100% of the time on desktop, but once inside the KiK app or even just in Safari and/or Chrome mobile web the videos will…
shreddie
  • 11
  • 3
1
vote
1 answer

using html5 standalone app using deskshell to connect to mysql

I am making small standalone html 5 application using deskshell, I want to use MySQL database. How can I connect from JavaScript to MySQL without using PHP or server side language?
ronvinet
  • 11
  • 2
1
vote
1 answer

How can I redirect a jsnode child process output to a cmd prompt?

I have an appjs application that is built to be a GUI which allows the user to run whole bunch of other .exe applications. These other .exe applications are created on a mouse click by the 'spawn()' command. Some of the .exe programs require output…
1
vote
5 answers

|| and onmessage in javascript

I am reading a open source project and it has a js file like this var pipe = function(source, listeners){ source.onmessage = function onmessage(msg){ //.. do something .. }; return { //.. something ... }; …
Ashish Negi
  • 5,193
  • 8
  • 51
  • 95
1
vote
1 answer

How does appjs or node-webkit brings nodejs and CEF together?

I am working on a project that requires me to use nodejs filesystem in the CEF browser window that i create. I looked into node-webkit and appjs. I can not use them as there are other business aspects. I also could not find documentation on how are…
Ashish Negi
  • 5,193
  • 8
  • 51
  • 95
1
vote
1 answer

Local database in Appjs doesnot persist after the application is closed

Local database in Appjs is not persisting after the application is closed. Whenever the application is opened it is creating a new database and couldn't find the previously created one. Please provide me a solution for this.
1
vote
2 answers

How to keep Server and "Client Desktop App" in sync?

I have been working on a desktop app using AppJS (HTML5, JQUERY). In my application, I ask user to input a folder path of his/her local machine (where application is running) and store that info in my database on the server. I have to push a file to…
Vipin
  • 21
  • 1
  • 7