https://github.com/kassane/piping-server-d
Piping Server in D (WiP)
https://github.com/kassane/piping-server-d
d dlang piping-server
Last synced: 6 months ago
JSON representation
Piping Server in D (WiP)
- Host: GitHub
- URL: https://github.com/kassane/piping-server-d
- Owner: kassane
- License: bsl-1.0
- Created: 2024-02-03T19:45:15.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-31T11:13:01.000Z (about 2 years ago)
- Last Synced: 2025-02-02T02:11:08.765Z (over 1 year ago)
- Topics: d, dlang, piping-server
- Language: D
- Homepage:
- Size: 17.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Piping Server in D
## Required
- D Compiler [(DMD|LDC|GDC)](https://dlang.org/download.html)
## How to run
```bash
# 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.
```bash
curl -LO /
```
## Server-side help
```bash
Piping Server in D
Usage: piping-server [OPTIONS]
Options:
--host Bind address, either IPv4 or IPv6 (e.g. 127.0.0.1, ::1) [default: 0.0.0.0]
--http-port HTTP port [default: 0]
--enable-https Enable HTTPS
--https-port HTTPS port
--crt-path Certification path
--key-path Private key path
-h, --help Print this help message
-V, --version Print version information
```
## Acknowledgement
- [Ryo Ota](https://github.com/nwtgck) original author from Piping Server
## Other implementations
* Original:
* Rust:
* Go:
* Zig: