← all repositories
xemle/home-gallery

HomeGallery indexes your NAS, then lets it hibernate

A single-user, self-hosted web gallery that uses AI to surface forgotten photos while letting your original drives stay offline.

1.2k stars JavaScript Computer VisionDomain Apps
home-gallery
Not currently ranked — collecting fresh signals.
star history

What it does

HomeGallery is a Node.js web gallery that slurps photos and videos from local disks or NAS mounts, transcodes videos, extracts EXIF data, and builds a browseable PWA. After the initial indexing pass, the original source volumes can go offline; the gallery runs from previews and metadata alone. It offers face detection, reverse image lookup, geo reverse lookups, and a Boolean query language to dig through your backlog without cloud dependencies.

The interesting bit

The software treats your storage as cold rather than hot: it hashes files by content, deduplicates identical bytes, and severs the runtime dependency on the original media. Rename a folder or unplug an external drive and the gallery doesn’t flinch, because it already swallowed what it needed.

Key highlights

  • Offline-source friendly: once previews are generated, the original disks can spin down or be unplugged.
  • Content-addressed indexing: duplicate files are processed once, and renames don’t trigger re-extraction.
  • AI search features (similar images, face recognition, object detection) via an optional public API, or through a self-hosted API container.
  • Entire index shipped to the browser as compressed JSON (~12 MB for 100k items), making search feel local.
  • Static export mode for building a fully portable site, plus Chromecast streaming and XMP sidecar support.

Caveats

  • Explicitly a pet project with no warranty; the author warns that you’re solving your own problems here.
  • Strictly single-user with no authentication layer—anyone on your network who hits the server sees everything.
  • AI features call a public API by default; keeping previews entirely on-prem requires running the API server yourself.

Verdict

A solid weekend project for the privacy-curious developer who wants Google Photos-style discovery on top of a NAS. If you need multi-user access controls, a support contract, or a zero-config install, look elsewhere.

Frequently asked

What is xemle/home-gallery?
A single-user, self-hosted web gallery that uses AI to surface forgotten photos while letting your original drives stay offline.
Is home-gallery open source?
Yes — xemle/home-gallery is open source, released under the MIT license.
What language is home-gallery written in?
xemle/home-gallery is primarily written in JavaScript.
How popular is home-gallery?
xemle/home-gallery has 1.2k stars on GitHub.
Where can I find home-gallery?
xemle/home-gallery is on GitHub at https://github.com/xemle/home-gallery.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.