TIL how to replace Nativefier with basic browser features
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:
- Navigate to the website you want to add as an app.
- At the top right, click More.
- Click More Tools.
- Click Create shortcut.
- Enter a name for the shortcut and click Create.