Filegogo是一款开源的点对点加密文件传输工具。基于WebRTC编写,遵守MIT开源协议。
运行:
# server 服务器端
make run
# frontend 前台
npm run dev
配置文件:
{
"wsUrl": "ws://localhost:8033/topic/",
"iceServers": [
{
"urls": "stun:stun.services.mozilla.com",
"username": "louis@mozilla.com",
"credential": "webrtcdemo"
}, {
"urls": ["stun:stun.example.com", "stun:stun-1.example.com"]
}
]
}
https://github.com/a-wing/filegogo
---------------------------------------------------------------------------------------
A file transfer tool that can be used in the browser webrtc p2p.
Filegogo
A file transfer tool that can be used in the browser webrtc p2p
Build && Install
make
Run Development
Webapp
npm install
# frontend
# Default Listen port: 3000
# Auto Proxy port: 8080
npm run dev
Server
# Default Listen port: 8080
go run ./main.go server
Client
run cli client. For example:
# send command
go run ./main.go send -s http://localhost:8080/6666 <file>
# recv command
go run ./main.go recv -s http://localhost:8080/6666 <file>
from
https://github.com/a-wing/filegogo