You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Arsen Musayelyan 8099077c50 Use global logger 3 days ago
.gitignore Add --skip-mdns to allow full bypassing of zeroconf. This allows operation within iOS 6 months ago
.gitm.toml Add .gitm.toml 1 month ago
LICENSE Add LICENSE (Apache-2.0) [skip ci] 5 months ago
Makefile Add config to makefile [skip ci] 5 months ago
README.md Clarify README and add dir type to it 6 months ago
config.go Use global logger 3 days ago
deviceDiscovery.go Use global logger 3 days ago
extra.go Use global logger 3 days ago
fileCrypto.go Use global logger 3 days ago
files.go Use global logger 3 days ago
go.mod Switch to using archiver package rather than manual tar 3 days ago
go.sum Switch to using archiver package rather than manual tar 3 days ago
keyCrypto.go Use global logger 3 days ago
keyExchange.go Use global logger 3 days ago
logging.go Use global logger 3 days ago
main.go Use global logger 3 days ago
opensend.toml Clean up code and add config 5 months ago
parameters.go Use global logger 3 days ago

README.md

OpenSend

Send files between systems quickly and securely

Usage

Receiver

  • Use opensend -r to start the receiver

Sender

  • Use opensend -s -t <type> -d <data>
  • type can be
    • url
    • file
    • dir
  • data can be
    • A website URL
    • A file path
    • A directory path
  • Example: opensend -s -t url -d "https://google.com"
  • Example: opensend -s -t file -d ~/file.txt
  • Example: opensend -s -t dir -d /home/user

Building

  • This project uses go modules, so building is easy
  • First, go 1.14+ must be installed (use buster-backports on debian)
  • Then, run make inside the project's directory.
  • This will get the dependencies and compile all the files.

Installing

To install, simply follow the building instructions and then run

  • Linux: sudo make install
  • macOS: sudo make install-macos

Using on iOS

Opensend can run on iOS using the iSH app.

  • Install go using apk add go
  • Clone this repository
  • Run make
  • Use opensend as normal, but skip device discovery
    • Device discovery does not work properly in iSH due to Alpine Linux
    • When running receiver, add --skip-mdns
    • When running sender, add --send-to <IP>
    • This applies bidirectionally
  • Known issues
    • Opensend takes a while to become ready on iOS

Ports to whitelist

  • TCP 9797 for key exchange
  • TCP 9898 for file transfer