Barcelona Cafes
Enter your email. We’ll send a one-time magic link. Only allowlisted addresses can open the admin panel.
Barcelona Cafes
Pull cafes from Google Places API (New) into storage.
Only places with cafe in types are saved.
Loaded from .env (see .env.example). Not stored in SQLite or editable here.
GOOGLE_PLACES_API_KEY
PARALLEL_API_KEY
OPENAI_API_KEY
Uses locationRestriction viewports per neighborhood —
not address text filters. Dedupes on Places ID.
Uses Parallel Extract on cafe websites for the selected neighborhood
(or all cafes when All Barcelona is selected). Skips rows that
already have coffee_content.
Location-aware hybrid search: if the query mentions a street, landmark, or neighborhood, cafes are first filtered to a 1 km radius (Google Geocoding + local coordinates), then ranked with ChromaDB + BM25. Answers use only local cafe data.
Stats for the neighborhood selected above.