nativefier
wraps websites as desktop applications using Electron
TLDR
Create app from website
SYNOPSIS
nativefier [--name name] [--icon path] [--tray] [options] url [outputdir_]
DESCRIPTION
nativefier wraps websites as desktop applications using Electron. The result is a standalone app that behaves like a native application.
Applications get their own window, dock/taskbar icon, and can run independently of browsers. This is useful for web apps that benefit from dedicated window management.
Custom icons, names, and window behavior make apps feel native. Tray mode minimizes to system tray. Single instance prevents multiple copies.
CSS and JavaScript injection modifies the wrapped site. This can customize appearance, add features, or remove unwanted elements.
Internal URL patterns control which links open in the app versus the default browser. This keeps the app focused on its core functionality.
Platform targeting creates apps for Windows, macOS, or Linux from any development machine.
PARAMETERS
--name NAME
Application name.--icon PATH
Custom icon file.-p, --platform OS
Target platform (mac, windows, linux).-a, --arch ARCH
Target architecture.--tray
Add system tray icon.--maximize
Start maximized.--single-instance
Only one instance allowed.--inject FILE
Inject CSS or JavaScript.--user-agent STRING
Custom user agent.--internal-urls REGEX
URLs to open internally.--file-download-options JSON
Download behavior settings.--disable-context-menu
Disable right-click menu.--flash
Enable Flash plugin.--widevine
Enable Widevine DRM.
CAVEATS
Electron apps are large (100MB+). Security depends on wrapped site. Flash support deprecated. Some sites detect and block embedding. Project is in maintenance mode.
HISTORY
nativefier was created by Jia Hao Gao around 2015 to easily create desktop apps from web pages. It became popular for wrapping services like Slack, WhatsApp Web, and internal tools. The project is now in maintenance mode with limited updates.
