Skip to content

Latest commit

 

History

History
83 lines (59 loc) · 3.37 KB

DESIGN.md

File metadata and controls

83 lines (59 loc) · 3.37 KB

Audio Twin Finder — Design

Spotify Wrapped 2026 (released 2026-12-02) added Audio Twin: Spotify anonymously pairs you with one listener of similar taste. No contact, no profile, no API. This site lets twins find each other by entering what their cards show.

What the Spotify card shows

Screen 1 — profile

  • "Your audio twin is close to" <City, Country> (likely nearest big city, not exact)
  • Age
  • Star sign
  • Usually listens (e.g. "Early evening")
  • Joined Spotify (month + year)

Screen 2 — "How you're connected"

  • Two shared artists ("hop from X to Y")
  • Shared top genre
  • Shared song + play threshold ("each played Song by Artist more than N times")

Screen 3 — "From your twin's library"

  • Gifted song + twin's play count

Core idea

Each user submits two profiles:

  1. Twin (from their card): all fields required, since everyone has the card.
  2. Me (self-reported): as many fields as possible; unknown = null.

Match when A.twin fits B.me and B.twin fits A.me (mutual). One-way fit = "possible twin".

Unknown: whether Spotify twinning is mutual. Check early data: if mutual matches never appear, rely on one-way matches.

Matching

  • null on either side → field skipped (no penalty, no points).
  • Each compared field: match → +weight, conflict → −weight.
  • Rank by score / max_possible_score_of_compared_fields.
  • Also show how many fields were compared: "7/7 match" beats "3/3 match".
  • Minimum on the "me" side: location + at least 2 other fields.
Field Weight
Connection screen (shared song / artist pair / genre) very high, near-decisive
Age + star sign high
Joined Spotify (month/year) medium-high
Location filter (distance radius)
Gifted song in my library (yes/no) medium
Usually listens low

The connection screen should be identical on both twins' cards, which makes it both the strongest signal and an anti-troll check: you can't guess it without the card.

Location

  • No free text. Autocomplete from GeoNames cities15000 (~30k cities, coordinates, alternate names like Wien/Vienna). Store city ID + lat/lon.
  • Twin side: user picks the city shown on the card.
  • Me side: user picks where they actually live (small towns are fine).
  • Match by distance with PostGIS ST_DWithin, starting at a 100 km radius. Tune it using the distances between confirmed twins.
  • Distance handles suburbs and cross-border cases that name matching misses.

Contact & safety

  • Contact (Insta/email) is hidden until both users confirm "yes, that's me".
  • Before confirming, show only an alias + the matching fields.
  • 18+ to exchange contacts (twins can be teens).
  • Don't store screenshots, only parsed fields.

Stack

  • Next.js
  • Postgres + PostGIS (one query: distance filter, then scoring in the app)
  • GeoNames loaded into a cities table
  • No ML needed

Launch

  • Wrapped hype lasts ~2–3 weeks, so ship fast.
  • Add a "Find my twin" share link users can post next to their Wrapped story. The site is useless without volume.

Sources