Case Study
Web

BlinkDrop: temporary peer-to-peer file sharing over WebRTC

BlinkDrop is a high-performance, browser-based peer-to-peer (P2P) file sharing web application that transfers files directly between devices over WebRTC DataChannels without storing data on servers. The web client is built with Next.js and React, styled with Tailwind CSS, and features an interactive dark-themed UI with ambient particle effects, responsive drag-and-drop dropzones, real-time transfer telemetry, and native Web Share integration. Binary data is streamed directly across peer browsers in 64 KiB sequenced SCTP frames using a dual-tier storage engine (Origin Private File System [OPFS] disk streaming with an in-memory blob fallback) that allows multi-gigabyte transfers without browser memory exhaustion. A lightweight Node.js WebSocket signaling server coordinates room creation and ICE/SDP negotiation without ever inspecting or touching file contents.

Next.js
React
Tailwind CSS
WebRTC (DataChannel)
Node.js
WebSocket (ws)
Origin Private File System (OPFS)
STUN/TURN
BlinkDrop: temporary peer-to-peer file sharing over WebRTC screen 1
BlinkDrop: temporary peer-to-peer file sharing over WebRTC screen 2
BlinkDrop: temporary peer-to-peer file sharing over WebRTC screen 3
BlinkDrop: temporary peer-to-peer file sharing over WebRTC screen 9
BlinkDrop: temporary peer-to-peer file sharing over WebRTC screen 10

Challenges & solutions

The technical problems our team solved to ship a reliable, unified web experience.

Browser memory exhaustion on large multi-GB transfers

Implemented a dual-tier storage sink that streams 64 KiB chunks into the Origin Private File System (OPFS) in batched 2 MiB disk writes, falling back to an in-memory coalescing blob sink on unsupported browsers.

DataChannel congestion and SCTP buffer overflow

Engineered cooperative backpressure pairing the DataChannel's bufferedamountlow threshold (4 MiB high / 1 MiB low) with application-level acknowledgment windows (16 MiB max unacknowledged bytes).

Mobile screen timeout and background tab throttling

Integrated the Screen Wake Lock API (navigator.wakeLock) to keep displays active during active transfer phases, combined with visibility change listeners and beforeunload warnings.

ICE candidate race conditions during signaling

Built an internal queue in PeerLink to buffer early remote ICE candidates until setRemoteDescription completes, alongside support for coturn time-limited HMAC authentication secrets.

Signaling gateway abuse and connection dropouts

Implemented token-bucket rate limiting (burst 60 / 20 msg/s for candidate bursts), per-IP connection limits, origin verification, and 30-second ping-pong heartbeats to cleanly terminate disconnected peers.

Key features

What users get in the finished, shipped product.

100% Direct P2P File Transfer

  • Overview:Peer-to-peer file transfer system that streams files directly between browsers over encrypted WebRTC DataChannels without relying on cloud storage.
  • Features:Zero cloud storage, zero file size quotas, and no sign-up requirements.

Dual-Tier Direct-to-Disk Streaming (OPFS)

  • Overview:Memory-efficient file receiving system that streams incoming data directly to disk using the Origin Private File System (OPFS).
  • Features:Direct chunk-to-disk streaming, batched writes, and support for multi-gigabyte files without crashing browser memory.

Dual-Level Flow Control & Backpressure

  • Overview:Adaptive transfer management system that synchronizes sending speed with the receiver's network and disk performance.
  • Features:Monitors internal DataChannel buffer thresholds and processes 1 MiB chunk acknowledgments (ack) to dynamically adjust sending speeds.

Sequenced Binary Chunk Framing

  • Overview:Reliable binary data transmission system that ensures accurate file reconstruction across peer-to-peer transfers.
  • Features:Packages data into 64 KiB binary frames with 4-byte big-endian sequence headers and monotonic validation for bit-perfect file reconstruction.

Mobile Resiliency & Screen Wake Lock

  • Overview:Mobile transfer reliability system designed to prevent interruptions caused by screen inactivity and background suspension.
  • Features:Uses the Screen Wake Lock API and navigation warnings to keep mobile screens active and prevent OS background suspension during transfers.

Ephemeral WebSocket Signaling

  • Overview:Lightweight signaling infrastructure that coordinates peer discovery and WebRTC connection establishment.
  • Features:Manages room lifecycles, SDP handshakes, and ICE candidate exchanges through a Node.js service that automatically purges inactive sessions.

Tech integrations

Third-party SDKs & libraries

3 core integrations powered

ws

Core system integration

tsup

Core system integration

concurrently

Core system integration

More Case Studies
Related Work

Similar Projects We've Built

FleetPulse - Enterprise Logistics & Intelligent Fleet Operations Management Platform

FleetPulse - Enterprise Logistics & Intelligent Fleet Operations Management Platform

FleetPulse is a high-performance logistics and fleet management platform built with Next.js, React, and Tailwind CSS. It offers real-time GPS tracking, smart trip dispatching, shipment booking, fleet maintenance, and customer self-service, all powered by centralized Role-Based Access Control (RBAC).

Next.jsTailwind CSS+3
View Case Study
MegaMart - Multi-Vendor E-Commerce Platform

MegaMart - Multi-Vendor E-Commerce Platform

MegaMart is a scalable, multi-vendor e-commerce platform built with Next.js 16 and React 19, featuring dedicated portals for Customers, Sellers, and Master Admins. It streamlines shopping, merchant operations, inventory, order management, and platform governance through secure JWT authentication, role-based access control, and interactive analytics.

Next.jsTailwind CSS+1
View Case Study
SocialSphere – Community & Social Networking Platform

SocialSphere – Community & Social Networking Platform

SocialSphere is a modern social networking platform built with Next.js and React, enabling multimedia posts, 24-hour interactive stories, real-time chats, and interest-based communities. It also features a dedicated Admin & Moderation Portal for platform analytics, user management, and content moderation.

Next.jsTailwind CSS+3
View Case Study
Lead CRM Admin – Multi-Tenant SaaS Administration & Back-Office Portal

Lead CRM Admin – Multi-Tenant SaaS Administration & Back-Office Portal

Lead CRM Admin is an enterprise-grade administration and back-office portal designed for the Lead CRM SaaS ecosystem. It allows Super Admins and Platform Operators to onboard and manage multi-tenant organizations, administer customer and internal staff accounts, configure granular Role-Based Access Control (RBAC), and manage the full billing lifecycle including plans, invoices, and payment receipts. The platform also provides native integrations with third-party lead sources (IndiaMART, Justdial, Meta), client-side PDF document generation.

FlutterGetX+2
View Case Study

Have a similar idea? Let's build it together.

From concept to launch, we turn your vision into a world-class product.