A file transfer tool that can be used in the browser/webrtc/p2p.
send.22333.fun | send.cn.22333.fun
Build && Install:
npm install
make
sudo make install
sudo systemctl start filegogo
Run Development
cp conf/config.json .
npm install
# server
make run
# frontend
npm run dev
Config
{
"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"]
}
]
}
iceServer Use Other
coturn
apt install coturn
# /etc/turnserver.conf
listening-ip={YOUR_IP_ADDRESS}
relay-ip={YOUR_IP_ADDRESS}
# Public ip
# if aws, aliyun
external-ip={YOUR_IP_ADDRESS}
fingerprint
lt-cred-mech
user=filegogo:filegogo
realm=filegogo
from https://github.com/a-wing/filegogo
No comments:
Post a Comment