piping-server-rust icon indicating copy to clipboard operation
piping-server-rust copied to clipboard

Infinitely transfer between every device over pure HTTP with pipes or browsers

piping-server

CI Docker Image Size (latest by date)

Deploy

Piping Server written in Rust

Purpose

Faster Piping Server than ever

  • Faster is better
  • Low memory cost
  • Machine-friendly implementation

Why Rust?

Safe, Fast and No garbage collection (GC)

Run a server

You can choose some ways to run a server.

Way 1: Docker

Run a Piping Server on http://localhost:8181 by the following command.

docker run -p 8181:8080 nwtgck/piping-server-rust

Way 2: Binary for Linux

# Download and extract
curl -L https://github.com/nwtgck/piping-server-rust/releases/download/v0.14.0/piping-server-x86_64-unknown-linux-musl.tar.gz | tar xzf -
# Run on 8181 port
./piping-server-x86_64-unknown-linux-musl/piping-server --http-port=8181

Way 3: Binary for macOS (Intel)

# Download and extract
curl -L https://github.com/nwtgck/piping-server-rust/releases/download/v0.14.0/piping-server-x86_64-apple-darwin.tar.gz | tar xzf -
# Run on 8181 port
./piping-server-x86_64-apple-darwin/piping-server --http-port=8181

Way 4: Binary for macOS (Apple Silicon)

# Download and extract
curl -L https://github.com/nwtgck/piping-server-rust/releases/download/v0.14.0/piping-server-aarch64-apple-darwin.tar.gz | tar xzf -
# Run on 8181 port
./piping-server-aarch64-apple-darwin/piping-server --http-port=8181

Way 5: Windows

https://github.com/nwtgck/piping-server-rust/releases/download/v0.14.0/piping-server-x86_64-pc-windows-gnu.zip

Executable files are available on GitHub Release.

Way 6: Heroku

Click the button bellow to deploy.

Deploy

Way 7: Replit

Click Fork button in the link below and fork it.

https://replit.com/@nwtgck/piping-rust

Way 8: Build and run by yourself

You can clone, build and run piping-server as follows.

# Clone
git clone https://github.com/nwtgck/piping-server-rust.git
cd piping-server-rust
# Build
cargo build --release
# Run on 8181 port
./target/release/piping-server --http-port=8181

Server-side help

piping-server 0.14.0
Piping Server in Rust

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: 8080]
        --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 help information
    -V, --version                    Print version information