Nextron helps you build desktop applications with Next.js for the UI and Electron for the shell. It targets developers who want to use web skills for cross-platform desktop apps.
Overview
Nextron combines Next.js on the renderer side with Electron on the main process so you can ship desktop apps using familiar web development workflows. It aims to make desktop development approachable with web knowledge alone.
You scaffold from example templates, run a development mode that starts Next and launches Electron together, and produce installable bundles with a production build command. Main-process entry points and package metadata follow conventions the tool documents for current major versions, including optional ESM setup.
The CLI exposes options for renderer port, Electron startup delay, hot-reload behavior for the main process, and extra Electron flags. Packaging integrates with electron-builder through a configurable YAML file, with platform-specific notes such as building macOS binaries on macOS hosts.
Example projects cover Tailwind CSS, Material UI, Chakra, Ant Design, i18n, custom protocols to open the app from URLs, and persisted store data. Custom webpack configuration for the main process is supported through a dedicated config file.
Key features
- Next.js renderer with Electron main process
- Template-based project creation
- Integrated dev and production build commands
- electron-builder packaging integration
- Configurable renderer port and startup delay
- ESM support for modern setups
- Example apps for popular UI libraries
- Custom URL protocol launch examples
Use cases
- Cross-platform desktop apps with React
- Electron apps using Next.js routing
- Desktop apps opened from custom URL schemes
- Teams standardizing on web stack for desktop
- Packaged installers for macOS, Windows, Linux