Skip to content
Package any local/static website folder into a desktop application (electron/macOS).
Branch: master
Clone or download
Thomas Buffet
Thomas Buffet set resizable false
Latest commit 6c8b7fa Apr 29, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information. tweaks Aug 2, 2018
package.json small update Apr 30, 2019 small update Apr 30, 2019


Package any local/static website folder (typically a /public) into a desktop application, electron/macOS. The process requires Node/npm installed on your machine.

To do so, cd to the folder that contains the files, and run:

bash <(curl -s

The script will ask for a name and a window size for the app. After that, the script will:

Download package.json and index.js from this repository

Install the dependencies (electron, express to serve the files)

Package the folder into an Electron executable

Cleanup the files it downloaded + node_modules/

Useful for prototyping, presenting, or for simple offline stuff.

You can’t perform that action at this time.