{ Learn Code. Share Code. Teach Code. Love Code. }

  • WebDGapJS: Easily Export a Website as a Desktop App

 #84194  by mikethedj4
 Fri May 05, 2017 10:16 am
I just wanted to share WebDGapJS. It's a simple JS Plugin (more like a function) that makes it easy to export any website as a cross-platform desktop app using just 1 line of code.

The plugin is simple. You set the operating system for exportation, application name, logo's url, and application's url and WebDGap will do the rest.

Here's an example of how to call it.
Code: Select all
webdgap("chrome", "WebDGap", "https://mikethedj4.github.io/WebDGap/assets/images/icon.svg", "https://mikethedj4.github.io/WebDGap/");
Operating system exportation only accepts 7 values, "win", "win32", "mac", "lin", "lin32", "chrome", and "chromeext". If it doesn't you'll be presented with an error.