Nativefier: transform a webpage into a desktop app
Wrap a webpage with Electron to create a desktop application by typing just one command.
Install Nativefier
Nativefier is a Node.js application you can install easily with npm
(and root permissions).
npm install -g nativefier
Usage
Type nativefier
and the URL.
nativefier https://archlinux.org
- If you omit the protocol (https), it will look for an
https
page.
This command will create a folder inside your working directory and, inside this folder, there will be an executable (with the name of the webpage) you can run like any executable.
Add a .desktop file
If you want to access your Nativefier app from your Applications Menu, you need to create a .desktop file. This is an example:
[Desktop Entry]
Type=Application
Name=ArchLinux.org
Comment=Arch Linux website
Icon=/home/ricardo/Documents/ArchLinux-linux-x64/resources/app/icon.png
Categories=Network
Exec=/home/ricardo/Documents/ArchLinux-linux-x64/ArchLinux
Featured content: