adnan360 ba763d97e5 Change bash shebang line to env 3 年之前
..
patches 12cff330ea Added quark server, grouped into suckless directory 4 年之前
src @ a55df3915d 12cff330ea Added quark server, grouped into suckless directory 4 年之前
.gitignore 12cff330ea Added quark server, grouped into suckless directory 4 年之前
README.md 12cff330ea Added quark server, grouped into suckless directory 4 年之前
patch.sh ba763d97e5 Change bash shebang line to env 3 年之前
patch.sh-e ba763d97e5 Change bash shebang line to env 3 年之前
patch.sh-e-e ba763d97e5 Change bash shebang line to env 3 年之前

README.md

quark (personal build)

quark simple static site server from suckless.org. It is an extremely small and simple HTTP GET/HEAD-only web server for static content.

NOTE: This is not my code. I have taken the source from here.

Patches

Update

To update the source code to newest version:

cd src
git pull --rebase

You can also clone it afresh if you want to:

rm -rf src
git clone --depth=1 https://git.suckless.org/quark src

Patch

The source should be in src directory and patches should be in patches directory. You just run ./patch.sh. It should apply all the patches in the patches folder.

Building

To build and install:

cd build
make clean && make
sudo make install

Using

quark -p 3300 -d /path/to/some/www/directory

For details check out man quark