Created by Rachit
A modern, intelligent voice assistant built with Next.js, React, and TypeScript.
- Voice Recognition - Natural speech recognition with retry logic
- Text-to-Speech - High-quality voice responses
- Smart Commands - Time, weather, todos, reminders, search, and more
- Web Navigation - Open YouTube, WhatsApp Web, ChatGPT, Google with voice commands
- Todo Management - Create, complete, delete, read, and clear tasks with localStorage persistence
- Search Functionality - Quick search with detailed results
- Real-time Updates - Live date, time, and weather information
- Entertainment - Jokes and interesting facts on demand
- Responsive Design - Works beautifully on all devices
- Dark Mode - Eye-friendly interface with semantic theming
- Node.js 18.0.0 or higher
- npm 9.0.0 or higher
- Clone the repository
- Install dependencies:
```bash npm install ```
- Copy environment variables:
```bash cp .env.local .env ```
- Start the development servers:
```bash npm run dev:all ```
This runs both the Next.js frontend (port 3000) and Express backend (port 3001).
npm run dev- Start Next.js development servernpm run build- Build for productionnpm run start- Start production servernpm run lint- Run ESLintnpm run type-check- Run TypeScript checksnpm run format- Format code with Prettiernpm run server- Start Express backendnpm run dev:all- Start both frontend and backend
Try saying:
- "Hi" / "Hello" - Greeting
- "Help" - See all available commands
- "What time is it?"
- "Tell me the time"
- "What's the date?"
- "Tell me the date"
- "What's the weather?"
- "Weather update"
- "Tell me a joke"
- "Tell me a fact"
- "Add todo: Buy groceries"
- "Create task: Call mom"
- "Read my todos"
- "Clear todos"
- "Remind me to take medicine at 5 PM"
- "Open Google"
- "Open YouTube"
- "Open WhatsApp Web"
- "Open ChatGPT"
- "Search for quantum physics"
- "Search for cats on Google"
- "Play a song"
- "Repeat" - Repeat last response
- "Shutdown" - Stop voice assistant
``` vocalis/ ├── app/ # Next.js app directory ├── components/ # React components ├── contexts/ # React contexts ├── lib/ # Utility libraries ├── config/ # Configuration files ├── public/ # Static assets └── server.js # Express backend ```
- Push your code to GitHub
- Import project in Vercel dashboard
- Set environment variables:
NEXT_PUBLIC_API_URL- Your production API URL
- Deploy
Create .env.production with:
``` NEXT_PUBLIC_API_URL=https://your-api-url.com ```
- Frontend: Next.js 15, React 18, TypeScript
- Styling: Tailwind CSS, Radix UI
- Voice: Web Speech API
- Backend: Express.js
- Date Handling: date-fns
- Chrome/Edge 80+
- Firefox 90+
- Safari 14.1+
Note: Speech recognition requires HTTPS in production.
Created by Rachit - All rights reserved.
For issues or questions, please open an issue on GitHub.