Compare commits
2 commits
Author | SHA1 | Date | |
---|---|---|---|
9ce826690d | |||
e8bc00ffd2 |
2 changed files with 16 additions and 15 deletions
15
.drone.yml
15
.drone.yml
|
@ -7,18 +7,3 @@ steps:
|
||||||
image: gcc
|
image: gcc
|
||||||
commands:
|
commands:
|
||||||
- make
|
- make
|
||||||
|
|
||||||
- name: run
|
|
||||||
image: debian
|
|
||||||
commands:
|
|
||||||
- cp quark /usr/local/bin
|
|
||||||
- useradd web && su web && cd
|
|
||||||
- mkdir -p web && cd web && echo "hello from quark" > index.html
|
|
||||||
- quark -p 9130 -h run -l -u web -g web
|
|
||||||
detach: true
|
|
||||||
|
|
||||||
- name: test
|
|
||||||
image: curlimages/curl
|
|
||||||
commands:
|
|
||||||
- sleep 15
|
|
||||||
- curl http://run:9130
|
|
||||||
|
|
16
README.md
16
README.md
|
@ -5,6 +5,22 @@ found at https://git.suckless.org/quark.
|
||||||
|
|
||||||
Quark is a small http server.
|
Quark is a small http server.
|
||||||
|
|
||||||
|
# Feature Patches
|
||||||
|
|
||||||
|
## Dirl: Customizable directory listing
|
||||||
|
[dirl](https://git.friedl.net/playground/suckless-quark/src/branch/dirlist) lets
|
||||||
|
you serve a fully customizable directory listing.
|
||||||
|
|
||||||
|
You can compile `dirl` from the `dirlist` branch, download a pre-compiled [musl
|
||||||
|
binary](https://dirlist.friedl.net/bin/suckless/quark/quark-dirl) or even pull a
|
||||||
|
pre-made [docker
|
||||||
|
image](https://hub.docker.com/repository/docker/arminfriedl/quark).
|
||||||
|
|
||||||
|
You can find an example deployment of [here](https://dirlist.friedl.net/). It
|
||||||
|
uses the default template just with a custom css. You can define your own
|
||||||
|
templates too for full customization. For details see the dirl
|
||||||
|
[README.md](https://git.friedl.net/playground/suckless-quark/src/branch/dirlist/README.md).
|
||||||
|
|
||||||
# Issues
|
# Issues
|
||||||
|
|
||||||
## fork: Resource temporarily unavailable
|
## fork: Resource temporarily unavailable
|
||||||
|
|
Loading…
Reference in a new issue