DEV Community

Cover image for Real-Time P2P File Transfer Using GenosDB and Modern JavaScript
Esteban Fuster Pozzi
Esteban Fuster Pozzi

Posted on • Originally published at genosdb.com

Real-Time P2P File Transfer Using GenosDB and Modern JavaScript

Transfer files directly between browsers with no upload server — using GenosDB and WebRTC data channels for peer-to-peer file streaming.

Tech Stack

  • GenosDB for decentralized, real-time communication.
  • Modern JavaScript (ES modules, async/await).
  • Minimal HTML + CSS.

Key Features

  • Direct file transfer between peers via WebRTC data channels.
  • Automatic peer discovery on join.
  • Progress tracking for large files.
  • Fully serverless — runs 100% in the browser.

Use Cases

  • Decentralized file sharing platforms.
  • Peer-to-peer collaborative tools with file exchange.
  • Privacy-first file transfer apps (no cloud, no data retention).

Live Demo

Real-Time File Transfer — Join the room and start sharing files with other peers.

GenosDB makes building decentralized, live, browser-native file transfer tools not only possible — but elegant.


This article is part of the official documentation of GenosDB (GDB).
GenosDB is a distributed, modular, peer-to-peer graph database built with a Zero-Trust Security Model, created by Esteban Fuster Pozzi (estebanrfp).

📄 Whitepaper | overview of GenosDB design and architecture

🛠 Roadmap | planned features and future updates

💡 Examples | code snippets and usage demos

📖 Documentation | full reference guide

🔍 API Reference | detailed API methods

📚 Wiki | additional notes and guides

💬 GitHub Discussions | community questions and feedback

🗂 Repository | Minified production-ready files

📦 Install via npm | quick setup instructions

🌐 Website | GitHub | LinkedIn

Top comments (0)