send-over-http

Share a file with someone on your local network using QR Code
git clone git://git.server.ky/slackcoder/send-over-http
Log | Files | Refs | README

README.md (1146B)


      1 # Send Over HTTP
      2 
      3 Share a file with someone on your local network using QR Code.
      4 
      5 Inspired by the android app [Share Via HTTP](https://github.com/marcosdiez/shareviahttp).
      6 
      7 ## Benefits
      8 
      9  - Files are shared directly over the local network.  An internet connection is
     10    not required.
     11  - Others can receive the file without installing any special applications.
     12 
     13 ## Downsides
     14 
     15  - Others may be able to see the file as the file transfer is not encrypted.
     16  - Some networks, at bars and cafes, will block connecting to others.
     17 
     18 ## Usage
     19 
     20 ```
     21 send-over-http --help
     22 # Usage send-over-http <options> [target]
     23 #
     24 #   target: file or directory to share (default: .)
     25 #
     26 # Options:
     27 #
     28 #   -address string
     29 #     	network address to accept connections (127.0.0.1:0)
     30 #   -net string
     31 #     	network type to listen on (tcp, tcp4, tcp6) (default "tcp")
     32 ```
     33 
     34 ## Build Requirements
     35 
     36  - [Golang](go.dev)
     37 
     38 ## How to Install
     39 
     40 You can install the project using Golang's standard install process from the
     41 projects root directory.
     42 
     43 ```
     44 go install ./cmd/send-over-http
     45 ```
     46 
     47 Or you can build the command into the project's root directory.
     48 
     49 ```
     50 go build ./cmd/send-over-http
     51 ```