https://github.com/nwtgck/piping-static-host
Static host to Piping Server
https://github.com/nwtgck/piping-static-host
http-deploy piping-server static-hosting
Last synced: 11 months ago
JSON representation
Static host to Piping Server
- Host: GitHub
- URL: https://github.com/nwtgck/piping-static-host
- Owner: nwtgck
- License: mit
- Created: 2019-01-03T08:13:46.000Z (over 7 years ago)
- Default Branch: develop
- Last Pushed: 2021-02-14T00:44:39.000Z (over 5 years ago)
- Last Synced: 2025-06-04T15:16:57.547Z (about 1 year ago)
- Topics: http-deploy, piping-server, static-hosting
- Language: TypeScript
- Homepage:
- Size: 61.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# piping-static-host
[](https://circleci.com/gh/nwtgck/piping-static-host)
Host static files to [Piping Server](https://github.com/nwtgck/piping-server)
## Install
Install via GitHub
```bash
npm i -g nwtgck/piping-static-host#master
```
## Usage
```bash
piping-static-host --dir=./mypublic --index=./mypublic/index.html
```
Then, you can access .
Note `ueM7kZ` is auto generated. You can specify the prefix by `--host-prefix` option.
Here are available options.
```bash
Options:
--help Show help [boolean]
--version Show version number [boolean]
--server-url Piping Server URL [string] [default: "https://ppng.ml"]
--host-prefix Host prefix (default: random) [string]
--dir Public directory path [string] [default: "."]
--index Index file path [string]
```