Henrique Dias 0a0cb8046f feat: consistent flags and environment variables (#5549)
- In the root command, all flags are now correctly available as environmental variables, except for `--config` flag. This was already supposed to be the case, but due to bugs in the implementation it didn't work properly.
- All configuration options (unless I missed something) that are available as flags should now properly update the configuration when using the `config init` and `config set` commands.
- Flag names are now consistently in the lowerCamelCase format. All flags that were in a different format have been updated in a backwards compatible way. For a transitionary period of at least 6 months, both will work:
  - `--dir-mode` --> `--dirMode`
  - `--hide-login-button` --> `--hideLoginButton`
  - `--create-user-dir` --> `--createUserDir`
  - `--minimum-password-length` --> `--minimumPasswordLength`
  - `--socket-perm` --> `--socketPerm`
  - `--disable-thumbnails` --> `--disableThumbnails`
  - `--disable-preview-resize` --> `--disablePreviewResize`
  - `--disable-exec` --> `--disableExec`
  - `--disable-type-detection-by-header` --> `--disableTypeDetectionByHeader`
  - `--img-processors` --> `--imageProcessors`
  - `--cache-dir` --> `--cacheDir`
  - `--token-expiration-time` --> `--tokenExpirationTime`
  - `--baseurl` --> `--baseURL`
2025-11-17 08:45:43 +01:00
2025-11-15 09:01:21 +01:00
2025-11-15 09:01:21 +01:00
2025-07-13 21:28:46 +02:00
2025-11-15 09:01:21 +01:00
2025-11-15 09:01:21 +01:00
2025-11-15 09:01:21 +01:00
2021-03-18 18:24:24 +00:00
2025-11-15 09:01:21 +01:00
2025-11-15 09:01:21 +01:00
2024-09-23 11:55:07 +02:00
2025-11-16 14:28:03 +01:00
2025-11-13 14:21:11 +01:00
2025-11-16 14:28:15 +01:00
2025-08-16 08:01:18 +02:00
2025-11-14 17:49:52 +01:00
2025-11-16 14:28:48 +01:00

Build Go Report Card Version

File Browser provides a file managing interface within a specified directory and it can be used to upload, delete, preview and edit your files. It is a create-your-own-cloud-kind of software where you can just install it on your server, direct it to a path and access your files through a nice web interface.

Documentation

Documentation on how to install, configure, and contribute to this project is hosted at filebrowser.org.

Project Status

This project is a finished product which fulfills its goal: be a single binary web File Browser which can be run by anyone anywhere. That means that File Browser is currently on maintenance-only mode. Therefore, please note the following:

  • It can take a while until someone gets back to you. Please be patient.
  • Issues are meant to track bugs. Unrelated issues will be converted into discussions.
  • No new features will be implemented by maintainers. Pull requests for new features will be reviewed on a case by case basis.
  • The priority is triaging issues, addressing security issues and reviewing pull requests meant to solve bugs.

Contributing

Contributions are always welcome. To start contributing to this project, read our guidelines first.

License

Apache License 2.0 Š File Browser Contributors

Languages
Go 43.6%
Vue 36%
TypeScript 9.5%
CSS 8.6%
HTML 1.5%
Other 0.8%