VoluSys Get started
Planned · 4.0 “Fjord”

SDK

Third-party apps need protected processes first (2.0 “Reef”). This page describes the planned SDK so developers know what to expect. Nothing here is available yet.

What’s planned

A first look

The API shape will follow the toolkit the built-in apps already use. This is an illustrative sketch; names may change:

// hello.c: a VoluSys app (illustrative)
#include <volu/app.h>

int main(void) {
    window_t *w = volu_window_create("Hello", 480, 300, VOLU_GLASS_WINDOW);
    ui_t ui; ui_init(&ui, w);
    while (ui_wait(&ui, -1)) {
        ui_begin(&ui);
        ui_title(&ui, "Hello, VoluSys");
        if (ui_button(&ui, "Quit")) break;
        ui_end(&ui);
    }
    return 0;
}

Widgets

The SDK includes a widget API for glass widgets on the desktop and in the menu bar. The docs will teach it through worked examples, each covering one part of the API:

ExampleShows
ForecastScheduled updates and background refresh; small, medium and large sizes
Hourglass (built in)Interactive buttons that change app state without opening the app
SteadyInteractive toggles and data shared between widget and app
Frame (built in)Image widgets and per-instance configuration
PulseNetwork-driven widgets, notifications on change, a compact menu-bar mode
World Clock (built in)Smooth per-second animation and many instances of one widget
Gauge (built in)Live system data in desktop and menu-bar widgets
Notebook stickies (built in)Desktop-pinned content that stays in sync with its app

Forecast, Steady and Pulse (store apps) plus the built-in World Clock, Frame, Hourglass, Gauge and Notebook stickies are the worked examples. The store apps are in Harbor’s launch lineup; the built-in features ship with VoluSys 4.0 “Fjord” (see Coming to VoluSys).

Distribution: Harbor and Tide Extensions

Apps will ship as signed .app bundles from store.volu.systems, and Tide extensions as signed packages from extensions.volu.systems. Both run on the same catalog service. In short:

The full design is in website/STORES.md in the repository.