Nativefier + Electron = Web → app

Nativefier

Surely you have heard of Electron, and also from Nativefier. It is a software that is capable of converting your favorite websites into an app to run it more comfortably, but it cannot be run locally, as the Internet is still needed for that web service to work. It is simply a way of "encapsulating" the web in the form of an app, and you can do it with any website, from a blog to read it, to a web app such as Canva, through Google Docs, etc.

To do this, in this tutorial we show you how you can install and use in a simple way and explained step by step (in DEB distros for reference, but you can do it in any other using the native package manager):

sudo apt-get update

sudo apt-get install npm

sudo npm install nativefier -g

Now that it is installed, the next thing is to generate a URL based Electron frame what you need with Nativefier. To do this, you just have to follow 2 simple steps:

  1. Open your browser and find the website you want to make an app. Now, in the browser's address bar, copy the URL.
  2. In the terminal window use Nativefier to generate the basic app using that URL. For it:
nativefier -p linux -a x86 -n nombre https://url.copiada.es

Obviously, you will have to replace that URL with the one you have copied in your case and name with the name you want to give the app. You can also change the architecture, although the vast majority use x86.

After executing this command, Nativefier will include the URL that you have put into the Electron app. If everything has been successful, no error message will appear in the terminal. And if something happened, it will tell you what happened. Once finished, you can find the app and start using it in this simple way:

cd *-linux-x64

sudo chmod +x *

./nombre

In name you must put the name you gave your app to run it. Now you just have to enjoy it, but remember that you must have Internet access to be able to use it.


The content of the article adheres to our principles of editorial ethics. To report an error click here!.

A comment, leave yours

Leave a Comment

Your email address will not be published.

*

*

  1. Responsible for the data: AB Internet Networks 2008 SL
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   Diego Ospina said

    It's easier to Install a site as an application with Edge and that's it