localsend-cli is a command line tool to send & receive data with other devices running Localsend.
- Discover nearby peers
- Send texts message to a peer
- Send files to a peer
- Send multiple files in parallel (async)
- Send to multiple peers
- Receive data from peers
- Configuration Options (alias & port)
localsend-cli -h # prints help message
localsend-cli send text "hello world!" # sends a text message to selected device
localsend-cli send text "message 1" "message 2" # send multiple text to selected device
localsend-cli send file /home/user/Downloads/myPic.jpg /home/user/Downloads/myFile.apk # send files to selected device
localsend-cli -name "My Laptop" send text "hello world" # set a custom alias name
localsend-cli -port 54321 send text "hello world" # set a different port number for peer discovery
This would produce binary inside bin
folder.
nimble build
This would build and install the binary in your machine.
nimble install