Skip to content

Latest commit

 

History

History
64 lines (39 loc) · 1.08 KB

README.md

File metadata and controls

64 lines (39 loc) · 1.08 KB

LocalSend CLI

Installation

You can download executable files from the Releases.

Prerequisites

  • Go 1.22 or higher

Clone the Repository

git clone https://github.com/ilius/localsend-go.git
cd localsend-go

Build

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.

Usage

Run the Program

Receive Mode

./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

Send Mode

./localsend-go -mode send -file FILE_PATH -to your_ip

Example:

./localsend-go -mode send -file ./hello.tar.gz -to 192.168.3.199

Contribution

You are welcome to submit issues and pull requests to help improve this project.

License

MIT

Todo

  • Improve send functionality to display sent text directly on the device