A modern, elegant text-to-speech application powered by ElevenLabs AI technology. Transform your text into natural-sounding speech with a sleek, user-friendly interface.
- 🔄 Real-time text-to-speech conversion
- 🎭 Multiple AI voice options
- 💾 Audio download capability
- 🌓 Dark/Light theme support
- 🎨 Beautiful animations and transitions
- 📱 Responsive design for all devices
- ⚡ Fast and optimized performance
- Framework: Next.js 14 (React 18)
- Language: TypeScript
- UI Components: NextUI
- Styling: Tailwind CSS
- Animations:
- Framer Motion
- Anime.js
- Custom CSS animations
- Runtime: Node.js
- API Integration: ElevenLabs API
- HTTP Client: Axios with custom wrapper
- Error Handling: Custom error management system
- Package Manager: npm/pnpm
- Code Quality:
- ESLint
- TypeScript strict mode
- Custom error boundaries
-
Clone the repository
git clone [repository-url] cd elevenlabs-voice-app
-
Install dependencies
npm install # or pnpm install
-
Set up environment variables Add your ElevenLabs API key to
.env
-
Run the development server
npm run dev # or pnpm dev
-
Open your browser Navigate to
http://localhost:3000
elevenlabs-voice-app/
├── app/ # Next.js app directory
│ ├── api/ # API routes
│ └── page.tsx # Main page component
├── components/ # React components
│ ├── VoiceBot/ # Core voice interface
│ └── icons/ # SVG icons
├── styles/ # Global styles and animations
├── utils/ # Utility functions
└── public/ # Static assets
The application can be configured through various environment variables:
ELEVENLABS_API_KEY=your_api_key
NEXT_PUBLIC_API_URL=your_api_url
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the project
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- ElevenLabs for their amazing text-to-speech API
- NextUI for the beautiful UI components
- The open-source community for various tools and libraries
Made with ❤️ by t33n Software