aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-03-24 02:39:23 +0100
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-03-28 03:15:27 +0200
commitfa97b1904c72c184b09c627c7ccab0d0db4a060c (patch)
tree917ec45c58dd1c55caa96aef6133a19ba68ab453 /README.md
parent30d31e8c9d98b5641954207a909b531d9fc922c5 (diff)
downloadslcl-imagemagick.tar.gz
WIP thumbnail stuffimagemagick
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 9 insertions, 2 deletions
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
```