StraightPath 是一个免安装、免注册、无需服务器的点对点大文件投递工具。发送方把文件切成块,在自己的浏览器里加密,经 WebRTC 直连送到接收方的浏览器:文件字节全程不经过任何服务器,任何一端的内存里也放不下整份文件。传一个文件夹和传一个文件是同一件事。
#k 就是密钥——发给对方就行,不用装应用、不用注册。传输是 WebRTC datachannel(开发与同源回环走 BroadcastChannel,同一套分帧与背压);完整性是 BLAKE3 Merkle 树,哈希引擎按 WebGPU → wasm → 纯 TypeScript 逐级降级,端到端加密用 AES-GCM,落盘用 OPFS 做断点续传与本地副本回收,另有一个可拆卸的 Reed-Solomon FEC 插件在丢块时本地修复。四个环节各自是插槽里的插件,装不上就降级,降不了的那几件(零整文件内存流式、背压、Merkle 校验、端到端加密)任何浏览器都可用。
想先弄清「多大算大文件、为什么必须开着页面、和网盘/邮件附件差在哪」,看《免服务器传大文件:浏览器点对点直传的边界与做法》。英文见 /guides/en/。
StraightPath is serverless peer-to-peer delivery for large files — no install, no account. The sender splits a file into blocks, encrypts them in its own browser and streams them over WebRTC straight into the recipient's browser: the bytes never touch a server, and no browser ever holds the whole file in memory. A folder is the same operation as a file.
#k at the end of the link is the key; just send the link.Transport is WebRTC datachannels (same-origin development traffic uses BroadcastChannel with the same framing and backpressure). Integrity is a BLAKE3 Merkle tree, with the hash engine degrading WebGPU → wasm → pure TypeScript. Blocks are sealed with AES-GCM, resumable state lives in OPFS, and an optional Reed-Solomon FEC plugin repairs lost blocks locally. Every one of those is a plugin behind a slot: what can degrade does, and what cannot (streaming with no whole-file buffer, backpressure, Merkle verification, end-to-end encryption) works in every browser.
For "how big is big, why must the page stay open, how is this different from a cloud drive or an email attachment", read Sending large files without a server. 中文版:/guides/zh/。