Self-hosted file storage.
Ferrite is a file server with a web interface. Upload, organise, preview and share files, stored on a local disk, an S3 bucket or an SFTP box. For individuals and small teams, with an API for scripts and apps that need storage.
Free software, AGPL-3.0. Laravel 13, Livewire, Flux UI.
Files and folders
Upload files or whole folders from the browser. Chunked uploads resume after a dropped connection, including multi-gigabyte files. Rename, move and copy. Download files, a folder or a selection as a ZIP. Tick several items to move or trash them in one step. If a name already exists, you choose to replace it, keep both or skip it.
Previews and search
Images, PDFs, video, audio and text open in the browser. Search matches file names and the text inside text files, code, CSV and PDFs, and shows the matching line.
Sharing
Share with other users as viewer or editor, or by link with an optional password and expiry. An upload link lets someone add files to one folder without seeing what is in it.
Storage
A local folder, S3-compatible storage or SFTP, such as a Hetzner Storage Box. An administrator can assign a disk to each user. Identical files are stored once. A disk can store its files encrypted. The usage page breaks space down by file type, folder and file, trash and versions, and shows what deduplication saves.
Users and access
Accounts with quotas, an admin screen, two-factor authentication and passkeys. Registration is closed by default, and an activity log records file operations.
Trash and versions
Deleted files go to the trash and can be restored, and are purged after a set time. Replacing a file keeps the earlier content, up to a limit you set.
API
Scripts and other programs can use Ferrite through an HTTP API: list and search, download, upload in resumable chunks, and replace files. A token is limited to one folder and to the operations it was given (read, write, replace, trash), and can be revoked in Settings.
curl -H "Authorization: Bearer $TOKEN" \
"https://files.example.com/api/v1/files?parent=root"
Reference: API. The Mac and Android apps use the same API.
Themes
Fifteen themes, including Classic Mac, Amiga, Commodore, Nokia 3310 and several terminal designs. Each user picks their own. Choose one below to preview it on this page.
Apps for Mac and Android
The Mac app uploads from Finder and has a menu bar item. The Android app uploads from the share sheet. Both sign in through your server and resume interrupted transfers. Neither mirrors folders to the device.
Download the appsInstall
Ferrite runs with Docker or as a regular Laravel application. Both need a domain and HTTPS. The first account to register becomes the admin, and registration then closes.
With Docker
A server with Docker. The image includes PHP, the web server, the workers and the scheduler.
git clone https://github.com/zhoorta/ferrite.git ferrite && cd ferrite
cp docker/ferrite.env.example ferrite.env
docker compose run --rm ferrite php artisan key:generate --show
$EDITOR ferrite.env # APP_KEY and APP_URL
docker compose up -d
With Laravel
A server that already runs PHP 8.3+ and nginx or Apache. Add two queue workers and a cron entry.
git clone https://github.com/zhoorta/ferrite.git && cd ferrite
composer install --no-dev -o && npm ci && npm run build
cp .env.example .env && php artisan key:generate
$EDITOR .env # APP_ENV, APP_URL
php artisan migrate --force && php artisan optimize
Full guide, with the web server, workers and reverse proxy: the install guide. The rest is in the documentation.
Not included
Ferrite has no sync clients, no WebDAV, no office document previews and no real-time collaboration.