DEV Community

Pacharapol Withayasakpunt
Pacharapol Withayasakpunt

Posted on

Yet another way to convert a website (with backend) to desktop app

Use a real GUI framework (not really Electron), to let people know that web server is running (without showing the Terminal).

I use systray to show web server in Notification Area.

GitHub logo getlantern / systray

a cross platfrom Go library to place an icon and menu in the notification area

And, xgo to build cross-platform from Linux; yet I can run in Windows and macOS.

But when it touches native GUI and CGO, it's not without troubles...

The app is here. It's super small, but most of the size comes from fonts and SQLite database.

GitHub logo zhquiz / zhquiz

Quiz for Chinese Hanzi, Vocab and Sentence daily!

Top comments (0)