DEV Community

Dave Parr
Dave Parr

Posted on

Nativefier is bonkers

I made an electron app in 4 lines...

nativefier "http://musicforprogramming.net/" -n "musicforprogramming"
cd musicforprogramming-linux-x64/
sudo chmod +x musicforprogramming
./musicforprogramming
Enter fullscreen mode Exit fullscreen mode

Motivation

I like music, but don't like music in browser tabs. Basically because i have it open all the time, I want to find and control it easily, and I don't want it cluttering up an area that might be soley focused on work.

I discovered some neat apps for google play, and wanted to see if there was one for my other go to, musicforprogramming. There wasn't, so I just casually googled how to convert a page into an electron app and OMFG!

Solution

GitHub logo nativefier / nativefier

Make any web page a desktop application

Nativefier

👋 dear users / contributors! Public service announcement!

Nativefier is maintained by YOU. It's reasonably sane to hack on nowadays it fits the use cases needed by the original author and the current maintainer so we are not doing any active development.

But it's alive! It at least follows Electron releases with maintenance patches and if YOU use it and want to see juicy features & fixes, PR welcome! Help welcome in particular on our pinned issues, or any issue / feature that motivates you 🙂.

Thanks! Take care.


Build Status npm version

Dock

You want to make a native wrapper for WhatsApp Web (or any web page).

nativefier web.whatsapp.com
Enter fullscreen mode Exit fullscreen mode

Walkthrough animation

You're done.

Introduction

Nativefier is a command-line tool to easily create a desktop app for any web site with minimal configuration. Apps are wrapped by Electron (which uses Chromium under the hood) in an OS executable (.app, .exe, etc)…

This post and this one helped iron out some kinks and now I can launch programming music right from my VS code terminal!

vs code and an electron app of musicforprogramming made with nativefier

Extra credit

alias musicforprogramming="~/Dev/musicforprogramming-linux-x64/musicforprogramming
Enter fullscreen mode Exit fullscreen mode

Top comments (0)