Single-binary file preview server
| src | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| README.md | ||
| screenshot.png | ||
Mollie
Single-binary file preview server.
It was created as a solution to the problem: display a PDF file, generated by typst watch, in real time as it changes on the disk. Now it's capable of displaying arbitrary files or directories on a web page in real time.
Usage
The server listens on http://<addr>:<port>/.
When serving a regular file, this file is located at the root URL.
When serving a directory, its contents are located at the root URL with each entry at the corresponding path after the root URL.
--help
Single binary file preview server
Usage: mollie [OPTIONS]
Options:
-a, --addr <addr> IPv4 or IPv6 address [default: 127.0.0.1]
-p, --port <port> TCP port [default: 0]
-f, --file <file> Path to the document(s) [default: ./]
-h, --help Print help
-V, --version Print version
Changelog
Releases follow Semantic Versioning 2.0.0 standard.
0.1.0
Basic functionality to serve a regular file or a directory.
