Dexter is a web‑based voice assistant inspired by the "Jarvis" interface. This refactored version uses Next.js with Tailwind CSS and the xAI API.
- Install Node.js (v18 or later).
- Create a
.env.localfile at the repository root and setXAI_API_KEYto your API key. - Install dependencies:
npm installStart the development server:
npm run devNavigate to http://localhost:3000 to use Dexter. API requests are handled by Next.js API routes.
npm run build
npm start- Text and voice input using the browser Speech Recognition API.
- Text to speech responses.
- Simple chat interface with a webcam preview.
- All intelligence provided by xAI's
grok-2-vision-1212model.
Dexter speaks with an English accent and keeps a conversational history so replies feel natural.