Thanks to visit codestin.com
Credit goes to github.com

Skip to content

zimindev/cli-nativefier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 

Repository files navigation

🎯 Nativefier β€” Create Desktop Apps from Websites

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.


βœ… Features

  • 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

πŸ“¦ Installation

Prerequisite: Install Node.js and npm

Make sure you have Node.js (version 12 or later) and npm installed on your system.


Ubuntu / Debian

sudo apt update
sudo apt install nodejs npm

If 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 nodejs

Then install Nativefier globally:

sudo npm install -g nativefier

Fedora

sudo dnf install nodejs npm
sudo npm install -g nativefier

Arch Linux

sudo pacman -S nodejs npm
sudo npm install -g nativefier

πŸš€ Basic Usage

Create a desktop app for a website

nativefier "https://example.com"

Example: Make WhatsApp Desktop app with custom icon

nativefier --name "WhatsApp" --icon whatsapp.ico "https://web.whatsapp.com"

βš™οΈ Options & Examples

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

🧩 Tips

  • 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

πŸ“š More Info

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published