* fix(filebrowser_quantum): make Download save the file in the iOS companion app FileBrowser downloads by clicking an <a> that carries no download attribute and letting the attachment response do the rest. The Home Assistant iOS companion app is a WKWebView, where a download only happens when WebKit turns a navigation action into a WKDownload -- which is what the download attribute does, and the app hands the result to its own download manager (WebViewController+WebKitDelegates.swift, navigationAction:didBecome download:). Its response policy delegate returns .allow for every sub-frame and never returns .download, so inside the ingress panel a plain attachment navigation is simply rendered: a text file opens and shows its content with no way to save it. The ingress filter now adds the attribute, matched on the two exact download endpoints so nothing else in the app is touched. Desktop browsers already downloaded these and are unaffected, and an empty value keeps the filename the server sends in Content-Disposition. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> * fix(filebrowser_quantum): keep Open file a navigation, and narrow the claims Review of #3030 found that the 'no preview available' fallback renders an 'Open file' link on the same download endpoint with inline=true (views/files/Preview.vue), so a pathname-only match would have turned opening a file into downloading it. Exclude inline=true. Also narrows two overstated claims: the app's download manager is gated on iOS 17, and the public-share sidebar downloads with window.open() rather than an anchor, so it is not covered. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Home assistant add-on: FileBrowser Quantum
I maintain this and other Home Assistant add-ons in my free time: keeping up with upstream changes, HA changes, and testing on real hardware takes a lot of time (and some money). I use around 5-10 hours a week for this. If this add-on saves you time or makes your setup easier, I would be very grateful for your support!
Addon informations
Thanks to everyone having starred my repo! To star it click on the image below, then it will be on top right. Thanks!
About
FileBrowser Quantum is a modern, responsive, multi-source file manager with realtime indexing, advanced sharing, and expanded authentication options (password, proxy, OIDC, or no-auth). It is a maintained fork of the original FileBrowser project.
This addon is based on the docker image from the FileBrowser Quantum project.
Installation
The installation of this add-on is pretty straightforward and not different in comparison to installing any other Home Assistant add-on.
- Add my add-ons repository to your home assistant instance (in supervisor addons store at top right, or click button below if you have configured my HA)
- Install this add-on.
- Click the
Savebutton to store your configuration. - Start the add-on.
- Check the logs of the add-on to see if everything went well.
- Access the web UI through the sidebar or at
<your-ip>:8071.
Configuration
The web UI can be found at <your-ip>:8071 or through the Home Assistant sidebar when using Ingress. Direct access redirects to the add-on's configured base path, so the address bar will show a longer URL than the one you typed.
Default credentials:
- Username:
admin - Password:
admin
Important: Change the default credentials immediately after first login for security.
Options
| Option | Type | Default | Description |
|---|---|---|---|
auth_method |
list | password |
Authentication method (password, noauth, proxy, oidc) |
default_user_scope |
str | / |
The root filesystem path used as the FileBrowser source and as the default scope for all users. Must be an existing absolute directory path (e.g. /share, /media). |
localdisks |
str | (optional) | Local drives to mount (e.g., sda1,sdb1,MYNAS) |
networkdisks |
str | (optional) | SMB shares to mount (e.g., //SERVER/SHARE) |
cifsusername |
str | (optional) | SMB username for network shares |
cifspassword |
str | (optional) | SMB password for network shares |
cifsdomain |
str | (optional) | SMB domain for network shares |
Setup
- Start the add-on and wait for it to initialize.
- Access the web interface through the Home Assistant sidebar or at
<your-ip>:8071. - Log in using the default credentials:
- Username:
admin - Password:
admin
- Username:
- Important: Immediately change the default password by clicking on "Settings" > "User Management".
- Configure additional sources and authentication settings through the add-on options or the web interface.
Mounting Drives
This addon supports mounting both local drives and remote SMB shares:
- Local drives: See Mounting Local Drives in Addons
- Remote shares: See Mounting Remote Shares in Addons
Custom Scripts and Environment Variables
This addon supports custom scripts and environment variables through the addon_config mapping:
- Custom scripts: See Running Custom Scripts in Addons
- env_vars option: Use the add-on
env_varsoption to pass extra environment variables (uppercase or lowercase names). See https://github.com/alexbelgium/hassio-addons/wiki/Add-Environment-variables-to-add-ons
Support
Create an issue on GitHub, or ask on the Home Assistant Community thread.
