MINIQUARK(1) General Commands Manual MINIQUARK(1)

miniquarka minimal web server for retrieving files

miniquark -p port [-h host] [-d dir]

miniquark is a web server supporting GET/HEAD requests and is easily launched as unprivileged user to provide HTTP access a local directory.

The options are as follows:

port
The port to listen on for incoming connections.
dir
Switch to the specified directory.
host
Set the hostname or IP address to listen on. The default is 127.0.0.1.

If run with a user ID of 0, miniquark will chroot to the current directory.

The following request headers are recognized

Range:
Returns 206 Partial Content and the Content-Range header is set.
If-Modified-Since:
Returns 304 Not Modified or "200 OK" based on the file timestamp.
User-Agent:
Used for log messages.

miniquark was based on https://git.suckless.org/quark and bundled with rset(1) in July 2020.

February 26, 2024 OpenBSD 7.4