2025-02-02 23:47:16 +07:00
# 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:
2025-03-08 16:43:04 +02:00
`filebrowser {{[-r|--root]}} {{path/to/directory}}`
2025-02-02 23:47:16 +07:00
- Start an instance with different host address (defaults to `127.0.0.1` ) and port (defaults to `8080` ):
2025-03-08 16:43:04 +02:00
`filebrowser {{[-a|--address]}} {{host}} {{[-p|--port]}} {{port}} {{[-r|--root]}} {{path/to/directory}}`
2025-02-02 23:47:16 +07:00
- Start an instance with a specified configuration file, storing the application database in a specific location (defaults to `filebrowser.db` on the current directory):
2025-03-08 16:43:04 +02:00
`filebrowser {{[-c|--config]}} {{path/to/file}} {{[-d|--database]}} {{path/to/database.db}} {{[-r|--root]}} {{path/to/directory}}`
2025-02-02 23:47:16 +07:00
- Set up a different default first-time account username and password (both default to `admin` ) when setting up a new instance:
2025-03-08 16:43:04 +02:00
`filebrowser --username {{username}} --password {{password}} {{[-r|--root]}} {{path/to/directory}}`
2025-02-02 23:47:16 +07:00
- Set up the maximum amount of image processors used when generating thumbnails (defaults to `4` ):
2025-03-08 16:43:04 +02:00
`filebrowser --img-processors {{4}} {{[-r|--root]}} {{path/to/directory}}`
2025-02-02 23:47:16 +07:00
- Disable image thumbnails as well as the Command Runner feature, limiting access for hosted script files from being executed inside the app:
2025-03-08 16:43:04 +02:00
`filebrowser --disable-exec --disable-thumbnails {{[-r|--root]}} {{path/to/directory}}`
2025-02-02 23:47:16 +07:00
- Disable resizing of image previews as well as detecting file types by reading their headers:
2025-03-08 16:43:04 +02:00
`filebrowser --disable-preview-resize --disable-type-detection-by-header {{[-r|--root]}} {{path/to/directory}}`