Skip to content

wensheng/kitlib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kitlib

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/jwm startup helpers;
  • X11 input injection through xdotool;
  • FFmpeg x11grab capture 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.

Native Dependencies

Builds link against FFmpeg libraries:

  • libavformat
  • libavcodec
  • libavutil
  • libavdevice
  • libswscale
  • libswresample

Runtime tools may also require:

  • Xvfb
  • jwm
  • xdotool

Example

use kitlib::session;

let state = session::lookup_live("demo")
    .expect("session should exist");
println!("DISPLAY=:{}", state.display);

About

Shared library for kit* series tools

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages