systray
xgo
systray | xgo | |
---|---|---|
6 | 3 | |
3,131 | 2,052 | |
1.3% | - | |
4.0 | 0.0 | |
6 months ago | over 2 years ago | |
Go | Shell | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
systray
-
Systray is not showing icon.
I am using github.com/getlantern/systray to show menu in the windows tray in my Wails app. It works fine during development and shows icon but in production it throws this error:
-
Toolkit-agnostic system tray in Go (based on getlantern, using DBus for Linux)
thank you. i already saw it and merged it with my local temporary fork. in getlanterns repo is a windows-only PR for left click (WM_LBUTTONUP) - that and middle click (WM_MBUTTONUP) could be added together with the sni versions.
-
Is there is good GUI for Golang ?
Just gonna give a shout out for https://github.com/getlantern/systray which I use in one of my projects. Tested on Windows and Linux Mint, works great.
-
Yet another way to convert a website (with backend) to desktop app
I use systray to show web server in Notification Area.
-
CLI for Windows with Go
Of course, already exists that library for using Notification Area. getlantern/systray
xgo
-
Sciter, the 5 MB Electron alternative, has switched to JavaScript
I see, in this thread, talks about what Sciter does and does not offer.
It's not the only alternative to Electron, but it might be one that offers predictable and repeatable results.
I released a small open source project on HN last week (https://github.com/Fusion/pngsource) and I wrote its backend logic in Go. I built the frontend using Tailwind (https://tailwindcss.com) and DaisyUI (https://daisyui.com) and, using Go compiler flags, I can release the app using both WebView (github.com/webview/webview) (which, yes, does require the host OS' collaboration) and Wails (wails.app) (which also does.)
On Linux/AMD64, the binary's size is 3.7M when building for WebView, and 6.8M when targeting Wails.
The way the app works is I drag/drop files to the UI, magic happens, and I use github.com/ncruces/zenity to prompt the user for a save location.
I cross-compile the apps using xgo (https://github.com/karalabe/xgo)
It's been working pretty well on Linux, Windows, MacOS. I think WebView's approach of limiting the feature set is working well as it feels more "native" than Wails (better refreshes and resize operations for instance)
However, I already have a few tickets reporting that, for instance, the app is displayed as a blank window in some environments. And it's hard to debug remotely, obviously. So, this is where Sciter may be a better option.
-
Go & secondary groups: a kaniko adventure!
The test program runs great on macOS, but when I use xgo to cross-compile it for Linux, all it outputs is:
-
Yet another way to convert a website (with backend) to desktop app
And, xgo to build cross-platform from Linux; yet I can run in Windows and macOS.
What are some alternatives?
fyne - Cross platform GUI toolkit in Go inspired by Material Design
daisyui - ๐ผ ๐ผ ๐ผ ๐ผ ๐ผ โThe most popular, free and open-source Tailwind CSS component library
Wails - Create beautiful applications using Go
kaniko - Build Container Images In Kubernetes
sciter - Sciter: the Embeddable HTML/CSS/JS engine for modern UI development
trayhost - Cross-platform Go library to place an icon in the host operating system's taskbar.
quickjspp - Port of QuickJS Javascript Engine.
go-qml - QML support for the Go language
Tailwind CSS - A utility-first CSS framework for rapid UI development.
nuklear - This project provides Go bindings for nuklear.h โ a small ANSI C GUI library.
v8-jsi - React Native V8 JSI adapter