Repository navigation
mojo-imkit v0.11.0
·
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.bmpsaves one rendered frame and exits: screenshots for docs and sites without a desktop capture.
Changes
Added
IMKIT_BOUNDS=1:Ui.textreports 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=): setsSDL_APP_ID; defaultIMKIT_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>.desktopfile is installed. IMKIT_SHOTcaptures 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
b95dcf3feat(window): Wayland app id and IMKIT_SHOT frame capture4a9560apixi: package section with the pixi-build-mojo backend; shelf.toml298766bci: retry the apt install with a fresh index, then check the tools exista958e1edocs(release): v0.9.0 and v0.10.0 notes name their tags, not a pre-release commitdc37222ci: run the job in ubuntu:26.04; avif_seq parses avifdec with POSIX sed