-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
- Loading branch information
1 parent
3ba0f75
commit 2bb8b70
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# filebrowser | ||
|
||
> Simple HTTP web server to manage files and directories. | ||
> More information: <https://filebrowser.org>. | ||
- Start a new server instance serving the current directory: | ||
|
||
`filebrowser` | ||
|
||
- Start a new server instance serving a specific root directory: | ||
|
||
`filebrowser {{-r|--root}} {{path/to/directory}}` | ||
|
||
- Start an instance with different host address (defaults to `127.0.0.1`) and port (defaults to `8080`): | ||
|
||
`filebrowser {{-a|--address}} {{host}} {{-p|--port}} {{port}} {{-r|--root}} {{path/to/directory}}` | ||
|
||
- Start an instance with a specified configuration file, storing the application database in a specific location (defaults to `filebrowser.db` on the current directory): | ||
|
||
`filebrowser {{-c|--config}} {{path/to/file}} {{-d|--database}} {{path/to/database.db}} {{-r|--root}} {{path/to/directory}}` | ||
|
||
- Set up a different default first-time account username and password (both default to `admin`) when setting up a new instance: | ||
|
||
`filebrowser --username {{username}} --password {{password}} {{-r|--root}} {{path/to/directory}}` | ||
|
||
- Set up the maximum amount of image processors used when generating thumbnails (defaults to `4`): | ||
|
||
`filebrowser --img-processors {{4}} {{-r|--root}} {{path/to/directory}}` | ||
|
||
- Disable image thumbnails as well as the Command Runner feature, limiting access for hosted script files from being executed inside the app: | ||
|
||
`filebrowser --disable-exec --disable-thumbnails {{-r|--root}} {{path/to/directory}}` | ||
|
||
- Disable resizing of image previews as well as detecting file types by reading their headers: | ||
|
||
`filebrowser --disable-preview-resize --disable-type-detection-by-header {{-r|--root}} {{path/to/directory}}` |