Skip to content

PrasannaVenkadesh/localsend-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

localsend-cli

localsend-cli is a command line tool to send & receive data with other devices running Localsend.

Features

  • 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)

Usage

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

Build

This would produce binary inside bin folder.

nimble build

Install

This would build and install the binary in your machine.

nimble install