Skip to content

mojo-imkit v0.11.0

Choose a tag to compare

@amarbarosys amarbarosys released this 26 Nov 03:56
· 205 commits to main since this release

mojo-imkit-public v0.11.0

Released: 2026-11-16 · Commit: tag v0.11.0 · Previous: v0.10.0

What it does

An immediate-mode GUI for Mojo apps, drawn by one GPU compose kernel over the app frame. System SDL3 presents the window and FreeType builds the glyph atlas.

Highlights

  • Every imkit window now carries a Wayland app id, so KDE and GNOME show the app's own icon instead of a generic one.
  • IMKIT_SHOT=file.bmp saves one rendered frame and exits: screenshots for docs and sites without a desktop capture.

Changes

Added

  • IMKIT_BOUNDS=1: Ui.text reports a string that runs into the current panel border with no clip to stop it (stderr, once per string); the README gallery shots are re-rendered from this tree.
  • Window(..., app_id=): sets SDL_APP_ID; default IMKIT_APP_ID, else the title's first word lowercased.
  • IMKIT_SHOT=FILE (+ IMKIT_SHOT_FRAME, default 30): reads the frame back from the renderer, saves BMP, exits 0.

Verified

Check Result
scripts/local_gate.sh (anim, ui on GPU, window, audio) PASS
window_test with IMKIT_SHOT_FRAME=5 3.7 MB BMP written, exit 0

Known limits

  • The app id only helps when a matching <id>.desktop file is installed.
  • IMKIT_SHOT captures the renderer output at the window's logical size, not the desktop.

Upgrade / run

IMKIT_SHOT=shot.bmp IMKIT_SHOT_FRAME=30 ./your-app
magick shot.bmp shot.png

Commits

  • b95dcf3 feat(window): Wayland app id and IMKIT_SHOT frame capture
  • 4a9560a pixi: package section with the pixi-build-mojo backend; shelf.toml
  • 298766b ci: retry the apt install with a fresh index, then check the tools exist
  • a958e1e docs(release): v0.9.0 and v0.10.0 notes name their tags, not a pre-release commit
  • dc37222 ci: run the job in ubuntu:26.04; avif_seq parses avifdec with POSIX sed