Repository navigation
v0.5.0
Wayloop v0.5.0 is the initial architectural release of a Wayland-native screenshot, clipboard, and visual search utility written in Rust.
This release establishes the core daemon, IPC layer, and native Wayland screen capture. Interactive region selection, clipboard integration, and visual search are planned for upcoming stages.
✨ Highlights & Features
- Native Wayland Capture: Direct screen capture via
zwlr-screencopy-v1andext-image-copy-capture-v1(cursor excluded) with automatic pixel format normalization (ARGB8888,BGRA8888,y_invert, etc.) toRGBA8and fast in-memory PNG encoding. - Lightweight Headless Daemon: Runs in the background using ~2–4 MB RAM and 0 MB VRAM (no GPU context initialized until needed).
- Secure IPC & Single Instance: Uses non-blocking
flockand a Unix domain socket (0600) withSO_PEERCREDUID verification and strict payload timeouts/limits. - Atomic File Saving: Fullscreen captures (
wayloop capture --mode full --action save) are written atomically (0600temp file +fsync+rename) with filename collision handling. - Bilingual CLI (EN / RU): Automatic locale detection (
LANG) with manual override viaconfig.toml. - Safe Rust & Lean Binary: Built with
#![forbid(unsafe_code)], strict Clippy lints (unwrap/expect/panicdenied), LTO, and stripping (~2.2 MB standalone binary).
🗺️ Roadmap
- Stage 2: Persistent Wayland clipboard (
wl-clipboard-rs), IPC crop streaming, and D-Bus notifications. - Stage 3: Full-screen CPU overlay (
smithay-client-toolkit+tiny-skia) with freeform lasso selection. - Stage 4: Visual search integration (Google Lens).
- Stage 5: Floating result window, Vision LLM streaming, and offline OCR (
ocrs).