docker run -p 8080:8080 ghcr.io/a-wing/filegogo:latest server
make
go run ./main.go server
cd webapp
npm install
# frontend
npm run start
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>
# Enable Built-in turn server
[turn]
# if no set, use random user
user = "filegogo:filegogo"
realm = "filegogo"
listen = "0.0.0.0:3478"
# Public ip
# if aws, aliyun
publicIP = "0.0.0.0"
relayMinPort = 49160
relayMaxPort = 49200
For example: 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