
Security News
TC39 Advances Temporal to Stage 4 Alongside Several ECMAScript Proposals
TC39’s March 2026 meeting advanced eight ECMAScript proposals, including Temporal reaching Stage 4 and securing its place in the ECMAScript 2026 specification.
web-electron
Advanced tools
A powerful command-line tool that automatically converts web projects into native desktop applications using Electron. Supports multiple frameworks and build systems with intelligent detection and configuration.
npm install -g web-electron
Navigate to your web project directory and run:
web-electron convert
Or specify a project path:
web-electron convert /path/to/your/project
Convert a web project to an Electron desktop application:
web-electron convert [project-path] [options]
# Aliases
web-electron c [project-path] [options]
Options:
-y, --yes - Skip all prompts and use defaults--no-install - Skip npm installExamples:
# Convert current directory with prompts
web-electron convert
# Convert with auto-confirmation
web-electron convert -y
# Convert specific project without installing dependencies
web-electron convert ./my-react-app --no-install
Analyze and validate a web project for Electron conversion:
web-electron validate [project-path]
# Aliases
web-electron v [project-path]
Examples:
# Validate current directory
web-electron validate
# Validate specific project
web-electron validate ./my-project
Display all supported frameworks and build systems:
web-electron frameworks
# Aliases
web-electron f
| Framework | Icon | Build Systems | Status |
|---|---|---|---|
| React | ⚛️ | Vite, Create React App, Custom Webpack | ✅ Fully Supported |
| Next.js | ⚡ | Next.js CLI, Vite | 🚧 Coming Soon |
| Vue | 🖖 | Vite, Vue CLI | 🚧 Coming Soon |
| Nuxt | 💚 | Nuxt CLI, Vite | 🚧 Coming Soon |
When you convert your project, the tool creates:
your-project/
├── electron/
│ ├── main.js (or .ts) # Main Electron process
│ ├── preload.js (or .ts) # Preload script for security
│ ├── handlers/ # IPC handlers directory
│ │ └── app-handlers.js # Application-specific handlers
│ └── builder.js # Electron builder configuration
├── package.json # Updated with Electron scripts
└── [your existing files] # Your web app remains unchanged
Your package.json gets new scripts for Electron development:
{
"scripts": {
"electron": "electron electron/main.js",
"electron:dev": "concurrently \"npm run dev\" \"wait-on http://localhost:3000 && electron electron/main.js\"",
"electron:build": "npm run build && electron-builder",
"electron:dist": "npm run build && electron-builder --publish=never"
}
}
The tool automatically detects your framework by analyzing:
package.json dependenciesvite.config.js, next.config.js, etc.)Supports detection of:
Automatically detects and uses:
The generated Electron files are based on framework-specific templates that can be customized:
The validation feature provides detailed analysis:
We welcome contributions! Please see our Contributing Guidelines for details.
# Clone the repository
git clone https://github.com/your-username/web-electron-cli.git
# Install dependencies
npm install
# Link for local development
npm link
# Test the CLI
web-electron --help
This project is licensed under the MIT License - see the LICENSE file for details.
Made with ❤️ for the web development community
FAQs
CLI tool to convert web projects into Electron apps
We found that web-electron demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
TC39’s March 2026 meeting advanced eight ECMAScript proposals, including Temporal reaching Stage 4 and securing its place in the ECMAScript 2026 specification.

Research
/Security News
Since January 31, 2026, we identified at least 72 additional malicious Open VSX extensions, including transitive GlassWorm loader extensions targeting developers.

Research
Six malicious Packagist packages posing as OphimCMS themes contain trojanized jQuery that exfiltrates URLs, injects ads, and loads FUNNULL-linked redirects.