Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/react-declarative/electron-bootstrap

Web server + ElectronJS to wrap any website into the native window
https://github.com/react-declarative/electron-bootstrap

builder deb distribution-electron dmg electron electron-updater exe linux macos msi pkg rpm snap updater windows

Last synced: 1 day ago
JSON representation

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

Awesome Lists containing this project

README

        

# ⚛️ Electron Bootstrap

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

![screencast](./assets/screencast.gif)

## Contribute

> [!IMPORTANT]
> Made for using with [react-declarative](https://github.com/react-declarative/react-declarative) to solve your problems. **⭐Star** and **💻Fork** It on github will be appreciated

## Usage

**1. Install dependencies**

```bash
npm install
```

**2. Add some HTML**

```bash
touch ./lib/index.html
nano ./lib/index.html
```

**3. Deploy**

> Windows `msi` build

```bash
npm run build:windows
```

> Linux `deb` / `appimage` build

```bash
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`.