Fire trust (took me 2 hours to figure out Vercel 😭😭😭)
Create a .env.local file in the root directory with the following variables:
# Pinecone API Key
PINECONE_API_KEY=your_pinecone_api_key_here
# Optional: Pinecone Environment (if needed)
PINECONE_ENVIRONMENT=your_pinecone_environment_here
# Firebase Configuration
FIREBASE_API_KEY=your_firebase_api_key
FIREBASE_AUTH_DOMAIN=your_project.firebaseapp.com
FIREBASE_PROJECT_ID=your_project_id
FIREBASE_STORAGE_BUCKET=your_project.appspot.com
FIREBASE_MESSAGING_SENDER_ID=your_messaging_sender_id
FIREBASE_APP_ID=your_app_id- Create a new Firebase project at Firebase Console
- Enable Authentication and add Google as a sign-in provider
- Get your Firebase configuration from Project Settings > General > Your apps
- Add the configuration values to your
.env.localfile
The application expects the following Pinecone indexes to exist:
ai-agents- For AI Agents contentlooking-for-cofounder- For cofounder search contentlooking-for-internships- For internship opportunitiesside-projects- For side project contentstartup-advice- For startup advice contentthings-to-do-sf- For San Francisco activities
Important: The current API route includes a placeholder for vector embedding. You'll need to:
- Implement text-to-vector embedding (e.g., using OpenAI's text-embedding-ada-002)
- Replace the empty vector array in
/src/app/api/search/route.tswith actual embeddings - Ensure your Pinecone vectors are properly indexed with metadata
npm install
npm run devThe application will be available at http://localhost:3000
- Glass morphic black search interface
- Firebase Google authentication
- Index selection for different content types
- Real-time search with loading states
- HTML-formatted results display
- Responsive design for all devices
- User profile display with sign-out functionality