HomeExperienceBlog

Navigate

HomeExperienceProjectsResumeWritingGallery100-ListMovies

Contact

Sitemap RSS AI Summary Humans
336 visitors
•© 2026 Shivam Gaur
Back to projects

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
GitHubLive Project
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. By using the File System Access API, the app streams large files directly to disk, bypassing memory limits.

I also implemented strict backpressure handling to ensure the browser doesn't crash when transferring files at gigabit network speeds.

Finally, it 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.