Build a self-hosted gallery whose first-class feature is faithfully ingesting a Flickr export, including the parts most importers throw away. Stack: your choice, Postgres, object storage or disk, Docker Compose, a domain with TLS. Consider deploying an existing self-hosted photo application and writing the importer against it — say which route you took. The importer is the build. A Flickr data export is a set of zip archives: original files in some, and JSON metadata in others. Handle all of it: - Titles, descriptions, tags and machine tags. - Albums and photostream order. - **Licence per photo**, preserved exactly. Someone who released work under Creative Commons has made a commitment, and an importer that drops the licence quietly breaks it. - **Comments and favourites**, with the commenter's display name and the date, stored and rendered read-only. They are not yours to edit and they are the part of the archive with the most sentimental value. - EXIF, geotags where present, and view counts as a historical figure marked as of the export date rather than a live number. - Original filenames, and the Flickr photo id, so an old inbound link can be mapped to the new page. Redirect map: generate a mapping from Flickr photo ids and album ids to your new URLs, output as a file you can feed to your web server. Fifteen years of inbound links are worth an afternoon. Gallery: albums, tags, a date-based archive, full-text search over titles, descriptions and tags, and a per-photo page showing licence, EXIF and the preserved comments with a clear note that they are archived from Flickr. Sharing: public, unlisted with an unguessable URL, or private, per album and per photo, with the more restrictive setting winning. Integrity: verify every file against the export's manifest during import and report anything missing, because partial Flickr exports are common and discovering a gap years later is the bad outcome. Write tests for licence preservation across every Creative Commons variant, for comment ordering and attribution, and for the redirect map covering every imported photo. Do not build social features. There is nobody there.