Skip to content

About

Modern, self-hosted web UI for SnapRAID. Run and schedule sync, scrub and check, monitor SMART disk health, get alerts via ntfy, e-mail or webhook, and edit snapraid.conf with guided disk replacement. Docker image for your home server or NAS with SnapRAID included.

Topics

Resources

Security policy

Stars

24 stars

Watchers

1 watching

Forks

Repository files navigation

SnapRAID UI

SnapRAID UI dashboard: array health, last sync and scrub, scrub coverage, next job and usage per disk

A modern, self-hosted web interface for SnapRAID: for your home server or NAS.

Sync, scrub and schedule, watch your disks and their SMART health, restore files and replace a failed disk, all from any browser. One Docker image with SnapRAID 15 included, or one installer, without touching the command line.

CI Release Docker Pulls Image Size Platforms SnapRAID Docs License: AGPL-3.0

Why? • Features • Quick start • FAQ • Documentation • Development

📖 Documentation with screenshots: every page of the UI, installation and automation, without installing anything

Available in English, German and Italian. Want SnapRAID UI in your language? Open an issue; the texts live in apps/web/messages/.

Note

Independent project: SnapRAID UI is not part of SnapRAID. It runs the unchanged snapraid binary on your existing snapraid.conf, parity and content files, so you can go back to the command line anytime. It needs SnapRAID 14 or newer, which the image and the installer bring along, see Quick start.

Why SnapRAID UI?

Your disks deserve more than a cron job and a log file nobody reads. 💾

SnapRAID is a great way to protect a home server's disks, but day to day it means cron jobs, log files and remembering the right flags. SnapRAID UI puts all of it in one place: a web app you run on the same server as your array.

For whom? Anyone with a home server or NAS whose disks SnapRAID protects, or should: media libraries, photo collections, backups. Whether you set up a new array or already have one, with one array or several.

  • See the state of your array at a glance instead of reading snapraid status output
  • Run and schedule jobs with a click, with live output and a log of every run
  • Hear about problems right away through push, e-mail or webhook, before a second disk fails
  • Get guided through the hard parts, like replacing a failed disk or a run SnapRAID stopped for safety

Features

In short per area; the details are on the linked page of the documentation.

Area What SnapRAID UI does
📊 Array overview Health, last sync and scrub, scrub coverage, next job; usage, files and parity headroom per disk; usage history and a forecast of when each disk is full
⚡ Commands Sync with preview, scrub plans, check, fix; live output while a job runs; clear explanations when SnapRAID stops a run for safety
🔍 Integrity What needs attention, scrub coverage and how old the checked blocks are; changes since the last sync (new with folder sizes, deleted, changed, moved); repair and verify bad blocks with one click
♻️ Restore Deleted and changed files back from parity to their state of the last sync, picked from a list, with the owner and permissions of their folder
🗂️ Protected files "Is my file protected?": search the protected files, see which disk they are on and sizes per folder; duplicates: choose the copy that stays, the others are deleted safely
🗓️ Scheduling Cron schedules without editing a crontab, nightly routine (touch, sync, then scrub), sync guard against mass deletions, skip the next run or run it right now
🔔 Notifications ntfy, e-mail or webhook, and a heartbeat for healthchecks.io or Uptime Kuma
🩺 SMART Health, temperature and failure probability, attributes explained in plain words, short and long self-tests in the browser, warns about a disk that is not mounted before a sync drops its files
🧰 Disks Setup wizard that writes snapraid.conf and runs the first sync, visual and text editor for snapraid.conf, wizards to replace or remove a disk, backup and restore of all settings
🤖 Automation Pauses Docker containers during sync and scrub, spins idle disks down, Prometheus metrics, Home Assistant via MQTT discovery, snapraid-daemon
📜 Logs Every run with result, figures and raw output, searchable and filterable, with retention

Also: light and dark theme, works on the phone and installs as an app, command palette (Ctrl/⌘+K), optional login with passkeys or behind an authentication proxy, a REST API and WebSocket, English, German and Italian.

Ask Claude about your array

SnapRAID UI has an MCP endpoint, so Claude and other AI agents can answer questions from the real state of your server and from this documentation, and, if you allow it, start a sync when you ask. Open Automation → AI agent (MCP), switch it on, and run the command from the card on your computer:

claude mcp add -s user --transport http snapraid http://<your-server>:3000/api/mcp --header "Authorization: Bearer <token>"

Then ask "How is my array doing?" or "Why did last night's sync fail?". It only reads until you tick Allow actions. Claude Desktop, Cursor and what to keep in mind: AI agents (MCP).

Screenshots

Integrity page: what needs attention, scrub coverage and the age of the checked blocks
Integrity: what needs attention, scrub coverage and how old the checked blocks are
SMART monitoring with per-disk health and attributes
SMART: health, temperature and failure probability per disk
Log history with run overview
Logs: every run with result, figures and raw output
Scheduled jobs
Schedules: nightly sync with touch and scrub, weekly scrub, SMART check
Notification channels and events
Notifications: ntfy, e-mail or webhook
Command palette
Command palette: run commands and jump to pages
Dashboard on a phone
On the phone

SnapRAID UI and the alternatives

SnapRAID UI works on your existing snapraid.conf, parity and content files: nothing is converted, and switching back is just as easy. What changes is who runs SnapRAID; make sure only one scheduler does.

What it is Switching to SnapRAID UI
Command line and cron snapraid sync and scrub by hand or from a crontab Add your snapraid.conf under Manage arrays, move the cron jobs to the scheduler
snapraid-runner and similar scripts Scripts that run sync and scrub from cron and send a mail Same as above; the nightly routine, sync guard and notifications replace the script
snapraid-daemon The SnapRAID author's lean background service with a REST API, a scheduler and a web interface No switch needed: SnapRAID UI can hand its jobs to the daemon and keeps schedules, notifications, Docker pause and spindown
SnapRAID 12.x from your distribution The version most distributions still ship Use the bundled SnapRAID 15: it reads the same parity and content files and adds the structured log SnapRAID UI needs

Quick start

SnapRAID UI runs as a single container (tristanteu/snapraid-ui, amd64 and arm64) with SnapRAID 15 and smartctl included, or as a systemd service on the host. You need a Linux server with your data and parity disks mounted.

Pick the way that suits your server:

  • Docker run: one command, below. Mount your disks at the same paths as on the host, so the paths in snapraid.conf stay valid; --privileged is only needed for SMART data and the disk power state.
  • Docker Compose or Podman Quadlet: the files and steps are under Installation.
  • Without Docker: the installer sets up a systemd service (amd64, arm64) and builds SnapRAID 15 too, if the host has no 14+. It prints the address and a generated login; run it again to update. curl -fsSL https://github.com/firsttris/snapraid-ui/releases/latest/download/install.sh | sudo sh
  • From an agent: give Claude Code or another coding agent this repository and SSH access to your server and say: "Set up SnapRAID UI on my server, following the installation guide."
docker run -d --name snapraid-ui \
  --privileged \
  -p 3000:80 \
  -e TZ=Europe/Berlin \
  -e SNAPRAID_UI_USERNAME=admin \
  -e SNAPRAID_UI_PASSWORD=change-me \
  -v ./snapraid:/app/snapraid \
  -v /mnt/disk1:/mnt/disk1 \
  -v /mnt/disk2:/mnt/disk2 \
  -v /mnt/parity:/mnt/parity \
  tristanteu/snapraid-ui:latest

Then open http://localhost:3000, and put your snapraid.conf into ./snapraid/ or add one or set up a new array under Manage arrays, as described in First start. TZ sets the time zone your schedules run in, all environment variables are in Configuration, HTTPS in Reverse proxy and updates in Updating.

Important

Use the bundled SnapRAID rather than your distribution's. The UI reads SnapRAID's structured log, which exists only since version 14.0, and most distributions still ship 12.x. If cron jobs on the host run SnapRAID for the same array, move them to the UI's scheduler.

FAQ

I already use SnapRAID. Can I keep my setup?

Yes. Copy your snapraid.conf into the data directory and SnapRAID UI picks it up. Parity and content files stay as they are, and you can go back to the command line anytime. Turn off cron jobs or scripts like snapraid-runner, so only one scheduler runs SnapRAID.

Do I need Docker?

No. Run the image (amd64 and arm64) with Docker or Podman, or install SnapRAID UI on the host with the installer, as a systemd service. Either way you get SnapRAID 14 or newer, which SnapRAID UI needs for its structured log: the image ships 15, the installer uses the host's 14+ or builds 15. Most distributions still have 12.x.

Does it wake my disks?

Only when SnapRAID needs them. Status, protected files and duplicates come from the content file.

Can I open it to the internet?

Turn on the login and put it behind a reverse proxy with HTTPS, see Security.

SnapRAID UI or snapraid-daemon?

snapraid-daemon is Andrea Mazzoleni's lean background service with a REST API, a scheduler and a web interface. SnapRAID UI is the full app around SnapRAID (see Features). You don't have to choose: SnapRAID UI can hand its jobs to the daemon.

Is this an official SnapRAID project?

No, it's independent and runs the unchanged snapraid binary.

How did this start?

As a web UI for SnapRAID. In December 2025 we proposed machine-readable output for it (amadvance/snapraid#28); Andrea suggested log tags instead and merged ours on December 10 (amadvance/snapraid#29). snapraid-daemon followed on December 23.

Documentation

Everything in detail, with search: https://firsttris.github.io/snapraid-ui/. To get started Installation and Using SnapRAID UI, for the day to day Scheduling, Notifications and Managing disks, when something goes wrong Troubleshooting. Its source lives in docs/.

Development

TypeScript Bun Hono TanStack React Tailwind CSS

Requirements: Bun in the version from packageManager in package.json, Git, and gcc and make for the demo sandbox, which builds its own SnapRAID, so you need no real array.

git clone https://github.com/firsttris/snapraid-ui && cd snapraid-ui
bun install
bun run demo   # sandbox with fake disks, no real array needed

The frontend runs on http://localhost:3000, the API on http://localhost:8080. There is no database: all state lives in JSON and log files in the data directory.

How it fits together is described in Architecture, everything else in Development.

Package Contents
apps/server Backend (Bun + Hono): REST API and WebSocket, job runner, scheduler, SnapRAID engine (CLI and snapraid-daemon), notifications, SMART, MCP server, Home Assistant, Prometheus
apps/web Frontend: React 19, TanStack Start / Router / Query, Tailwind CSS, shadcn/ui, translations with Paraglide JS
packages/shared @snapraid-ui/shared: types and logic used by both sides, such as the SMART assessment and the fill-up forecast
e2e End-to-end tests (Playwright) against real SnapRAID and snapraid-daemon, also against the Docker image
docker Dockerfile, Compose file and Podman Quadlet units
scripts Standalone binary, installer, demo sandbox

Contributing

Issues and pull requests are welcome. Please run bunx biome check, bun run typecheck and the tests (bun test in apps/server/, bun run test in apps/web/) before opening a pull request. Changes to jobs, schedules or the Docker image are also covered by the end-to-end tests in e2e/, which CI runs against the local build and the image; see Development to run them locally. You don't have to code to help: translations and reports from your own array help just as much.


⭐ Like SnapRAID UI? A star on GitHub helps others find it.

Report a bug  ·  Request a feature  ·  Documentation

License: AGPL-3.0 · © Tristan Teufel and contributors
Changed versions you pass on or run for others must offer their source code under the AGPL; a commercial license without these obligations is available via teufel-it.de.
Not affiliated with the SnapRAID project. SnapRAID is developed by Andrea Mazzoleni.

About

Modern, self-hosted web UI for SnapRAID. Run and schedule sync, scrub and check, monitor SMART disk health, get alerts via ntfy, e-mail or webhook, and edit snapraid.conf with guided disk replacement. Docker image for your home server or NAS with SnapRAID included.

Topics

Resources

Security policy

Stars

24 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages