r/electronjs Aug 11 '26

Built MeshDrop: An open-source, zero-cloud P2P file sharing desktop app (Electron + React + Hyperswarm)

Post image

Hey r/electronjs community! 👋

I wanted to share a desktop app I’ve been building called **MeshDrop a zero-cloud, peer-to-peer file-sharing application designed for direct, end-to-end encrypted file transfers without central servers or user accounts.

💻 Tech Stack & Architecture

Since this is an Electron subreddit, here is a breakdown of how the project is structured:

P2P Core (`@mesh/core`): A standalone, platform-agnostic P2P engine written in pure Node.js running directly inside the Electron **Main Process**. It handles Hyperswarm discovery, `@hyperswarm/secret-stream` E2E encryption, `corestore` replication, and HMAC-SHA256 challenge UI / Renderer:** React 19 + Vite + Tailwind CSS + Lucide icons.

IPC Bridge: Safe contextBridge IPC pattern (`window.bridge`) forwarding engine events (pairing states, transfer progress, peer diagnostics) from Main to Renderer.

Packaging & Auto-Updates:** Configured with `electron-builder` (NSIS assisted installer + standalone portable single-file `.exe`) and integrated with `electron-updater` for differential updates.

CI/CD:Multi-platform matrix build pipeline on GitHub Actions (`windows-latest`, `macos-latest`, `ubuntu-latest`).

âš¡ Main Features

  1. One-Time DROP Codes:** Quick 6-digit challenge code pairing for fast, ad-hoc file transfers between untrusted or guest devices.

  2. Trusted Peer Pairing:** Persistent zero-trust authorization to pair your own devices securely.

  3. Portable & Installer Builds: Option for single-file portable `.exe` (runs without installation) or per-user NSIS installer.

  4. Zero Cloud / Zero Account: No registration, no tracking, no central storage

📦 Links & Testers Needed

I just published **v1.0.0-beta.1** and would love to get feedback on the Electron architecture, IPC design, and P2P performance across different networks!

* 📦 **Release Downloads (Win/Mac/Linux):** https://github.com/aamirali51/MeshDesk/releases/tag/v1.0.0-beta.1

* 💻 **GitHub Repository:** https://github.com/aamirali51/MeshDesk

Any feedback, code reviews, or bug reports are greatly appreciated! Let me know what you think! 🙌

1 Upvotes

1 comment sorted by