Skip to content

v0.5.0

Choose a tag to compare

@Denxrc Denxrc released this 21 Nov 16:01
· 20 commits to master since this release

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-v1 and ext-image-copy-capture-v1 (cursor excluded) with automatic pixel format normalization (ARGB8888, BGRA8888, y_invert, etc.) to RGBA8 and 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 flock and a Unix domain socket (0600) with SO_PEERCRED UID verification and strict payload timeouts/limits.
  • Atomic File Saving: Fullscreen captures (wayloop capture --mode full --action save) are written atomically (0600 temp file + fsync + rename) with filename collision handling.
  • Bilingual CLI (EN / RU): Automatic locale detection (LANG) with manual override via config.toml.
  • Safe Rust & Lean Binary: Built with #![forbid(unsafe_code)], strict Clippy lints (unwrap/expect/panic denied), 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).