Nativefier is a command-line tool that lets you quickly create a native desktop application for any website using Electron. It wraps any web page into a cross-platform desktop app for Windows, macOS, or Linux.
- Turn any website into a standalone desktop app
- Cross-platform support: Windows, macOS, Linux
- Customize app name, icon, user agent, and more
- Supports fullscreen, kiosk mode, system tray, and custom CSS/JS injection
- No coding required β just one command to build your app
Make sure you have Node.js (version 12 or later) and npm installed on your system.
sudo apt update
sudo apt install nodejs npmIf the default Node.js version is old, you can install a newer version from NodeSource:
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -
sudo apt install -y nodejsThen install Nativefier globally:
sudo npm install -g nativefiersudo dnf install nodejs npm
sudo npm install -g nativefiersudo pacman -S nodejs npm
sudo npm install -g nativefiernativefier "https://example.com"nativefier --name "WhatsApp" --icon whatsapp.ico "https://web.whatsapp.com"| Option | Description | ||
|---|---|---|---|
--name "AppName" |
Set the desktop app name | ||
--icon /path/to/icon |
Use a custom icon (.ico, .icns, .png) | ||
| `--platform [windows | mac | linux]` | Target platform for the app |
| `--arch [x64 | arm64]` | CPU architecture | |
--user-agent "UA string" |
Override browser user agent | ||
--fullscreen |
Launch app in fullscreen mode | ||
--kiosk |
Enable kiosk mode (no window controls) | ||
--inject /path/to/file |
Inject custom CSS or JavaScript |
- Use custom icons for professional look
- Disable dev tools for security with
--disable-dev-tools - Combine with system tray support for background apps
- Great for turning web tools, chats, or dashboards into desktop apps
- GitHub: https://github.com/nativefier/nativefier
- Docs: See README on GitHub for full usage and advanced options