Rediscovering Likes with Similar Images: Next.js, pgvector, DINOv2, and an MV3 Extension

How Refav Gallery turns X likes into a searchable image gallery: passive interception in a Manifest V3 extension, DINOv2 embeddings on Modal, a pgvector HNSW/exact-KNN split, and MMR for diversity, with code and measured numbers from the repository. [Read More]