Open Source · Direct WebRTC P2P · Self-Hostable

Direct device-to-device pairing, file transfer, and sync.

Move files and sync state directly between your laptop, VPS, phone, and browser — without uploading anything to a cloud bucket. Available as a CLI, TypeScript SDK, and MCP server.

npm install dropspace
Zero cloud file storage · Signed DTLS P2P · MIT licensed
dropspace cli — macbook → prod-vps
# 1. Link your machines to your personal space
$ dropspace login --name "macbook"

# 2. Keep a low-RAM 24/7 receiver online on your VPS
$ dropspace up --out ~/inbox

# 3. Drop a file directly P2P (no cloud upload)
$ dropspace send ./backup.tar.gz "prod-vps"
✓ Sent backup.tar.gz (142MB) · Direct P2P · SHA-256 ok
How It Works

Signaling once, encrypted P2P after

Dropspace Core only coordinates device identity and WebRTC handshakes. Your files, messages, and CRDT edits travel directly between peers.

Device A
Browser · CLI · MCP ECDSA P-256 / Ed25519 keypair
Direct WebRTC DataChannel (Files, Chat, Automerge)
Core Signaling & STUN/TURN (never stores files)
Device B
Peer / VPS Daemon Disk streaming + SHA-256 verify
1
Prove Identity

Each device signs a server nonce with its local private key — no shared passwords or browser secrets.

2
Pair Explicitly

Link devices via single-use QR invites or account login with scoped permissions and instant revoke.

3
Stream Directly

48 KiB chunks stream over WebRTC with backpressure, resume, and end-to-end SHA-256 verification.

Real-World Use Cases

What can you build with Dropspace?

Drop-in building blocks for local-first apps, companion tools, and direct machine-to-machine transfers.

File Sharing

Direct Device-to-Device File Transfer

Send files directly from laptop to phone or colleague over WebRTC DataChannels. Files stream in bounded-memory chunks into OPFS (origin-private storage) or File System Access API with SHA-256 verification and same-page pause/resume — without centralized file storage.

Collaboration

Offline-First Notes & Shared State

Keep editing in IndexedDB when Wi-Fi drops. As soon as two paired devices reconnect, Automerge CRDT character-level diffs converge automatically over a direct P2P DataChannel.

Device Pairing

Phone-to-Desktop Companion Pairing

Scan a single-use QR invite (with the bearer secret in the URL #fragment) to link a mobile browser to your desktop app. Approve via visual SHA-256 fingerprint comparison, grant scoped permissions, and revoke access anytime.

Security Architecture

Direct encrypted transport, honest threat model

Built on local cryptographic device keys and signed WebRTC handshakes so you don't have to blindly trust the signaling server.

Identity

Local keypairs

Every device generates an ECDSA P-256 or Ed25519 keypair. Browsers keep keys non-extractable in IndexedDB; CLI profiles lock credentials to 0600.

Transport

Signed DTLS pinning

Every WebRTC offer and answer signs its DTLS certificate fingerprint with the device key, blocking signaling-server MITM attacks. Files are checked with streaming SHA-256.

Isolation

Scoped permissions

Single-use TTL invites enforce granular scopes (messaging, files, crdt) with instant revocation, strict Origin checks, and HS256/EdDSA JWT tickets.

Transparent roadmap

Next up: OS Keychain storage for CLI keys, 2FA / new-device approval for Personal Spaces, and end-to-end encrypted hub relays. Want full control today? Self-host Core & TURN with DROPSPACE_MODE=self_host.

Get Started

Try in 30 seconds, or self-host the entire stack

Use the public playground with zero signup, embed the modular SDK in your app, or deploy Core on your own server.

1 · Playground

Try with two devices

Open the live browser demo on your laptop and phone, scan a QR code, and test direct P2P file transfer & CRDT sync right away.

2 · Registered App

Production multi-tenancy

Create an appId in the Developer Portal with strict Origin rules, usage metrics, and optional backend JWT tickets.

3 · Self-Host

Your own Core & TURN

Run the lightweight Gleam/OTP signaling server with SQLite and your own Coturn relay — zero external dependencies.

Modular exports dropspace dropspace/files dropspace/automerge dropspace/protocol dropspace/node Full SDK & Protocol Spec →