Expand description
Cross-platform toolkit for desktop applications.
See module-level docs for surface and usage.
Modules§
- appearance
- Reports the operating system’s current color scheme so applications can match the native light or dark theme.
- clipboard
- Read and write the system clipboard as plain text via per-platform
backends. Mirrors the Go
onyx/clipboardpackage. - files
- Open files and URLs with the user’s default application, and reveal a path in the platform file manager.
- keyring
- Store, retrieve, and delete secrets in the system credential store
via per-platform backends. Mirrors the Go
onyx/keyringpackage. - machineid
- Stable, per-application identifier for the current machine, persisted in the system keyring so it survives application restarts.
- notify
- Show desktop notifications via per-platform backends. Mirrors the
Go
onyx/notifypackage. - osinfo
- Single source of truth for platform identity.
- paths
- Per-application platform paths (config, data, cache, logs).
- process
- Launches and relaunches the host application across platforms, hiding the per-OS command needed to open a fresh instance.
- shell
- Locate command-line executables. Each
lookuptarget is treated as aPATHname when it has no separators, or as a file path otherwise.