kitlib is the shared runtime library for the Kit desktop tools. It provides
the common building blocks used by kitwin sidecars:
- named session state files and live-session lookup;
- detached
Xvfb/jwmstartup helpers; - X11 input injection through
xdotool; - FFmpeg
x11grabcapture as RGBA frames.
The crate does not provide terminal rendering, native GUI windows, web serving,
or audio playback. Those belong in application crates such as kitwin,
kstarter, kommander, kviewer, kutter, and kstreamer.
Builds link against FFmpeg libraries:
libavformatlibavcodeclibavutillibavdevicelibswscalelibswresample
Runtime tools may also require:
Xvfbjwmxdotool
use kitlib::session;
let state = session::lookup_live("demo")
.expect("session should exist");
println!("DISPLAY=:{}", state.display);