DEV Community

loading...

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

Pacharapol Withayasakpunt
Currently interested in TypeScript, Vue, Kotlin and Python. Looking forward to learning DevOps, though.
・1 min read

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!

Discussion (0)