Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/react-declarative/electron-bootstrap
- Owner: react-declarative
- Created: 2024-08-23T07:07:07.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-08-23T12:37:09.000Z (about 1 month ago)
- Last Synced: 2024-09-22T09:03:23.152Z (5 days ago)
- Topics: builder, deb, distribution-electron, dmg, electron, electron-updater, exe, linux, macos, msi, pkg, rpm, snap, updater, windows
- Language: JavaScript
- Homepage: https://github.com/react-declarative/react-declarative
- Size: 1.03 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`.