Overview
A cross-platform photo/video gallery that syncs a personal media library
between an Android phone and a Windows desktop — entirely over the local
network, no cloud relay or third-party server involved. Pairing happens via
a QR code scanned on the phone; the connection is wss:// only, secured
with a self-signed certificate whose public key the phone pins directly
(no CA chain to trust).
Each side works as a full standalone gallery on its own — folder/album
browsing, a virtualized staggered grid, a fullscreen viewer, file
operations (delete/rename/move/copy) — before sync ever enters the
picture. Once paired, the phone streams a hash-based catalog of its media
to the PC (so renamed/duplicate files are recognized by content, not
filename), followed by thumbnails, so the phone's library shows up
merged into the desktop's own Folders/Albums/All Media views. Full-resolution
originals move over on request rather than automatically: the phone can
push one back at a time from its own viewer, or the desktop can multi-select
photos in its grid (press-and-drag across tiles to select, same gesture as
Google Photos' web grid) and ask the phone to back up exactly those.
The goal is a phone-storage-freeing backup tool that never depends on
anything but the two devices being on the same network.