项目作者: nwtgck

项目描述 :
Piping Server as an portable executable
高级语言:
项目地址: git://github.com/nwtgck/piping-server-pkg.git
创建时间: 2018-12-30T07:42:43Z
项目社区:https://github.com/nwtgck/piping-server-pkg

开源协议:MIT License

下载


piping-server-pkg

CI

Piping Server into an portable executable by vercel/pkg for Linux, macOS, Windows and Alpine

Run on Linux (x64, amd64)

Run the command below, and a server runs on http://localhost:8888.

  1. curl -L https://github.com/nwtgck/piping-server-pkg/releases/download/v1.12.9-1/piping-server-pkg-linuxstatic-x64.tar.gz | tar xzvf -
  2. ./piping-server-pkg-linuxstatic-x64/piping-server --http-port=8888

Run on Linux (ARM64)

Run the command below, and a server runs on http://localhost:8888.

  1. curl -L https://github.com/nwtgck/piping-server-pkg/releases/download/v1.12.9-1/piping-server-pkg-linuxstatic-arm64.tar.gz | tar xzvf -
  2. ./piping-server-pkg-linuxstatic-arm64/piping-server --http-port=8888

Run on Linux (ARMv7 32bit)

Run the command below, and a server runs on http://localhost:8888.

  1. curl -L https://github.com/nwtgck/piping-server-pkg/releases/download/v1.12.9-1/piping-server-pkg-linuxstatic-armv7.tar.gz | tar xzvf -
  2. ./piping-server-pkg-linuxstatic-armv7/piping-server --http-port=8888

Run on macOS (Intel)

Run the command below, and a server runs on http://localhost:8888.

  1. curl -L https://github.com/nwtgck/piping-server-pkg/releases/download/v1.12.9-1/piping-server-pkg-mac-x64.tar.gz | tar xzvf -
  2. xattr -d com.apple.quarantine ./piping-server-pkg-mac-x64/piping-server
  3. ./piping-server-pkg-mac-x64/piping-server --http-port=8888

Run on macOS (Apple Silicon)

Run the command below, and a server runs on http://localhost:8888.

  1. curl -L https://github.com/nwtgck/piping-server-pkg/releases/download/v1.12.9-1/piping-server-pkg-mac-arm64.tar.gz | tar xzvf -
  2. ./piping-server-pkg-mac-arm64/piping-server --http-port=8888

Brew

Run the command below, and a server runs on http://localhost:8888.

  1. brew install nwtgck/piping-server-pkg/piping-server
  2. piping-server --http-port=8888

You can brew-install on both macOS and Linux. Repository: https://github.com/nwtgck/homebrew-piping-server-pkg

Run on Windows

Download zip from https://github.com/nwtgck/piping-server-pkg/releases/download/v1.12.9-1/piping-server-pkg-win-x64.zip, extract it and run the command below, and a server runs on http://localhost:8888.

  1. .\piping-server.exe --http-port=8888

Run on Alpine

Run the command below, and a server runs on http://localhost:8888.

  1. curl -L https://github.com/nwtgck/piping-server-pkg/releases/download/v1.12.9-1/piping-server-pkg-alpine-x64.tar.gz | tar xzvf -
  2. ./piping-server-pkg-alpine-x64/piping-server --http-port=8888

Other built binaries found in https://github.com/nwtgck/piping-server-pkg/releases

Docker

Run the command below, and a server runs on http://localhost:8888.

  1. docker run -p 8888:8888 nwtgck/piping-server-pkg --http-port=8888

https://github.com/nwtgck/docker-piping-server-pkg

Automation

These releases are automatically published by GitHub Actions.

Generate executables in local

  1. cd <this repo>
  2. npm ci
  3. npm run build-x64
  1. cd <this repo>
  2. npm ci
  3. npm run build-arm