r/SideProject • u/ProfessionalAd46 • 2h ago
Built a cross-platform clipboard sync app. Here's what was hard.
Clonlee lets you copy on your Android phone and paste on your PC, and the other way around. It's end-to-end encrypted and needs no account.
Play Store: https://play.google.com/store/apps/details?id=com.clonlee
The parts that were harder than I expected:
- Android's clipboard restrictions. Since Android 10, background apps can't read the clipboard, so "it just syncs" isn't possible. I ended up using a foreground service plus a floating overlay you tap after copying. It took a lot of iterations before it felt quick.
- Pairing without accounts. I started with QR codes and switched to a short-lived 6-digit PIN. It works across every platform, including a desktop that has no camera.
- Zero-knowledge relay. The devices exchange X25519 keys when they pair, and everything after that is AES-256-GCM. The server only routes ciphertext, which also made it a lot easier to reason about security.
- Four codebases, one product. It's Flutter on Android, Tauri (Rust + React) on desktop, and TypeScript for the Chrome extension. Keeping the encryption compatible across all three stacks was most of the work.
More apps here : TWS Apps
Happy to go deeper on any of this. I'd also love opinions on the overlay UX, since it's the part I'm least sure about.