I built a free AirDrop alternative in one HTML file with WebRTC and PeerJS
Описание и применение
Простой браузерный инструмент для передачи файлов между устройствами без электронной почты, использующий WebRTC и PeerJS.
Задача
Users need a simple way to transfer files between devices without email or cloud services.
Результат
A lightweight, free, browser‑based file transfer tool that eliminates the need for email or cloud services.
Рабочий процесс
- 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
Доказательства
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.
PeerJS's free public server is used only for pairing.
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.
- Дата записи: 2026-10-26T14:26:09.820Z