filex
Self-hosted file manager & sharing with a web UI, in one Go binary - open-source alternative to Nextcloud, Dropbox and Google Drive.
Web-based file browser for local, S3, SFTP, WebDAV, FTP and SMB storage: private cloud served as S3, SFTP, NFS, WebDAV.
SSO/LDAP, multi-tenant, encrypted folders, embeddable web component, desktop app, MCP server.
English · Türkçe · Deutsch · Español · Français · 简体中文
|
🗂️ Every storage, one tree Mount what you already have side by side, and copy or cut in one storage and paste in another. Point Storage and protocols → |
🔗 Share and protect Links with a PIN, an expiry and a download limit. Trash, version history and end-to-end encrypted folders. Sharing and protection → |
|
🔑 Your accounts, your roles OIDC, LDAP / Active Directory or the Windows and Linux accounts of the server. Roles, groups, multi-tenant. People and access → |
💻 A desktop app with live folder sync Windows, Linux and macOS (Apple Silicon): an edit on either side arrives in about a second. Desktop app & CLI → |
|
🧩 Embeds in your product The same UI as a Vue 3 component, a React component and a Embed in your app → |
🤖 Apps and AI agents Sandboxed apps - e-Signature, Convert, a video player, draw.io - a built-in MCP server an agent can drive, and an AI assistant in the explorer that can run fully local. Apps → · AI agents / MCP → |
Why filex · Coming from another tool · Self-host · Features
Quick start
[!TIP] Look before you install: demo.filex.sh - sign in with
demo@demo.com/demo(admin role, sandbox resets nightly).
Run your own, from the folder you want to serve:
docker run -p 5212:5212 \
-e FILEX_DEFAULT_STORAGE_DRIVER=local -e FILEX_DEFAULT_STORAGE_PATH=/srv/files \
-v filex-data:/data -v "$PWD:/srv/files" \
ghcr.io/brf-tech/filex:latest
Open http://localhost:5212/admin - the first run prints admin credentials and embed
instructions to the console. That URL is the operator's; the people you give accounts to
get http://localhost:5212/drive, the same file manager without the panel around it.
For Word, Excel and PowerPoint, install the office editor app from
Admin → Plugins → Apps: it edits them in the browser and needs no other container.
What that command mounts, and which user it runs as
That serves the folder you ran it in - open the UI and your files are already
there. /data is filex's own directory (SQLite database, search index, thumbnail cache),
which is why it is a named volume and not the folder you drop files into; the two are
separate on purpose. Point $PWD somewhere else, or add more storages from the admin
panel later - a bucket with several top-level folders can be mounted as one storage
per folder in one go (Storages → Add storage → Mount several folders at once).
The container runs as root by default, so what it writes into /data is root-owned;
set PUID/PGID to run it as yourself
(docs/DOCKER.md).
No Docker? Run the binary
Download the archive for your platform from the latest release, extract it and run the binary (docs/INSTALLATION.md):
# Download from https://github.com/BRF-Tech/filex/releases
./filex serve
═══════════════════════════════════════════════════════════════
filex · self-hosted file manager
═══════════════════════════════════════════════════════════════
Listening on: http://0.0.0.0:5212
Admin UI: http://0.0.0.0:5212/admin
Files UI: http://0.0.0.0:5212/drive
Embed JS: http://0.0.0.0:5212/embed.js
First run detected. Initial admin user created:
Email: admin@local
Password: <printed once>
Saved to: ~/.filex/.first-run.txt (mode 0600, shown ONCE)
Change at: /admin/dashboard?settings=1
═══════════════════════════════════════════════════════════════
For a real deployment there are Compose stacks and a Helm chart: Self-host with Compose or Helm. The image is on GitHub Packages.
Why filex
Most self-hosted file managers are either too small (a directory listing with uploads) or too big (a groupware suite you deploy for the file tab). filex aims at the gap. The tour below has eight parts, each with its screenshots folded under it. Every feature in full, with its limits and the guide that documents it, is in docs/FEATURES.md.
The explorer
A file manager people already know how to use.
- A navigation panel with Home · My files · Shared with me · My shares · Recent · Starred · Drafts · Trash; list, grid and gallery views; tabs, tags and a ⌘K palette.
- Presence avatars and file changes arrive live, over WebSocket.
- An upload, or a copy between two storages, says how fast it goes and how long is left. A video the browser cannot play says so and offers the app that plays it.
- Compose a theme in your own colours and make it the default: the sign-in page and every public link use it too, and a phone installs the web app under your instance's name and logo.
- English and Turkish are built in, other languages install as packs, and the interface turns right to left for the languages that read that way.
Every explorer feature in full: docs/FEATURES.md → The explorer.
Screenshots of the explorer - the shell, search, navigation, tags, the trash, the bell, themes, symlinks, CSV in ONLYOFFICE
|
The shell - what everybody lands on |
Searching this folder; |
|
Navigation panel - Home, Shared with me, My shares, Recent, Starred, Trash, and the storages you can reach |
Collapsed to the icon rail |
|
Tags - your own, or your team's; a tag opens every file carrying it, from every folder they live in |
Trash - what was deleted, where it came from, and how long is left before it goes |
|
The bell - the unread count on it, every row going where it says |
All of your notifications, inside the explorer - for everybody, not only administrators |
|
Appearance - compose a theme in your own colours, previewed as you type |
Made the default, it is what everybody's explorer wears… |
|
…and the sign-in page, before anybody has signed in |
A symlink filex will not follow says so - in the listing, and in words in its details |
|
A |
…and its editor, which says what a save as CSV keeps; the file goes back as the same kind of CSV, and the cells nobody changed keep their text - |
Storage and protocols
Every storage in one tree, and that tree reachable from anything.
- Mount local disks, S3, FTP, SFTP, WebDAV and SMB/NAS shares side by side, and copy or cut in one and paste in another; for a storage filex does not ship, install a plugin from the admin panel or from an app store's link.
- A file written behind filex's back shows up: a local folder is watched live, so what the NAS's share or another app writes there is listed when its folder is opened, not at the next scan, and when the disk is on another machine, filex-watch runs there and reports the folders that change in seconds.
- Reach the same tree as S3, SFTP, FTPS, NFSv3 and WebDAV: point
rclone,restic,aws s3, WinSCP or FileZilla at it. The same filex permissions (per person, group and folder), trash and quota apply as in the web UI; the POSIX bits and ACLs on the disk are not mapped to filex users. filex mountattaches a remote server over ordinary HTTPS: a folder on Linux, a drive letter on Windows (macOS is not supported).
Every storage and protocol feature in full: docs/FEATURES.md → Storage and protocols.
Screenshots of storage and protocols - the connection guides, API keys, a storage plugin and filex-watch
|
Connections - the guides, built from your deployment |
API keys - mint your own, in the explorer or in an embed (a person's session or token; an embed proxied with one shared app token does not get this entry) |
|
Reaching filex from anything - S3, SFTP, FTPS, NFS, WebDAV. Every command is built from your deployment |
A storage filex does not ship - installed as a plugin on Plugins → Storage plugins, describing its own config form |
|
filex-watch - a key for the machine that owns a storage's disk, shown once, with the commands that install the agent on Linux, Docker, Windows or macOS |
The same card once the agent reports: what each machine's agent last said, and when |
Sharing and protection
Share with a link you can limit and revoke. Take back a wrong delete or a wrong overwrite.
- Public links with a PIN, an expiry and a download limit, file requests for what should come in, and uploaders: a key for ShareX, curl or a script that drops files into one folder and answers each with a link. My shares lists every link you created, to copy or revoke.
- Share a folder with a person or a group and it appears under their Shared with me, or give them a whole storage from its Access section, on every protocol at once. This needs Per-item access control (RBAC) on that storage: a new storage starts with it on, and one made by an earlier version keeps what it had.
- Deletes are reversible within a retention window and writes keep snapshots, both inside the storage you already mounted.
- End-to-end encrypted folders: encrypted in the browser, and the server never receives a key. An app you allow edits such a file in your browser, which decrypts it for the app and encrypts what it saves. Optional ClamAV scanning of every file written.
Every sharing and protection feature in full: docs/FEATURES.md → Sharing and protection.
Screenshots of sharing and protection - the Share dialog, what the recipient sees, My shares, who may encrypt, uploaders, mail and page templates
|
Sharing - PIN, expiry, download limit, one-line |
Markdown viewer |
|
…and what the person at the other end opens. filex has ONE outward-facing screen - a shared file, a folder, a file request, an app's signing page and the PIN in front of any of them are all this page, in your instance's name |
My shares - the links you created, and their PINs when you need to pass one on |
|
Every admin table - one pinned Actions menu per row, the same menu the explorer's ⋮ opens |
Who may encrypt - off, administrators only, everyone whose role allows it, or after an administrator's approval; the requests waiting, with who asked and why (who may encrypt) |
|
…and the person's side: the request the New folder dialog opens - one new encrypted folder, asked of an administrator with a reason |
Uploaders - a key for ShareX, curl or a script, shown once: ShareX's settings file is made for you, and every upload answers with a public or a private link and a deletion link (docs/UPLOADERS.md) |
|
Templates - every mail filex sends and every page a link opens is HTML and CSS you can rewrite, with a live preview and a test mail; a tenant's administrator rewrites their own tenant's, and an edited template runs in a sandbox and carries no script (docs/TEMPLATES.md) |
People and access
The accounts people already have, and one role each.
- Sign in with a local password, OIDC, LDAP / Active Directory, an authenticating proxy, or the Windows or Linux account of the machine filex runs on.
- Everyone has one role - Administrator, User, Viewer or one of your own - built from named permissions. Groups carry folder access - up to a whole storage - and a role, can follow your directory's groups, and per-person exceptions beat the role.
- Guessing a password is slow: wrong passwords are counted per account and per address, on the web form, WebDAV, FTPS and SFTP alike; a bot check (Cloudflare Turnstile or reCAPTCHA) can guard the sign-in, a link's PIN and a file request's upload.
- Multi-tenant by design, behind one switch: each tenant has its own sign-in providers, its own domain and certificate, and runs itself. Switched off, no screen shows a tenant.
Every feature for people and access in full: docs/FEATURES.md → People and access.
Screenshots of people and access - roles, groups, sign-in security, a locked account, bot protection, the admin panel and its menu
|
Roles - Administrator, User, Viewer and roles of your own: who holds each, what it allows, where it differs by folder, its limits (docs/PERMISSIONS.md) |
Groups - named sets of people with folder access and a role; members by hand or kept in step with the groups a sign-in carries (docs/GROUPS.md) |
|
Sharing a folder with a group, beside people - Owner is asked for in the dialog, not granted by a click |
Sign-in security - the attempt limit and the addresses it never counts; trusted proxies, the locks and the sign-in trail follow on the same page (sign-in attempt limits) |
|
…and what a locked account's sign-in form says, counting the lock down on its button |
Admin panel |
|
Bot protection - Cloudflare Turnstile or Google reCAPTCHA, its keys and the forms it guards; when the provider cannot be reached, the browser does a short proof of work instead (docs/BOT-PROTECTION.md) |
…and the sign-in form, the bot check above its button |
|
Demo landing |
The admin menu - every page in four panels, Files & storage, People, Settings (General, Security & data, File processing & integrations) and Maintenance & records, with a short line under each; a phone gets the same pages in a drawer (docs/ADMIN-PANEL.md) |
Desktop app & CLI
Folders on your computer stay in step with the server, live.
- A Windows, Linux and macOS (Apple Silicon) app: the same explorer in a window, with several accounts or tenants side by side.
- Right-click a folder → Keep on this computer and it stays in step with the server in both directions, in about a second. Everything else stays online-only in the window.
- It signs in through your browser, so SSO and MFA behave as they do on the web, and it opens Office documents from your own disk in the editor your server runs - and any kind of file an app on one of your servers opens.
- Headless machines get the same engine:
filex syncandfilex client.
Install it from the Microsoft Store (Windows 10/11) or the Snap Store (Ubuntu and other Linux with snapd):
or with a package manager:
brew install brf-tech/filex/filex-app # macOS 13+ (Apple Silicon), Homebrew tap BRF-Tech/homebrew-filex
sudo snap install filex-app # the same snap as the badge above
More about installing it, and the CLI - the Store build, winget, the release downloads, Linux, arm64, the client commands
The Store build (filex File Manager) is the one Windows copy that is code-signed -
Microsoft signs it - and the Store keeps it up to date. The desktop app's winget package
(BRFTech.filex-app) is waiting for its first review by the winget moderators - until it is
accepted a release leaves the submission as it is - so winget install BRFTech.filex-app
does not find it yet.
Installer, portable .exe, AppImage, .deb, .rpm and .dmg are attached to the
latest release - not code-signed yet,
so expect a SmartScreen prompt from the Windows installer. Details:
docs/DESKTOP.md. The CLI alone: brew install brf-tech/filex/filex,
or winget install BRFTech.filex on Windows (docs/CLI.md).
On Linux the .deb and .rpm need nothing; on Ubuntu 23.10 and later an AppImage needs a
one-time AppArmor profile (AppImage on recent Ubuntu),
and the Snap runs inside the snap's strict confinement
(The snap and the sandbox). Every release builds
for arm64 too: the server, the images, and the desktop app on Linux, Windows on Arm and Apple
Silicon (docs/INSTALLATION.md → ARM (arm64)). Everything the
app does: docs/FEATURES.md → Desktop app, phone and CLI.
The same binary is also a client for servers, scripts and headless machines:
filex client login --url https://files.example.com
filex client upload build/report.pdf docs://ci-artifacts/
filex client mv docs://ci-artifacts/report.pdf archive://2026/ # across storages, waits for the job
filex client run convert convert docs://data/table.csv --param target=xlsx
filex sync add ~/Documents/work docs://work # the engine the desktop app uses
filex sync run --watch 30s
See docs/CLI.md and docs/SYNC.md. For a server with a
self-signed certificate, filex client login --insecure-skip-tls-verify keeps the switch
with that one address, and the desktop app has it under Advanced at sign-in: not safe,
so trusting the certificate is the better way
(A server with a self-signed certificate).
Embed in your app
A real file manager inside your own product.
The same UI ships as a Vue 3 component, a React component and a framework-agnostic
<filex-explorer> web component, backed by your own filex server. A confined token locks it
to a per-tenant folder, and the backend enforces that, not the widget. The web component
takes two lines:
<script type="module" src="https://cdn.jsdelivr.net/npm/@brftech/filex/dist/filex.js"></script>
<filex-explorer api-base="http://localhost:5212" sidenav connections ui-profile="simple"></filex-explorer>
Vue 3 and React - the other two wrappers, and where the details are
Vue 3
pnpm add @brftech/filex-core
<script setup>
import { FileExplorer } from '@brftech/filex-core';
import '@brftech/filex-core/style.css';
</script>
<template>
<FileExplorer :config="{ apiBase: 'http://localhost:5212', auth: { kind: 'bearer', token: '…' } }" />
</template>
React
pnpm add @brftech/filex-react
import { FileManager } from '@brftech/filex-react';
<FileManager config={{ apiBase: 'http://localhost:5212' }} onError={(e) => console.error(e)} />
Styles, bundlers, the sidenav / connections / ui-profile attributes, the language an
embed speaks (its visitor's, with a Language setting of its own), confined tokens
for multi-tenant hosts, a session cookie from another origin, printing from an app,
single sign-on inside your page's frame and an app of yours connecting a person's own
key with Allow: docs/INTEGRATION.md, summed up in
docs/FEATURES.md → Embedding. ⚠ Keep the packages and the
server on one version (docs/API.md).
|
Shared with me - folders other people granted you, no mount instructions |
Embedded in another product's page |
Apps
New things to do with files, with exactly the permissions you approved.
An app is a WebAssembly module that runs inside filex in a sandbox, an interface of its own in a sandboxed frame, or both. You install it from a store link or its GitHub address, read every permission it asks for, and nothing updates itself. The people of your filex can browse a trusted store on its App store screen and ask you for an app or a storage plugin. The reference store, filex Apps, is open source as well (BRF-Tech/filex-apps): anyone can run a store of their own. Six apps ship as public repositories:
| App | What it adds |
|---|---|
| e-Signature | Sign a PDF, or ask others to: people on this filex sign inside it, anybody else by a private link, behind a PIN by default |
| Convert | Convert… on any file or selection: images, video, audio, documents, e-books, archives, data, subtitles and fonts |
| Office editor | Word, Excel and PowerPoint documents in ONLYOFFICE's editor, running in the browser with no Document Server; its 0.2.0 and 0.3.0, made for filex 0.56, add encrypted folders and several people at once, and its 0.4.0, made for filex 0.57, every kind a Document Server opens (.doc, .xls, .ppt, .csv...) and an office engine filex runs on the server for office thumbnails and conversions (docs/OFFICE-EDITOR.md, docs/ONLYOFFICE.md) |
| filextext | An end-to-end encrypted text workspace in a single .fxtxt file |
| draw.io | The draw.io diagram editor, on .drawio and .dio files |
| Video player | Plays videos, the ones the browser cannot included (a camera's 4:2:2 10-bit HEVC, ProRes, MXF, AVCHD, AVI, WMV): as they are, or converted by the server's ffmpeg while you watch, on the graphics card when there is one (GPU installation) |
An app you allow can edit a file together with other people - filex's relay puts their changes in one order without reading them, and someone who may only read watches live - and can open a file of an encrypted folder, which your browser decrypts for it and encrypts again before it is saved.
An app can stream a video it was opened with, as it is or converted by the server's ffmpeg while it plays, and where you allow it, its viewer opens a shared file right on the share link's page, for whoever holds the link, with every rule of the link still in force (docs/APP-PLUGINS.md → A viewer on share links, for app authors).
An app can also ask to be set up once before it runs - its own questions, the addresses it answers on, who may use it - keep a small store of data of its own beside filex's database, and answer public addresses of its own. An app holding the link-shortener role makes links short: Get short link in the share dialog, on file requests, in My shares and on every upload of an uploader (docs/APP-PLUGINS.md → Short links, for app authors).
A language pack is an app too: Spanish, German and French ship as examples.
Install one in a few minutes: docs/APP-PLUGINS.md → Install one. Every app feature in full: docs/FEATURES.md → Apps.
Screenshots of apps - a signature request from start to finish, installing an app, the converter, an app with its own interface, editing together, an encrypted folder's file in an app, a language pack, Default apps, installing from a store, setting an app up, short links
Dana asks a colleague on the same filex and a partner outside it to sign an agreement. The app is e-Signature; every screen is drawn by filex, and the link the partner gets is an ordinary share.
|
Define the boxes - name each one and say whose it is; the document comes next |
Place them - choose a box, tap the page where it goes |
|
The partner's link - filex's one public screen, in your instance's name, behind a PIN |
…and what it opens: only their own boxes - here a name typed in the face the requester chose (drawn and uploaded are the other two) |
|
While it is out - the document frozen for everybody, who has signed in its details |
Installing an app - every permission it asks for, in plain words, before anything runs |
|
An installed app - where it came from, its fingerprint, and every permission it holds in plain words (its settings and its actions follow, further down the page) |
The converter, another app - every target under its category, three steps |
|
An app that brings its own interface - the review shows the package's fingerprint, every address outside it (a live one is a permission, in yellow) and what a browser cannot promise |
…and that interface open on its own file type, where filex's preview would be. It reads and saves the file through filex, in a sandboxed frame (a small example app, written for these pictures) |
|
Editing together - Dana types, and Sam, who may only read, watches every change and her cursor arrive through filex's relay (Editing together; an example app written for these pictures) |
A file of an end-to-end encrypted folder in an app you allowed - your browser decrypts it for the app and encrypts the save, and the server still holds only ciphertext (the same example app; Editing in an app) |
|
Every app on the instance, and a language pack among them - a manifest with nothing that runs, which says how much of this filex it translates and leaves with it |
Default apps - every kind of file something besides filex handles: who opens it and who draws its thumbnail, in the order you set (Default apps) |
|
Folder previews - each folder drawn with the three files that came into it last; the SVGs are drawn by filex's built-in engine (docs/thumbnails.md) |
Installing from a store - the same review, marked From store, the paid app's license key shown by its first characters (Installing from a store) |
|
The first link from a store - its address and the fingerprints of its keys, to compare before you trust it (Trusted stores) |
A license the store revoked - the app held, Unlicensed, nothing removed, and a band on every admin page (Paid apps) |
|
Setting an app up - an app that answers addresses of its own runs nothing until its wizard is finished: its own questions, where it answers, who may use it (Setting an app up) |
Short links - an app holding the link-shortener role puts Get short link in the share dialog, file requests, My shares and uploaders (Short links) |
AI agents / MCP
An agent works in the folder you gave it, and nowhere else.
- A native MCP server at
/api/ai/mcp, and a REST surface at/api/aidescribed in an OpenAPI 3.1 file. A client that takes only a URL connects with OAuth: the person signs in to filex in the browser - whatever identity provider is behind it - and approves what it may do; on a multi-tenant install every tenant's address is an issuer of its own. - An API key carries permissions by verb and can be confined to a single folder, and nothing it hands out can be wider than the key itself.
- A large file goes through an upload ticket: a short-lived, single-use URL, so its bytes never travel through the model's context.
- An AI assistant in the explorer, off until an administrator sets it up: Anthropic, OpenAI or any OpenAI-compatible server, or a local Ollama so nothing leaves your network. It works through the same MCP tools as the person who asks; a change carries Undo, a public link or an access change waits on an approval card, encrypted folders never reach a model and every file content it sends is in the audit log (docs/AI-ASSISTANT.md).
# OAuth: the client opens a browser for the sign-in
claude mcp add filex --transport http https://files.example.com/api/ai/mcp
# an API key
claude mcp add filex --transport http https://files.example.com/api/ai/mcp \
--header "Authorization: Bearer <api-token>"
What an agent can do, what a key can never hand out, encrypted folders and upload tickets: docs/FEATURES.md → AI agents and MCP; the reference is docs/MCP.md (Connecting with OAuth), and the assistant's is docs/AI-ASSISTANT.md.