Skip to content

kassane/piping-server-d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Piping Server in D

Required

How to run

# build and run
dub --build=release --parallel
# build only
dub build --build=release --parallel
  • Open server address in browser and upload file(s).
  • All files stored in the downloads folder (generated by the server) can be downloaded via the browser or curl/wget.
curl -LO <server-url>/<file>

Server-side help

Piping Server in D
Usage: piping-server [OPTIONS]
Options:
  --host <HOST>              Bind address, either IPv4 or IPv6 (e.g. 127.0.0.1, ::1) [default: 0.0.0.0]
  --http-port <HTTP_PORT>    HTTP port [default: 0]
  --enable-https             Enable HTTPS
  --https-port <HTTPS_PORT>  HTTPS port
  --crt-path <CRT_PATH>      Certification path
  --key-path <KEY_PATH>      Private key path
  -h, --help                 Print this help message
  -V, --version              Print version information

Acknowledgement

  • Ryo Ota original author from Piping Server

Other implementations