pistacchio
pistacchio

Reputation: 58903

Distribute Single Page Application as native desktop software

Is it possible to pack s single page application (its JavaScript files and images and all the assets) so that it can be distributed as a native desktop application? Like having an instance of Chrome without any button that just runs your application offline. I've used software that seems to be crafted like that, for example TweetDeck by Twitter gives me the impression of being just the web-version of TweetDeck packed in some way to run in a context that is not your standard browser.

Upvotes: 3

Views: 118

Answers (4)

TechMaze
TechMaze

Reputation: 477

Very much possible and all HTML5 apps are doing that, all your need is this: https://cordova.apache.org/

Upvotes: 0

riyadhalnur
riyadhalnur

Reputation: 404

You can use NW.js (previously Node WebKit) or Electron to do just that.

Upvotes: 2

Nikolay
Nikolay

Reputation: 1106

You can do it by implementing a headless browser application.

There is an open source web browser engine here https://www.webkit.org/.

You incorporate it in a native application and parse the source files.

The webkit documentation presumably contains the specifics, have fun :)

Upvotes: 1

oxdeadbeef
oxdeadbeef

Reputation: 180

There's NW.js. To package nodejs / html apps on the desktop.

Upvotes: 1

Related Questions