Repository navigation
Releases
v1.0.1
Wayloop v1.0.1 — Bilingual Architecture, Terminal-Clean Docs & x86_64/ARM64 Release Automation
A documentation and infrastructure release aligning project docs with the actual v1.0.x codebase and introducing GitHub Actions CI and prebuilt Linux release pipelines for x86_64 and ARM64 (aarch64). No runtime code changes compared to v1.0.0.
Highlights
- Bilingual Architecture Docs: Published
ARCHITECTURE.mdandARCHITECTURE.ru.mdin Git, synchronized strictly with current crate boundaries, symbol names, IPC timeouts, Cargo features (notify), and security invariants. - Prebuilt Binary Installation: Added step-by-step release archive installation with
SHA256SUMS.txtverification inREADME.mdandREADME.ru.mdforlinux-x86_64andlinux-aarch64. - CI & Release Workflows: Added
.github/workflows/ci.ymland.github/workflows/release.ymltargeting bothx86_64and nativeaarch64(ubuntu-24.04-arm), plus.github/ISSUE_TEMPLATE/bug_report.md.
Improvements
- Terminal-Clean Documentation: Redesigned
README.mdandREADME.ru.mdwith an upfront Quick Start, compact capability matrix, collapsible<details>sections for compositor keybindings (Hyprland,Niri,Sway),systemd --userservice, and fullconfig.tomlreference, and a Roadmap focused on Stages 3–5. - Repository Hygiene: Removed obsolete specification drafts and temporary agent plans from the working tree.
Artifacts
- Prebuilt Linux archives for
x86_64(wayloop-v1.0.1-linux-x86_64.tar.gz) andARM64(wayloop-v1.0.1-linux-aarch64.tar.gz) - Checksums:
SHA256SUMS.txt
Verification
cargo fmt --all --checkcargo clippy --workspace --all-targets -- -D warningscargo test --workspace --locked(59 passed, 0 failed)cargo check --workspace --no-default-features --locked
v1.0.0
Wayloop v1.0.0 (Stage 2)
Stage 2 introduces persistent Wayland clipboard ownership inside the headless daemon, protected two-part binary IPC, isolated task dispatch, bilingual D-Bus notifications, and overlay toggle lifecycle management — maintaining 0 MB VRAM and ~5–6 MB RSS in the background.
✨ What's New
- Persistent Wayland Clipboard (
wayloop-clipboard)- Added the
crates/wayloop-clipboardcrate built on pure-Rustwl-clipboard-rs(ext-data-control-v1+zwlr-data-control-v1), supportingimage/pngand UTF-8text/plain. - Runs clipboard ownership on dedicated OS threads (
Options::foreground(true)+ServeRequests::Unlimited) sowayloop stop/SIGTERMshuts down immediately without stalling on Tokiospawn_blocking. - Serialized concurrent copy operations and added generation-safe
active_genstracking so rapid back-to-back captures or failed retries never corrupthas_clipboard_datastatus.
- Added the
- Protected Binary
SubmitCropIPC- Implemented two-part binary PNG transfer (
SubmitCropJSON header + raw PNG bytes) insrc/client.rsandsrc/daemon.rs. - Enforces non-zero dimensions,
0 < byte_len <= max_ipc_payload_mbbefore buffer allocation, socket I/O timeouts, and 8-byte PNG signature validation (is_valid_png_header).
- Implemented two-part binary PNG transfer (
- Task Isolation & End-to-End Full-Screen Copy
- Dispatches crop actions (
Copy, atomic0600Save) in isolatedtokio::spawnworkers (spawn_blockingfor Wayland roundtrips and disk writes) so individual failures cannot crash the daemon. - Added
wayloop capture --mode full --action copyto capture and push screenshots directly to the persistent Wayland clipboard via the daemon (preserving standalonewayloop capture --mode full --action save).
- Dispatches crop actions (
- Localized D-Bus Notifications (
notifyfeature)- Implemented bilingual (
EN/RU) desktop notifications via pure-Rustzbus(org.freedesktop.Notifications.Notify) with a 3-second timeout and[notifications]config gating (on_save,on_copy,on_error).
- Implemented bilingual (
- Overlay Toggle & Watchdog Foundation (
OverlayManager)- Added
src/overlay_mgr.rstracking active overlay child processes with gracefulSIGTERM→overlay_kill_grace_ms→SIGKILLescalation and clean reaping.
- Added
- Complete Bilingual Localization (
i18n.rs)- Added full English and Russian translations for all Stage 2 notifications, IPC errors, daemon logs, and CLI error messages.
🛡️ Verification
#![forbid(unsafe_code)]across the entire workspace;cargo clippy --workspace --all-targets -- -D warningsclean (both default features and--no-default-features).- 59 tests passing across
wayloop,wayloop-core,wayloop-capture, andwayloop-clipboard. - Verified live on Niri (Wayland):
wayloop capture --mode full --action copy->image/pngconfirmed viawl-paste-> instant gracefulwayloop stop.
Full Changelog: v0.5.0...v1.0.0
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).