Expand description
Memories — “N years ago today” style rediscovery.
Generators: OnThisDay, FallbackWindow, SeasonalRecap, PersonStory,
PlaceStory, YearRecap — one ranker, one hero-selector, one block filter.
Memories are computed per-day from photos / faces / memory_blocks;
nothing is persisted except the user’s block preferences.
Structs§
Enums§
Functions§
- generate_
for_ today - Top entry point: full pipeline. Runs the generators, scores, filters blocks, picks heroes, returns cards.
- generate_
for_ today_ cached generate_for_today, reused while the library is unchanged. Memories, a memory’s detail page and the suggested collages all need today’s cards, and building them scans the whole library, so they’re built once and rebuilt only when the day or the library changes.- hide
- Hide one of today’s memories for good.
hide_keycomes from its card. - library_
is_ old_ enough - Check whether the library has enough history to justify Memories.
- surprise_
photos - A bounded slowshow batch: sample days rather than photos so a huge burst cannot dominate. Older days get more chances, not exclusivity.
- unhide
- Undo
hide.