Skip to content
rylosPublic

About

Modular NAS manager for Debian: web UI, storage, shares, snapshots, network (also on Synology hardware) Rust + WebAssembly.

Topics

Resources

Contributing

Stars

27 stars

Watchers

0 watching

Forks

Latest commit

 

History

1,175 Commits

Folders and files

Repository files navigation

rynas

A complete NAS on plain Debian, in about 16 MB of its own memory.

Flexible RAID, shares, snapshots, backups, Docker apps and HTTPS from one web interface.
Written in Rust. Built for power users, usable by anyone.

Latest release License: AGPL-3.0 Debian 13 Rust Status: beta

Install · Features · Synology · Docs

The rynas dashboard

Install Debian your way, add one package, and the server becomes a NAS you run from the browser. Underneath it is all plain Debian: mdadm, LVM, btrfs, Samba, NFS, systemd, Docker Compose.

Note

Beta. Every main feature is in place and runs daily on real NAS hardware; expect rough edges until 1.0, and keep backups.

Light, measured

Idle memory ~16 MB of its own memory for the whole manager: daemon 10 MB + web server 6 MB (~51 MB resident with the program code: 40 + 11)
API answers 0.5 ms for the full storage tree (median of 20 requests)
Download one 33 MB .deb; the whole interface loads as ~2 MB of compressed WebAssembly
Runs daily on a 2014 dual-core Celeron J1800 with 2 GB of RAM, daily, with room to spare

Measured on rynas 0.9.26, idle: a DS920+ (Celeron J4125, 4 GB) running Debian 13 through synodeb, and a QNAP HS-251 (Celeron J1800, 2 GB). Own memory is the anonymous memory in smaps_rollup; the rest of the resident size is the program code mapped from disk, which the kernel can drop and reload. The optional HTTPS proxy, rynas-caddy, adds 17 MB of its own (61 MB resident). API time: curl on rynasd's Unix socket.

Why rynas

  • A NAS layer, not an operating system. Stock Debian, standard config files, apt updates. Remove rynas and you keep a working server with its shares, users and data.
  • It shows its work. Every storage change is planned before it runs: each step with its real command (mdadm, sgdisk, LVM, cryptsetup, btrfs), the disks it will erase by model and serial, and how it resumes if the power fails halfway.
  • Every drive counts. Flexible RAID uses the full size of mixed drives and grows one drive at a time, on plain md, LVM and btrfs.
  • Fast by construction. Rust from the root daemon to the WebAssembly interface; pages update live, and Ctrl K reaches any page, setting or action.
  • Power without the cliff. Guided flows in plain language for everyday tasks; the real arrays, subvolumes, units and logs one click away. Nothing dumbed down.
  • In your pocket. The Android app browses and manages the shares, uploads and downloads in the background, shows the NAS in Android's file picker and keeps alerts and status on the home screen. Paired by QR code, certificate pinned, no Google services.
  • Yours. No cloud account, no telemetry, every feature free. Apps come from a signed catalogue; Linux PCs get bare-metal backups to the NAS.

Flexible RAID

Classic RAID cuts every drive to the smallest: 4 + 8 + 8 TB in RAID 5 gives 8 TB. Flexible RAID splits the drives into tiers, each an md array, joined by LVM into one btrfs volume (optionally LUKS-encrypted): the same drives give 12 TB, and any one can fail. Two-drive tolerance is there too. Add a drive or swap one for a larger one and the new space is usable; a growth cut short by a power failure continues where it stopped. Classic levels (0, 1, 5, 6, 10) stay available.

Features

Storage mdadm arrays, btrfs/ext4 volumes, LUKS2, flexible RAID, chassis view, SMART, spin-down, zram
Files a full web file manager: upload, preview, text editor, space analysis, SMB/SFTP connections
Shares SMB (with Time Machine), NFS, per-user and per-group permissions, quotas, recycle bin
Snapshots scheduled btrfs snapshots, file restore, rollback, system restore points, replication
Backup encrypted, deduplicated (restic format) to a NAS, USB disk or cloud; bare-metal backups of Linux PCs
Docker & apps compose stacks with an editor, image update checks, and a curated app catalogue installed in a few clicks
Web access HTTPS for the interface and every app: .local names, Let's Encrypt via DNS, LAN/VPN rules, Tailscale
System users and groups, 2FA, network with safe rollback, apt repositories, scheduler, notifications, UPS
Storage with the chassis view
Storage: volumes and a live view of every bay
A flexible RAID volume and its tiers
Flexible RAID: 4 + 8 + 8 TB drives give 12 TB
The file manager
Files: a full file manager in the browser
The app catalogue
Apps: a signed catalogue, installed in a few clicks
Docker compose stacks
Docker: your stacks, whoever made them
The capacity calculator
Calculator: every RAID level for any set of drives

Screenshots from a local test instance with simulated hardware and demo data.

Install

Debian 13 (trixie), amd64. Each release has the package, built by GitHub Actions, with its SHA256SUMS:

curl -fLO https://github.com/rylos/rynas/releases/latest/download/rynas_<version>-1_amd64.deb
sudo apt install ./rynas_<version>-1_amd64.deb

Then open https://<your-server>.local/ (or http://<your-server>:8080/) and sign in with an administrator account of the server. The PC backup agent ships in the same release.

Synology and QNAP hardware

On Synology hardware, use synodeb: it installs Debian 13 on supported Synology models with fans, LEDs, buttons, beeper, power schedule, UPS and every bay working. rynas detects it and adds the hardware screens (the real chassis, fan modes, LEDs, power schedule); on other machines they stay hidden. QNAP units have their own module, starting with the HS-251: bays, fans, LEDs and power recovery.

And of course rynas runs on anything that runs Debian 13 amd64: a mini PC, an old desktop, a rack server or a virtual machine.

More

Installed layout and first sign-in · Building and architecture · Design documents · Contributing

License

rynas is free software under the GNU AGPL v3.0 or later: free for everyone, companies included, every feature included. The plugin interface (rynas-api-types) is Apache-2.0, so plugins can use any license. An optional subscription may come one day; it will never lock features (details).

App icons come from Dashboard Icons (Apache-2.0); the logos belong to their owners (apps/ICONS.md).

rynas is an independent project, not affiliated with, endorsed by or supported by Synology Inc. or QNAP Systems, Inc. Synology, DSM, QNAP and related names are trademarks of their owners, used here only to describe hardware compatibility.

Made in Italy 🇮🇹

About

Modular NAS manager for Debian: web UI, storage, shares, snapshots, network (also on Synology hardware) Rust + WebAssembly.

Topics

Resources

Contributing

Stars

27 stars

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages