Repository navigation
Releases
Releases · enolalab/spacing
v0.2.1
Full Changelog: v0.2.0...v0.2.1
Full Changelog: v0.2.0...v0.2.1
Full Changelog: v0.2.0...v0.2.1
Full Changelog: v0.2.0...v0.2.1
v0.2.0
Full Changelog: v0.1.0...v0.2.0
Full Changelog: v0.1.0...v0.2.0
Full Changelog: v0.1.0...v0.2.0
Full Changelog: v0.1.0...v0.2.0
v0.1.0 — P1: Linux↔Linux LAN software KVM
spacing v0.1.0 — first public release
LAN software KVM in Rust: share one keyboard + mouse between machines on the same network. Input only — no remote desktop, video, or audio.
What works (P1)
- Linux↔Linux — evdev capture + uinput inject; works on X11, Wayland, and headless/TTY
- Hotkey switching —
Ctrl+Alt+1/2…→ paired client,Ctrl+Alt+0→ back local - Mutual TLS 1.3 with self-signed certs + SHA-256 fingerprint TOFU pairing (
peers.toml) - Fail-safe — client loss ungrabs the owner's devices; 500 ms watchdog releases held keys
- Verified end-to-end on two Ubuntu 24.04 VMs: pair → type → switch → kill-mid-remote recovery
Performance (two-VM measurement, full report)
- LAN + TLS, ~940 ev/s sustained: p50 0.69 ms, p99 1.45 ms, 0 drops/4000 events
- ~5 MB RSS, <1% CPU
Install
tar xzf spacing-v0.1.0-x86_64-linux.tar.gz
sudo install -m755 spacing /usr/local/bin/
sudo cp contrib/99-spacing.rules /etc/udev/rules.d/ # from the repo
sudo udevadm control --reload && sudo udevadm trigger
sudo usermod -aG input \$USERSee README for pairing + config quickstart.
Assets
spacing-v0.1.0-x86_64-linux.tar.gz— daemon/CLI, static-pie (any glibc/musl)spacing-e2e-v0.1.0-x86_64-linux.tar.gz—e2edev tool (virtual evdev emit/listen for verifying the pipeline without a real keyboard)checksums.txt— SHA-256 of the tarballs- Source archives are attached by GitHub automatically.
Known limitations
No hotplug (restart serve after plugging devices), no clipboard yet, IPv4/hostname addressing only, media keys dropped, remote→remote switch lightly tested. Wayland-portal / Windows / macOS backends planned — see roadmap in README.