How Amberflip catches a file drag on Windows, Wayland and macOS
rust
dev.to
I make Amberflip, a small file converter. You drag a file, tap Shift, and a wheel of formats opens under the pointer. Drop the file on "JPG" and the converted copy appears next to the original. Nothing is uploaded: it all runs on your own computer. The app is written in Rust with egui and runs on Windows, Linux and macOS. Converting the files turned out to be the easy part. The hard part was noticing that someone is dragging a file at all, while that drag belongs to another app: Explorer, Finde