Veil Drop

A fast, secure, peer-to-peer file transfer application built with WebRTC. It lets users share files directly between devices without storing anything on a server.

Technologies
WebRTCSocket.ioReactNode.jsCryptography
Links
Veil Drop

Veil Drop is a peer-to-peer file sharing web app that I built to solve the problem of slow, server-dependent file transfers. Instead of uploading a file to a cloud provider and having the recipient download it, Veil Drop connects both users directly using WebRTC. I focused heavily on optimizing the JavaScript transfer loop—using the File System Access API to stream large files directly to disk, and implementing strict backpressure handling to ensure the browser doesn't crash when transferring files at gigabit network speeds. It also includes AES-GCM end-to-end encryption to keep the streams private.

Key Features

High-performance WebRTC data channels optimized to saturate local network speeds by chunking files efficiently.
Memory-safe transfer logic using event-driven backpressure to pause uploads when network buffers fill up.
End-to-End Encryption using AES-GCM where the decryption keys are shared securely via URL fragments.
Direct-to-disk streaming using the modern File System Access API to bypass RAM limits on large transfers.

" "

-