You can download executable files from the Releases.
- Go 1.22 or higher
git clone https://github.com/ilius/localsend-go.git
cd localsend-go
Use the Makefile
to build the program.
make build
This will generate binary files for all supported platforms and save them in the bin
directory.
./localsend-go -mode receive
Choose the appropriate binary file for your operating system and architecture.
On Linux, you need to execute this command to enable its ping functionality:
sudo setcap cap_net_raw=+ep localsend-go
./localsend-go -mode send -file FILE_PATH -to your_ip
Example:
./localsend-go -mode send -file ./hello.tar.gz -to 192.168.3.199
You are welcome to submit issues and pull requests to help improve this project.
- Improve send functionality to display sent text directly on the device