Isn't the web supposed to be the best place for apps?
Like Files...
...And Notifications
http://electron.atom.io/#built-on-electron
npm install -g electron-prebuilt
{
"name": "my-awesome-app",
"version": "1.0.0",
"description": "A Desktop version of my awesome app",
"main": "main.js"
}
package.json
const electron = require('electron');
const app = electron.app;
const BrowserWindow = electron.BrowserWindow;
let mainWindow;
app.on('ready', createWindow);
function createWindow () {
// Create the browser window.
mainWindow = new BrowserWindow({width: 800, height: 600});
// and load the index.html of the app.
mainWindow.loadURL('file://' + __dirname + '/index.html');
// Emitted when the window is closed.
mainWindow.on('closed', function () {
// Dereference the window object
mainWindow = null;
});
}
main.js