go build -o server .
./servergo install github.com/user/file-receiver@latest
# or manually:
mkdir -p ~/.local/bin
go build -o ~/.local/bin/file-receiver .
export PATH="$HOME/.local/bin:$PATH"Then just type file-receiver from any terminal.
- Go 1.20+
- Linux (Debian)
qrencodeoptional (sudo apt install qrencode)
Launch and open http://<IP>:8080 from mobile browser on same Wi-Fi.
Files save to ~/Downloads/mobile_uploads.