Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

I built a free AirDrop alternative in one HTML file with WebRTC and PeerJS

Description and use

A browser‑based file transfer tool that uses WebRTC and PeerJS for direct peer‑to‑peer transfer, all in a single HTML file.

Problem

Users need a simple way to transfer files between devices without email or cloud services.

Outcome

A lightweight, free, browser‑based file transfer tool that eliminates the need for email or cloud services.

Workflow

  • Open the HTML file on two devices
  • Scan the QR code or enter the 6‑character code
  • Drop files or text into the browser
  • Data is sent directly over WebRTC
  • Files are held in memory until the user saves them

Evidence

Open it on two devices, scan the QR code (or type the 6-character code), and drop files or text. Data goes directly between browsers over WebRTC.

Source

PeerJS's free public server is used only for pairing.

Source

Known limits: pairing depends on the free PeerJS server, received files are held in memory until saved, and anyone with the code can connect while the tab is open.

Source

  • Record date: 2026-10-26T14:26:09.820Z