open sourced my browser-based p2p file transfer platform, self hostable, apache 2.0
By Holidays in Europe / May 3, 2026 / No Comments / Uncategorized
Introducing Our Open-Source, Self-Hosted Browser-Based P2P File Transfer Platform
In today’s digital landscape, sharing files seamlessly and securely across devices is more important than ever. While several solutions exist, many require installing dedicated applications or are limited in terms of self-hosting capabilities. Recognizing this gap, we’ve developed and open-sourced a browser-based peer-to-peer (P2P) file transfer platform that empowers users to send files directly via their browsers — no additional software needed, and fully self-hostable under the Apache 2.0 license.
Why a Browser-Based P2P Solution?
Existing options like Localsend and Syncthing are robust, but they depend on app installation on every device involved, which can pose barriers for quick sharing or for recipients without installing new software. Magic-wormhole offers a command-line interface, which isn’t always user-friendly for casual sharing. Wormhole.app provides a web interface but isn’t designed for self-hosting, limiting customization and control.
Our approach leverages modern web technologies to run entirely within a browser tab, offering an intuitive, zero-install experience. The core principles guiding this development are:
- No Software Installation: Files are transferred via the browser, requiring nothing beyond a web browser.
- Peer-to-Peer Transfers: Files move directly between devices, ensuring privacy and efficiency.
- Encryption & Privacy: All data is encrypted end-to-end, with no data persisted server-side, preserving user privacy.
- Unlimited File Size: The system imposes no inherent file size limits.
Technical Architecture
The platform employs a stack of proven and scalable technologies:
- FastAPI: Serves the backend API, handling signaling and orchestration.
- Next.js: Builds the responsive web interface, facilitating a smooth user experience.
- PostgreSQL & Redis: Manage data storage and messaging queues for efficient signaling.
- MinIO or R2: Object storage options for handling larger files or extensions.
- Coturn: Provides NAT traversal support via TURN servers to facilitate peer connectivity behind firewalls.
- Docker Compose: Simplifies local development and testing.
- Terraform & Hetzner Scripts: Automate deployment processes for production environments.
Deployment & Licensing
The entire platform is designed to be easily deployable, whether locally or in production, with infrastructure automation scripts compatible with popular cloud providers. The project is licensed under the Apache 2.0 license, encouraging community adoption, modifications, and improvements.
Conclusion
This browser-based P2P file transfer platform fills a critical need for secure, private, and self-hosted file sharing without the hassle of app installations or size limitations. By open-sourcing this project, we hope to foster innovation and empower users and organizations to maintain full control over their data transfer workflows.
If you’re interested in exploring or contributing, the codebase and deployment instructions are available on our repository. We believe this technology can make file sharing safer, more accessible, and more private for everyone.
Keywords: peer-to-peer file transfer, self-hosted, browser-based, open-source, secure file sharing, WebRTC, fastapi, nextjs, private data transfer, NAT traversal, Docker, Terraform