How to Turn a Website Into a Linux Desktop App Using Nativefier

You in all probability go to a selected web site a number of occasions a day whereas working. Doing so requires you to open a browser, sort within the URL, after which the web site lastly masses. What in the event you may flip the web site into an app that you could launch out of your Linux desktop by simply double-clicking?

Because it seems, you possibly can create a standalone Linux app for a web site utilizing a command-line utility referred to as Nativefier. This is how to try this.

How one can Set up Nativefier on Linux

First, that you must set up NPM and Nativefier in your system. To put in NPM, try our detailed information on putting in NPM on Linux.

With NPM configured, now it is time to set up Nativefier. To take action, launch the terminal and concern the next command:

npm set up -g nativefier

The -g flag stands for international and instructions NPM to put in the package deal globally.

In case your Linux distro helps snap, you may get the Nativefier snap package deal from the Snap Retailer utilizing:

sudo snap set up nativefier

Be sure to’ve snap put in in your system earlier than operating the above command. If not, you possibly can check with our information on putting in snap on Linux.

Arch customers can obtain Nativefier from the Arch Consumer Repository utilizing Yay:

yay -S nodejs-nativefier

The snap and AUR repositories aren’t recurrently maintained, so it is beneficial you put in Nativefier utilizing NPM.

MAKEUSEOF VIDEO OF THE DAY

Turning Web sites Into Desktop Linux Apps

Utilizing Nativefier is straightforward. To create a desktop app for a web site, use the next command syntax:

nativefier "http://www.instance.com"

By default, Nativefier will routinely assign an app title to the web site. If you would like your app to have a customized title, you possibly can specify the identical utilizing the –name flag.

nativefier --name "Instance Linux App" "www.instance.com"

Nativefier will create a folder containing all of the information needed for the app. To get to the app file, use the cd command to navigate to the newly-created listing:

cd appdirname/

In case you’re uncertain concerning the app listing title, you possibly can listing the contents of the father or mother listing utilizing the ls command.

Nativefier routinely assigns execute permissions to the generated app file, so you do not have to. You may merely launch the executable utilizing the next command syntax:

./appname

To get command-line assist associated to the utility, sort:

nativefier --help

Why Flip Web sites Into Desktop Apps?

Not everybody may have to create a desktop app for web sites that they go to. However for many who should incessantly browse sure web sites, even a couple of further clicks generally is a hindrance within the work. Subsequently, to maintain your productiveness stage excessive and be certain that you do not repeat the identical motion repeatedly, turning web sites into desktop apps might be useful.

It is the identical as organising hotkeys for particular operations or creating new shell aliases for lengthier instructions on Linux. All in all, having an app you possibly can launch straight from the desktop is handy and may sometimes prevent a couple of clicks. And in the long term, that is a number of saved time.


Linux Is a Lot Higher Than Different OSes

On Linux, you possibly can make certain that in the event you don’t love one facet of your system, you possibly can change to a different one. If opening your internet browser and looking for a web site incessantly sounds tedious, you possibly can go for the better route and create a keyboard shortcut, and even higher, a full-blown desktop app for the web site utilizing Nativefier.

There’s much more you are able to do on Linux although. For instance, you possibly can schedule apps to run at sure occasions utilizing crontab, create scripts that routinely change your wallpaper primarily based on time, and set up a number of desktop environments on a system. Some duties are simply achieved on different working methods like Home windows, whereas the remaining are unique to the Linux ecosystem.


linux-things

10 Issues You Can Do on Linux however Not on Home windows

Learn Subsequent


About The Creator

Leave a Comment

Your email address will not be published. Required fields are marked *