Skip to Content
Onevra

Starter applications

Complete applications to run, read and copy.

The Onevra module includes small applications that show how the pieces fit together. Each one keeps its own lifecycle, messages and packaging configuration, so it can be copied without importing another. Run them from source/ in a clone of the repository:

ApplicationWhat it showsCommand
GalleryEvery component, both shells and MyGo's own cataloggo run ./examples/gallery
DesktopA main window with settings, a language choice and a traygo run ./examples/desktop
Menu barA tray application with a quick-note panelgo run ./examples/menubar
LauncherA Spotlight-style panel that searches and opens installed appsgo run ./examples/launcher
DocumentsA document-based notes editorgo run ./examples/documents
Lawn defenseA pixel-art tower-defense gamego run ./examples/games/lawn

The Gallery is the reference for how every component looks and behaves in a real window. Append -theme light or -theme dark to preview one appearance:

go run ./examples/gallery -theme dark

Copying one

Copy a starter's directory into your own module, rename its module path, identifier and name in mygo.json, and replace its content. Keep the lifecycle it shows: windows created after WhenReady, settings as an application action, and background work kept out of builders.

Edit this page on GitHub

On this page