Drift is an AI-powered location intelligence tool that generates immersive "life reports" for any city on Earth. Search any location and get real data (rent, safety, weather, walkability) alongside vivid AI narratives about what daily life actually feels like. Because Google shows you tourist traps β Drift shows you real life.
Built for the Codex Creator Challenge by OpenAI.
- City Search β type any city name and get an instant AI-generated life report
- Vibe Score β a 1β100 livability score with radar chart breakdown across 6 categories (Cost, Safety, Weather, Culture, Food, Walkability)
- Quick Stats Dashboard β real data cards showing average rent, coffee price, temperature, safety index, internet speed, and population
- "What Life Feels Like" β honest, multi-paragraph AI narrative written like a friend who lived there for 2 years
- "A Typical Tuesday" β cinematic second-person narrative of a full day living in the city
- Compare Mode β side-by-side comparison of two cities with overlaid radar charts, bar charts, and an AI-generated verdict
- Simulation-free β uses GPT-4o with web search for real, current data
| Layer | Technology |
|---|---|
| Frontend | React 18 + Tailwind CSS 3 |
| Charts | Recharts |
| AI Engine | OpenAI GPT-4o with web search |
| Build Tool | Vite 5 |
| Deployment | Static SPA |
# Clone the repo
git clone https://github.com/YOUR_USERNAME/drift.git
cd drift
# Install dependencies
npm install
# Start dev server
npm run devOpen http://localhost:5173 in your browser. You'll be prompted to enter your OpenAI API key (stored in React state only β never saved to disk or storage).
drift/
βββ index.html # Entry HTML with Google Fonts
βββ package.json # Dependencies and scripts
βββ vite.config.js # Vite build configuration
βββ tailwind.config.js # Tailwind CSS configuration
βββ postcss.config.js # PostCSS plugins
βββ src/
βββ main.jsx # React mount point
βββ index.css # Tailwind directives
βββ App.jsx # Full application (single-file)
- User searches a city name
- App sends a structured prompt to GPT-4o with web search enabled
- GPT-4o returns JSON with real-world data, scores, narratives, and a day-in-the-life story
- UI renders radar chart, data cards, and narrative sections
- Compare mode runs the same flow for a second city and generates an AI verdict
Drift requires an OpenAI API key with GPT-4o access. The key is entered in the app UI and stored in React state only β it is never persisted to localStorage, cookies, or any external service.
Drift is a demonstration project built for the Codex Creator Challenge. Data is AI-generated based on web search results and may not be perfectly accurate. Always verify critical information (cost of living, safety, etc.) through official sources before making relocation decisions.
Abhiram Varma Nandimandalam β M.S. Data Science, University of Arizona Personal Website:https://abhiramvarma.vercel.app/
Apache-2.0 license