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
36
votes
3 answers

Using iframe with local files in Chrome

I am having a tough time figuring out how to access a page loaded in an iframe from the outer page. Both pages are local files, and I'm using Chrome. I have an outer page, and many inner pages. The outer page should always display the page title…
8
votes
3 answers

fs.writeFile() doesn't return callback

I'm trying to write a file with the users authentication data to the disk. To achieve this I wrote the following function: function writeAuthFile(data, success, fail) { var fs = require('fs'); fs.writeFile('auth.json', JSON.stringify(data),…
Feanaro
  • 922
  • 3
  • 19
  • 35
8
votes
1 answer

Questions regarding AppJS / Tidesdk

So not sure if this would be the correct place to ask these but I know I could perhaps get some answers. I am getting into Meteor and now would like to make some desktop apps. I was going to go the route of just making a native Mac app. But then I…
Jonovono
  • 3,437
  • 5
  • 42
  • 64
7
votes
3 answers

appjs - compile into single executable?

I've spent all night trying different tools for building cross platform desktop apps via html5 and so far appjs seems to be perfect. I've only been playing around with the windows executable-based demo project but I'm wondering if there is any guide…
Joe
  • 1,762
  • 9
  • 43
  • 60
6
votes
1 answer

How to enable harmony in Coffeescript?

Here is how I run my js code: node --harmony ./data/app.js Now I want to move to the CoffeeScript. So I try to run it like that: coffee ./data/app.coffee And it fails. How can I pass this --harmony option?
ciembor
  • 7,189
  • 13
  • 59
  • 100
5
votes
5 answers

How To Open PDF Files Inside Chromium?

I'm using nodejs and chromium for my desktop app. The problem is that I can't open pdf files in chromium. So I googled and found that most of the answers are related to mozplugger plugin. I installed the plugin as mentioned in the below…
Sankar V
  • 4,110
  • 5
  • 28
  • 52
4
votes
1 answer

Unable to run appjs sample app using node.js

I am trying to run one of the sample projects using appjs which is present over here https://github.com/appjs/appjs/tree/master/examples. I am using the latest version of node.js (v4.1.0 ) on Windows (64 bit machine) When I try and run the example…
Parth Doshi
  • 4,200
  • 15
  • 79
  • 129
4
votes
1 answer

Getting sqlite3 on clients computer without needing them to compile and install libraries

I need to build a self contained appjs application with sqlite3, for win xp 32bit. I myself am running windows 7 32bit and have not been possible to install sqlit3 via npm. I've tried installing all the gyp and correct python code, the errors are…
Moak
  • 12,596
  • 27
  • 111
  • 166
3
votes
3 answers

Replacing comma with dot Char

I have made a calculation app in AppJs. Basicly it is a bunch of: fields. To make it more user friendly i thought i should replace All commas with dots, so that javascript can use the actual values to calculate. I've tried…
Philip G
  • 4,098
  • 2
  • 22
  • 41
3
votes
0 answers

AirPlay streaming to HTML video player

First let me begin that I understand this protocol is mostly closed-source and Apple proprietary. Legal ramifications aside, I'd still like some help. Title: AirPlay streaming to HTML video player. What I'd like to do is stream an AirPlay MOV file…
Levi Roberts
  • 1,277
  • 3
  • 22
  • 44
3
votes
1 answer

How to communicate from server to client via sockets with nodejs?

Currently I am creating a Javascript application. I am using AppJS for this. I have some problems understanding the connection between the client and server. Menu bar -> socket problem The problem is the menubar and sockets combination. The socket…
Ron van der Heijden
  • 14,803
  • 7
  • 58
  • 82
3
votes
0 answers

appjs openDialog return value is garbled

using appjs-0.0.20-win32-ia32 window.frame.openDialog({ type: 'save', title: 'Save...', multiSelect: false, dirSelect:true }, function( err , files ) { for(var…
Rajeesh V
  • 402
  • 5
  • 19
2
votes
2 answers

EXTJS 5 Chart ToolTip Using "sencha-charts" on require[] not working

Im currently using ExtJs5 MVVM architecture and I require "sencha-chart" than "ext-chart" on the app.json file, Charts works fine but adding tooltip on the bar series im using doesn't work. No error logs. I also check their example on sencha chart…
starTreyk
  • 83
  • 2
  • 13
2
votes
1 answer

Node.js Download Manager

I have to build a download manager for big files (over 500MB) for Mac, PC and Linux. I am going to use App.js to make the client program. The idea for this manager is to keep the current download progress if the connection drops. My question is…
Ivan Dokov
  • 4,013
  • 6
  • 24
  • 36
2
votes
1 answer

Make an AppJS project into a single exe

I have been reading online for days and I am unable to find a solution for this that I can get working. I would like a single exe file that unpacks to temporary location when you run the file which can be shared and sent to people. Ideally I would…
Fasani
  • 5,141
  • 1
  • 23
  • 24
1
2 3 4 5 6