quickserv/README.md

41 lines
919 B
Markdown
Raw Normal View History

2020-02-10 13:07:14 +00:00
# quickserv
2020-05-28 18:58:41 +00:00
[![built with
2020-05-28 19:25:46 +00:00
nix](https://builtwithnix.org/badge.svg)](https://builtwithnix.org) [![Build
Status](https://drone.tulpa.dev/api/badges/Xe/quickserv/status.svg)](https://drone.tulpa.dev/Xe/quickserv)
[![Written in Rust](https://img.shields.io/badge/written%20in-Rust-orange)](https://www.rust-lang.org/)
2020-05-28 18:58:41 +00:00
2020-02-10 13:07:14 +00:00
A quick HTTP server for when you have given up on life.
`quickserv` serves `.` on port `3000`. Customizable with flags:
```
2020-05-28 18:58:41 +00:00
quickserv 0.1.0
A quick HTTP fileserver
USAGE:
quickserv [OPTIONS]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-d, --dir <dir> [env: DIR=] [default: .]
-p, --port <port> [env: PORT=] [default: 3000]
2020-02-10 13:07:14 +00:00
```
2020-05-28 18:58:41 +00:00
## Docker
2020-05-28 19:25:46 +00:00
```console
$ nix-build docker.nix
$ docker load -f result
$ docker push xena/quickserv
```
## Release
2020-05-28 18:58:41 +00:00
2020-05-28 19:25:46 +00:00
- Bump the version in `Cargo.toml`
- Rerun CI
- Tag a new release