Hey Tauri community!
I've been building something I'm really excited to share: DecentPaste — a cross-platform clipboard sharing app (think Apple's Universal Clipboard, but for all platforms).
The Stack
Built with Tauri v2 + Rust backend + TypeScript/Tailwind v4 frontend:
libp2p → Decentralized P2P networking (mDNS + gossipsub)
X25519 ECDH → Secure key exchange (no secrets transmitted)
AES-256-GCM → End-to-end encryption for all clipboard data
IOTA Stronghold → PIN-protected vault (Argon2id key derivation)
Platforms
Windows, macOS, Linux → ✅ Released
Android → 🧪 Closed Testing
iOS → 🚧 On the way!
How it Works
- Auto-discovery via mDNS (like AirDrop/Chromecast)
- One-time pairing with 4-6-digit PIN verification
- Copy anywhere → encrypted broadcast via gossipsub
- Paste everywhere → paired devices decrypt with their unique shared secret
No cloud servers. No accounts. No subscriptions. Just pure P2P over your local network.
Technical Highlights
- Per-peer encryption — Each device pair has a unique 256-bit shared secret derived via ECDH
- Flush-on-write — Data persists immediately after every mutation (no data loss on crashes)
- Auto-updates — Cryptographically signed releases via GitHub
- ~15MB binary — Thanks to Tauri's efficiency
Want to Test Android?
Android is in closed testing! If you'd like to be a tester, PM me your email and I'll add you to the program.
Otherwise directly download the **.apk **from the github releases page.
Links
Website: https://decentpaste.com
GitHub: https://github.com/decentpaste/decentpaste
Releases: https://github.com/decentpaste/decentpaste/releases
Would love to hear your feedback! This is my first serious Tauri v2 project and libp2p has been a journey.