From fa97b1904c72c184b09c627c7ccab0d0db4a060c Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Fri, 24 Mar 2023 02:39:23 +0100 Subject: WIP thumbnail stuff --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 9f37f75..a6feb02 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,8 @@ simplicity and efficiency. - Its own, tiny HTTP/1.0 and 1.1-compatible server. - A simple JSON file as the credentials database. - No JavaScript. +- Optional, resizable thumbnails (made available by +[GraphicsMagick](http://www.graphicsmagick.org/)). ### TLS @@ -42,9 +44,12 @@ to `slcl`. If required, encryption should be done before uploading e.g.: using - cJSON >= 1.7.15. - [`dynstr`](https://gitea.privatedns.org/xavi92/dynstr) (provided as a `git` submodule). +- [`mkdir_r`](https://gitea.privatedns.org/xavi92/mkdir_r) +(provided as a `git` submodule). - `xxd` (for [`usergen`](usergen) only). - `jq` (for [`usergen`](usergen) only). - CMake (optional). +- [GraphicsMagick](http://www.graphicsmagick.org/) >= 1.4 (optional). ### Ubuntu / Debian @@ -57,7 +62,7 @@ sudo apt install build-essential libcjson-dev libssl-dev #### Optional packages ```sh -sudo apt install cmake xxd jq +sudo apt install cmake xxd jq libgraphicsmagick1-dev ``` ## How to use @@ -66,7 +71,8 @@ sudo apt install cmake xxd jq Two build environments are provided for `slcl` - feel free to choose any of them: -- A mostly POSIX-compliant [`Makefile`](Makefile). +- A [`configure`](configure) POSIX shell script that generates a mostly +POSIX-compliant `Makefile`. - A [`CMakeLists.txt`](CMakeLists.txt). `slcl` can be built using the standard build process: @@ -74,6 +80,7 @@ them: #### Make ```sh +$ ./configure $ make ``` -- cgit v1.2.3