/electron-bootstrap

Web server + ElectronJS to wrap any website into the native window

Primary LanguageJavaScript

⚛️ Electron Bootstrap

Web server + ElectronJS to wrap any website into the native window

screencast

Contribute

Important

Made for using with react-declarative to solve your problems. ⭐Star and 💻Fork It on github will be appreciated

Usage

1. Install dependencies

npm install

2. Add some HTML

touch ./lib/index.html
nano ./lib/index.html

3. Deploy

Windows msi build

npm run build:windows

Linux deb / appimage build

npm run build:linux

4. Run

Double click on *.msi to install the app. The right click is disabled and menu bar is hidden. The static assets are shared on http://localhost:1338.