( 00 ) Open source · MIT · pre-1.0

Private cloud. On your laptop. Self-hosted.

NestNAS turns a laptop into private cloud storage: phone photo backup, an encrypted network drive, photo search, file history and share links. One program, no subscription, and your data stays on your hardware.

Free and open source · Go standard library only · Linux · Windows · macOS

( 01 ) Features

The parts of a cloud plan you actually use.

Cloud storage plans charge every month. NestNAS provides the same core features on a laptop and a drive you already own.

Phone backup

Back up photos and videos from your phone.

Select photos and videos, or a whole folder, and NestNAS copies only what the NAS does not already have. Duplicates are skipped, files with the same name are both kept, and nothing is overwritten or deleted.

Phone Backup / 2025 / 110 new · 0 already there
Encrypted at rest

Encrypted before it is written to disk.

Each file has its own key. If the laptop or drive is lost, the contents are unreadable.

holiday-goa.jpg
FF D8 FF E0 00 10 4A 46 49 46 00 01 01 00 00 01
00 01 00 00 FF DB 00 43 00 08 06 06 07 06 05 08

AES-256-GCM · 64 KiB authenticated chunks · scrypt

Gallery & viewer

Photo gallery and viewer.

Thumbnails, a full-screen viewer, swipe, video seeking. Decrypted on the fly, never cached.

External drives

Removable drives are handled safely.

Use a USB or external drive as storage. If it is unplugged, NestNAS pauses, shows a warning and never writes to the laptop's internal disk instead. When the drive returns, even at a different mount point, it resumes automatically.

Network drive

Mount it as a network drive.

Built-in WebDAV for macOS, Windows and Linux, using the same login.

https://nest.local:8443/dav/
Sharing and trash

Expiring links and a trash folder.

Share files with links that expire. Deleted items stay in the trash for 30 days.

/s/9f3c…e1expires in 24 h
wedding-draft.docx↩ restore
Multiple users

Separate folders and quotas.

Each user has a private folder and their own storage limit.

Smart photo search

Find photos by what they show.

Type "beach at sunset" or "birthday cake". A small model runs on your computer, so your photos are never sent anywhere. It is optional and off until you switch it on.

People

Faces, grouped by person.

Name a group once and find every photo of them. A photo with two people appears under both.

Versions & snapshots

Go back in time.

Replaced files keep their old copies, and snapshots remember how everything looked on a given day.

report.docx3 versions
Snapshot · yesterday↩ restore
Health monitor

See how it is doing.

Upload and download speed, drive space and temperature, battery, and plain warnings when something needs attention.

Select & organise

Select many, group by date.

Tick several files and download them as one zip. Group by date like Google Drive and Photos.

3 selecteddownload zip
Today · Yesterday · Novemberby date

( 02 ) Security

Security design.

  1. i.

    One program, no dependencies.

    Written in Go using only the standard library, so there are no third-party packages to audit. Nothing contacts external services, except a one-time download of the optional photo-search models if you switch them on. The full source is available to read.

  2. ii.

    Encrypted in transit and at rest.

    In transit: TLS 1.3 only, using a private certificate authority restricted to private network addresses. At rest: AES-256-GCM, with keys protected by your passphrase (memory-hard scrypt) and a recovery key.

  3. iii.

    Documented limitations.

    File names, sizes and dates are not encrypted; only contents are. The file format is new and has not been independently audited.

anatomy of an encrypted fileNNE1
header40 B · version + file salt
chunk 164 KiB + 16 B tag
chunk 264 KiB + 16 B tag
…
last chunkflagged final
  • unique key per file (HKDF from the master key)
  • nonce = chunk counter, never reused
  • header + "last" flag are authenticated
  • flip, drop, swap or truncate a chunk: detected
read the threat model →

( 03 ) Metrics

Project metrics.

0lines of Go in the whole program
0third-party dependencies in the core
0end-to-end checks, across encryption off and on
0the entire program, one file

Cryptography checked against the official RFC test vectors and cross-checked with OpenSSL. CI runs every push on a clean machine.

( 04 ) Get started

Install in three steps.

01

Install

One line on Linux, macOS or Windows, checked against a published checksum. You can also download a release or build from source with Go 1.18 or newer.

terminal
# Linux or macOS: installs and starts it
$ curl -fsSL https://raw.githubusercontent.com/Saransh-Jainbu/nestnas/main/install.sh | sh
# Windows (PowerShell)
> irm https://raw.githubusercontent.com/Saransh-Jainbu/nestnas/main/install.ps1 | iex
02

Configure

Open localhost:8080 and choose the storage allowance, the storage location (an external drive works) and whether to encrypt. Store the recovery key somewhere safe.

03

Add a device

On the same network, open the device setup page shown in the dashboard, install the certificate, add the dashboard to your home screen, and use the Backup tab.

( 05 ) Limitations

Known limitations.