Files
hassio-addons/filebrowser_quantum
Alexandre 0997c302ae fix(filebrowser_quantum): make Download save the file in the iOS companion app (#3030)
* 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>
2026-08-30 09:49:09 +02:00
..
2026-07-16 08:24:18 +02:00
2025-12-28 23:06:51 +00:00
2025-12-28 23:06:51 +00:00
2026-08-28 16:15:39 +00:00

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!

Buy me a coffee Donate via PayPal

Addon informations

Version Ingress Arch

Codacy Badge GitHub Super-Linter Builder

Thanks to everyone having starred my repo! To star it click on the image below, then it will be on top right. Thanks!

Stargazers repo roster for @alexbelgium/hassio-addons

downloads evolution

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.

  1. 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) Open your Home Assistant instance and show the add add-on repository dialog with a specific repository URL pre-filled.
  2. Install this add-on.
  3. Click the Save button to store your configuration.
  4. Start the add-on.
  5. Check the logs of the add-on to see if everything went well.
  6. 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

  1. Start the add-on and wait for it to initialize.
  2. Access the web interface through the Home Assistant sidebar or at <your-ip>:8071.
  3. Log in using the default credentials:
    • Username: admin
    • Password: admin
  4. Important: Immediately change the default password by clicking on "Settings" > "User Management".
  5. 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:

Custom Scripts and Environment Variables

This addon supports custom scripts and environment variables through the addon_config mapping:

Support

Create an issue on GitHub, or ask on the Home Assistant Community thread.