Nativefier

Topics: Desktop Web Applications

Nativefier uses Electron to wrap a website into a desktop application. First, create the application:

nativefier --name Mastodon \
  --icon ~/Dropbox/Library/Icons/Websites/mastodon.png \
  'https://mastodon.social/web/'

Install it:

find Mastodon-linux-x64 | \
  sudo xargs -i install -D -o root -g root {} /opt/{}

Finally, create a desktop file in ~/.local/share/applications/:

[Desktop Entry]
Name=Mastodon
Comment=Social network
Exec=/opt/Mastodon-linux-x64/Mastodon
Icon=/home/geewiz/Dropbox/Library/Icons/Websites/mastodon.png
Terminal=false
Type=Application
Categories=Social;