~jkcclemens/imgserve

71f20319 — Anna Clemens 2 years ago
fix: use correct word for config section title
4d61112a — Anna Clemens 2 years ago
feat: add profanity filter
31106e23 — Kyle Clemens 3 years ago
feat: allow customising id word list and count

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~jkcclemens/imgserve
read/write
git@git.sr.ht:~jkcclemens/imgserve

You can also use your local clone with git send-email.

#imgserve

Upload and serve images.

Requires gexiv2 (apt libgexiv2-dev) to strip location metadata from images.

#Viewing

#Route

GET /<id>

Note that any extension added to the route will be ignored.

#Uploading

#Route

POST /

#Headers

  • X-Public-Key: base64-encoded ed25519 public key

#Body

Image signed by the private key corresponding to the public key included in the X-Public-Key header.

#Deleting

#Route

DELETE /<id>

#Headers

  • X-Signature: base64-encoded detached signature of <id> using the keypair used to upload the image originally.