TIL how to replace Nativefier with basic browser features

January 25, 2024 1 min read

Docker Software

There are some website I like to run in a separate window.

In the past I used Nativefier to create a native macOS app (which was basically a browser window):

$ docker run --rm -v ~/Desktop:/target/ nativefier/nativefier --platform "osx" --arch "arm64" --name "MyApp" --icon "/target/myapp.icns" https://myapp.com/ /target/

But this had one major disadvantage: The created app does not receive any browser updates, so after a short amount of time you have an outdated app with potential security vulnerabilities. This is one of the reasons Nativefier has been archived on September 29, 2023.

There is a better way!

All major browser support creating “apps” from websites nowadays. This works as follows for Google Chrome:

  1. Navigate to the website you want to add as an app.
  2. At the top right, click More.
  3. Click More Tools.
  4. Click Create shortcut.
  5. Enter a name for the shortcut and click Create.

Back to TIL

Docker Software
Phil-Bastian Berndt

Phil-Bastian Berndt
Tech Lead at Naymspace