doc/README: update for latest feature changes

This commit is contained in:
mappu 2023-05-17 19:27:21 +12:00
parent 6453700648
commit 0044d7dc77

View File

@ -6,6 +6,8 @@ A file / image / paste upload server with a focus on embedding.
You can use contented as a standalone upload server, or you can use the SDK to embed its upload widget into another website. You can use contented as a standalone upload server, or you can use the SDK to embed its upload widget into another website.
The name is a pun on "content" and the -d suffix for server daemons.
## Features ## Features
- Drag and drop upload - Drag and drop upload
@ -13,6 +15,7 @@ You can use contented as a standalone upload server, or you can use the SDK to e
- Pastebin upload - Pastebin upload
- Custom drawing upload ([via drawingboard.js](https://github.com/Leimi/drawingboard.js)) - Custom drawing upload ([via drawingboard.js](https://github.com/Leimi/drawingboard.js))
- Ctrl-V upload - Ctrl-V upload
- Galleries
- SDK-oriented design for embedding, including CORS support - SDK-oriented design for embedding, including CORS support
- Mobile friendly HTML interface - Mobile friendly HTML interface
- Preserves uploaded filename and content-type metadata - Preserves uploaded filename and content-type metadata
@ -29,13 +32,15 @@ Usage of contented:
-concurrentthumbs int -concurrentthumbs int
Simultaneous thumbnail generation (default 16) Simultaneous thumbnail generation (default 16)
-data string -data string
Directory for stored content (default "") Directory for stored content (default ".")
-db string -db string
Path for metadata database (default "contented.db") Path for metadata database (default "contented.db")
-diskFilesWorldReadable -diskFilesWorldReadable
Save files as 0644 instead of 0600 Save files as 0644 instead of 0600
-enableHomepage -enableHomepage
Enable homepage (disable for embedded use only) (default true) Enable homepage (disable for embedded use only) (default true)
-enableUpload
Enable uploads (disable for read-only mode) (default true)
-listen string -listen string
IP/Port to bind server (default "127.0.0.1:80") IP/Port to bind server (default "127.0.0.1:80")
-max int -max int