filebrowser

web-based file management interface

TLDR

Start web file browser
$ filebrowser
Serve specific directory
$ filebrowser -r [/path/to/directory]
Specify address and port
$ filebrowser -a [0.0.0.0] -p [8080]
Use config file
$ filebrowser -c [config.json]
Create admin user
$ filebrowser users add [admin] [password] --perm.admin
Configure database
$ filebrowser -d [database.db]

SYNOPSIS

filebrowser [options]

DESCRIPTION

filebrowser provides a self-hosted web-based file management interface accessible through any browser. It creates a complete file server with upload, download, preview, search, and sharing capabilities, along with a built-in code editor for text files.The application supports user authentication with granular permissions, allowing different access levels for different directories. Multiple users can be configured with individual permissions controlling read, write, execute, and sharing capabilities.filebrowser is ideal for personal cloud storage, team file sharing, or providing controlled access to server directories without SSH. It includes features like drag-and-drop uploads, multi-file operations, and custom command execution hooks.

PARAMETERS

-r, --root path

Root directory to serve.
-a, --address addr
Listen address.
-p, --port port
Listen port.
-d, --database file
Database file path.
-c, --config file
Config file path.
-b, --baseURL path
Base URL for the application.
-t, --cert file
TLS certificate.
-k, --key file
TLS key.
--noauth
Disable authentication.
--log output
Log output (default "stdout").

CONFIGURATION

config.json

Configuration file for server settings, authentication, and permissions.
database.db
SQLite database storing users, permissions, and settings.

INSTALL

brew install filebrowser
nix profile install nixpkgs#filebrowser

SEE ALSO

nginx(8)