UI tests are the guardrails an AI needs: the story of clipboardwire
The author faced challenges with clipboard synchronization between a Linux and a Windows machine. After exploring various solutions, they decided to create a new application using Rust to address the limitations of existing tools. The development process involved working with an AI assistant to build a lightweight, efficient solution tailored for Wayland compatibility.
- ▪The author struggled with clipboard syncing between their Ubuntu laptop and Windows PC.
- ▪Existing solutions were inconsistent and often required manual intervention.
- ▪The author chose to develop a new application in Rust to create a more efficient clipboard sync tool.
Opening excerpt (first ~120 words) tap to expand
Since December I had been patiently putting up with one of those everyday frustrations that, before you notice, turn into a project. I work with two machines at once: my Ubuntu laptop running Wayland, and a Windows PC that I drive from the Linux box using Deskflow — the free continuation of the old Synergy. For keyboard and mouse it works great: one input drives both screens. But the clipboard does not sync. And it turns out Deskflow, which does sync clipboards on X11, isn’t compatible with Wayland yet. I tried the obvious alternatives: KDE Connect and a few other contraptions of that kind. But they were as likely to work as to stop working. One day the sync was fine, the next it wasn’t, the day after you had to restart something or re-pair the devices.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at David Marín Carreño (DaveFX).