Magic Wormhole 是一个使用非常简单的开源跨平台文件传输工具,它可以安全的将文本、文件或者目录从一台计算机转移到另一台计算机,支持 Windows、macOS、Linux,命令行工具。
Magic Wormhole 自带了邮件服务器与中继服务器用来做这件事情:
公共服务器的 URL 作为默认使用,并且将免费提供,直到大量或滥用使其变得不可用。邮件服务器对小型密钥交换和控制消息执行存储转发传递。批量数据通过直接 TCP 连接或通过中转中继发送。
关于传输的文件,仅在收件人下载该文件时才通过中继服务器(如果需要中继),并且文件端到端加密的,并不会存储在服务器上。
通过 Magic Wormhole 协议创建的魔法虫洞生态系统,目前已经有不少应用了:
- Warp 7是一个用 Rust 编写的 GNOME GUI
- Winden 3是一个 Web 客户端和部署(通过 WASM 使用 Go 实现)
- Destiny 7是一款使用 Flutter(使用 Go 实现虫洞)的 Android(和 iOS)应用程序。也在专有应用商店上。
- Android 版虫洞 4。基于 Rust 实现。
- Mobile Wormhole 3 for Android(也在f-droid上 3。基于Python实现,使用Kivy)
- 适用于 Android 和 iOS 的 4Wormhole William Mobile 4
- Rymdport 6是一个基于 wormhole-william 的跨平台图形桌面应用程序。
- https://github.com/psanford/wormhole-william a Go (golang) implementation.
See also:
https://github.com/schollz/croc
浏览器客户端:https://getcroc.com/
Easily and securely send things from one computer to another 🐊 📦
croc is a tool that allows any two computers to simply and securely transfer files and folders. AFAIK, croc is the only CLI file-transfer tool that does all of the following:
- Allows any two computers to transfer data (using a relay)
- Provides end-to-end encryption (using PAKE)
- Enables easy cross-platform transfers (Windows, Linux, Mac, Browser)
- Allows multiple file transfers
- Allows resuming transfers that are interrupted
- No need for local server or port-forwarding
- IPv6-first with IPv4 fallback
- Can use a proxy, like Tor
For more information about croc, see my blog post or read a recent interview I did.
https://github.com/tom-james-watson/dat-cp
dcp | Dat Copy - remote file copy, powered by the Dat protocol
dcp copies files between hosts on a network using the peer-to-peer Dat network. dcp can be seen as an alternative to tools like scp, removing the need to configure SSH access between hosts. This lets you transfer files between two remote hosts, without you needing to worry about the specifics of how said hosts reach each other and regardless of whether hosts are behind NATs.
dcp requires zero configuration and is secure, fast, and peer-to-peer.
https://github.com/Contextualist/acp
acp: Make terminal personal file transfers as simple as `cp`
终端下使用的文件传输工具,支持打洞(或利用 Tailscale)