
JFNetworker
A network simulator and lab: build networks, set up every device in its console and follow every packet. With an academy and a lab for distributed systems.
Product pageWidgets, text, graphics, sound, networking and packaging in one no_std library with its own renderer. The same code runs on Windows, Linux, macOS, Android, iOS and in the browser.
cargo install cargo-jflib cargo jflib new hello cd hello cargo run

Starts inside this page. Nothing to install.
An app describes its interface in one function and keeps its state in a plain Rust struct. JFLib handles layout, input, focus and rendering. Every block below is a real crate in the repository, with a safe API for your app.
App::frameunsafe stays inside the runtime, platform, SIMD, GPU and module layers.
--style winui,macos,kde,classic,jfoffice,backupcraft
Widgets are drawn by the selected style, so one interface can look like Windows, macOS, KDE or Office without touching your logic. Light and dark, accent colours and scaling change while the app runs. A small INI file lays your own colours, corners and spacing over any style.
ClassicWinUI

--target win | linux | mac | android | ios | web
Native windows, the browser host and the Android and iPhone hosts share the same Rust widgets and the same renderer.
--target web
Your app compiles to WebAssembly and keeps its widgets, its renderer and its screen reader support. The host picks a scalar, SIMD or threaded build based on what the browser can do.
core + alloc
No GUI framework underneath. Everything from one hand.
The renderer, the widgets, the image codecs, the network and the platform layer all live in this library, on top of Rust's core and alloc. You don't put a window crate, an event loop and a UI crate together, as egui apps do with eframe: one dependency, jflib, is the whole stack. Write your app no_std as well. When it needs a crate that uses std, one feature turns std on, and any crate links. Just don't add a second window loop or run an async runtime on the UI thread: JFLib already has both.
cargo jflib watch
Hot reload rebuilds the app and brings it back where it was, with your change in it. Your session's input replays through the new code, so the widgets stay compiled Rust and your app needs no special state structure.
apps/hello/src/main.rs - if ui.accent_button(100, "Click me") & EV_ACT != 0 { + if ui.accent_button(100, "Add one") & EV_ACT != 0 {
--inspect · Ctrl+Shift+I · F12
The overlay names the widget under the pointer with its id, label, size and state. A tool window adds the widget tree, properties, a script selector and frame statistics. Turned off, it costs nothing.

--script tests/smoke.uis
A .uis script clicks, types, switches themes, checks the result and saves a screenshot, against the real app on Windows and Linux.
# a smoke test click "Click me" click "Click me" expect text:"Clicks: 2" exists click "Reset" expect text:"Clicks: 0" exists shot build/template.png

--contrast high · --text-scale 150
High contrastNormal
lib/gpu · lib/wgsl
For programs that need more than an interface: compute shaders, rendering with a depth test, indirect draws, timestamps and window swapchains, behind an explicit API in the style of Vulkan and WebGPU.
VulkanAvailableVulkanAvailableVulkanAvailableWebGPUAvailableMetalAvailable
wgslChecks it and compiles it to SPIR-V for Vulkan and MSL for Metal; the browser takes WGSL as it isgpuDevices, queues, pipelines and command buffers, with the back end picked at build time--agent-mcp
JFLib is written for agents first, so the whole code base is optimized for hardware efficiency. An agent can build an app, run it and check the result by itself.
PNG screenshots without a visible window, and dumps of the widget tree.
--shot target/app.png --size 1000x800
Scripts, or JSON-RPC and MCP over standard input and output.
--script tests/smoke.uis --agent-json --agent-mcp
Every new app starts with a test that already passes.
expect text:"Clicks: 2" exists cargo jflib test
No language model runs inside your app. The agent endpoint stays closed until the app is started with --agent, --agent-json or --agent-mcp.
Buttons Check boxes Switches Text fields Sliders Lists Tabs Menus Dialogs Scroll areas Toolbars Office ribbons Grid box Docking panels Tool windows Popups Tooltips Virtual grids Trees Navigation panes Command bars Splitters Wizards Charts Toasts Date and time inputs Diagram canvas Terminal Rich-text editor Code editor Image viewer Font dialog











OpenType shaping, bidirectional text, font fallback, hyphenation, subpixel smoothing and input methods on Windows, Wayland and X11.
Plural rules, regional formats, sorting and mirrored layouts.
DeutschEnglishFrançaisEspañolItalianoNederlandsPolskiالعربيةעברית
Built-in codecs including PNG, JPEG, WebP, TIFF, AVIF and JPEG XL, an image viewer with zoom and pan, and SVG icons.
Output streams with a target latency over WASAPI, PipeWire, WebAudio and AAudio, mixed WAV and Ogg Vorbis sounds and the system's own sounds.
Notifications, a tray icon, taskbar progress, jump lists, file types, global shortcuts, a screen colour picker and drag and drop with other programs.
One file namespace with app://, config:// and mem://, assets inside the program, a PERMISSIONS manifest enforced at run time and the system's secret store.
Signed updates with rollback, code signing, and packages from a Windows setup and .deb to AppImage, Flatpak, MSIX and RPM.
HTTP, WebSocket, TLS 1.3 with certificates from Let's Encrypt, SMTP, an SSH client and DNS, modern cryptography, LZ4 and zstd, a journal database and encrypted repositories.
Logging, lifecycle hooks, typed settings with a generated settings page, saved window state and async tasks in the event loop.
Write, read and change PDF files, forms included. Excel workbooks and CSV in and out, DXF drawings and Visio files.
Large drawings with snapping and exact coordinates, also without a GPU, and a 3D engine with glTF models between the widgets.
A game core with a fixed tick, gamepads, physics, modelling and multiplayer. New in 0.2.2.
JFNetworker, JFPainter and JFBackup have their own sites on jfreund.org.

A network simulator and lab: build networks, set up every device in its console and follow every packet. With an academy and a lab for distributed systems.
Product page
An image editor with layers, brushes, effects, many image formats and plugins. On the desktop, in the browser and, as an experiment, on Android.
Product page
A backup suite with its own server and agents: deduplicated, encrypted and signed backups, schedules, replication and restore.
Product page
A word processor with a ribbon, page view, text styles, tables, references and DOCX support.
Product page coming soon
A drawing app with brushes, shapes, text, selections and layers.
Product page coming soon
A graphical build app for applications, styles, profiles, tests and release packages.
Product page coming sooncargo jflib new hello
// src/lib.rs
#![no_std]
#![deny(unsafe_code)]
extern crate alloc;
use jflib::{style, ui};
use ui::*;
const DESC: AppDesc = AppDesc {
title: "Hello JFLIB",
flags: AF_RESIZABLE,
w: 480,
h: 300,
min_w: 320,
min_h: 240,
..AppDesc::NONE
};
#[derive(Default)]
struct Counter {
clicks: u32,
}
impl App for Counter {
fn frame(&mut self, ui: &mut Ui) {
ui.box_begin(0, BOX_V | pad(24), 12);
ui.text(TS_TITLE, "Hello JFLIB!");
ui.text(TS_BODY, &alloc::format!("Clicks: {}", self.clicks));
if ui.accent_button(100, "Click me") & EV_ACT != 0 {
self.clicks += 1;
}
if ui.button(101, "Reset") & EV_ACT != 0 {
self.clicks = 0;
}
ui.box_end();
}
}
ui::main!(ui::launch(&DESC, Counter::default(), &style::STYLE));

cargo install cargo-jflib cargo jflib new hello cd hello cargo run cargo jflib test
You need Rust through rustup. The new app is a normal Cargo project with one dependency, jflib, and comes with its permissions, package data and a smoke test.