Skip to content

rahulsamant37/AI-Voice-Coach

Repository files navigation

AI Voice Coach

An intelligent voice coaching platform built with Next.js, Convex, and AWS Polly. AI Voice Coach leverages real-time transcription and AI-generated feedback to help users improve their skills by providing tailored voice interactions and personalized notes.

Project Status License Node Deployment

image

Overview

AI Voice Coach empowers users with an interactive voice-assisted experience that includes:

  • Real-time Transcription: Uses AssemblyAI for accurate, real-time speech-to-text conversion.
  • Personalized Feedback: AI generates concise feedback and comprehensive notes based on user conversations.
  • Voice Synthesis: AWS Polly converts AI responses into natural-sounding speech for seamless coaching sessions.

Features

  • Live Voice Coaching: Record, transcribe, and receive AI-generated insights during your coaching sessions.
  • Flexible Coaching Options: Choose from multiple coaching themes such as mock interviews, Q&A practice, language learning, and meditation.
  • Interactive UI: Modern, responsive interface built using Next.js, Tailwind CSS, and Radix UI.
  • Scalable Backend: Powered by Convex for real-time data updates and secure user management.
  • Seamless Deployments: Ready for cloud deployment with support for Vercel, Docker, or traditional hosting setups.

Technology Stack

  • Frontend:

  • Backend:

    • Convex for scalable, real-time backend functionality
    • AssemblyAI for real-time speech transcription
    • AWS Polly for text-to-speech synthesis
  • Other Libraries:

    • OpenRouter powered OpenAI model for generating feedback
    • RecordRTC for browser-based audio recording

Installation

  1. Clone the Repository

    git clone https://github.com/your-username/ai-voice-coach.git
    cd ai-voice-coach
    npm install
  2. Configure Environment Variables

    Create a .env.local file and add your environment variables:

    NEXT_PUBLIC_CONVEX_URL=your_convex_public_url
    NEXT_PUBLIC_AI_OPENROUTER=your_openrouter_api_key
    NEXT_PUBLIC_AWS_ACCESS_KEY_ID=your_aws_access_key
    NEXT_PUBLIC_AWS_SECRET_KEY=your_aws_secret_key
    ASSEMBLY_API_KEY=your_assemblyai_api_key
  3. Run the Development Server

    npm run dev

    Visit http://localhost:3000 to view the app.

Deployment

Production Build

  1. Build the Project
    npm run build
  2. Start the Server
    npm start

Deployment Options

  • Vercel (Recommended)
    npx vercel --prod
  • Docker
    docker build -t ai-voice-coach:latest .
    docker run -p 3000:3000 ai-voice-coach:latest
  1. Deploy Convex Functions
    npx convex deploy

Scaling & Best Practices

  • Realtime Data & Caching: Use Convex for real-time synchronization. Integrate memory caching for frequently accessed conversations.
  • Load Balancing: For high traffic, consider deploying behind a CDN and load balancer.
  • Security: JWT-based authentication, rate limiting, and input sanitization are implemented to ensure secure interactions.

image

License

This project is licensed under the MIT License.

Contributing

Contributions are welcome! Please fork the repository and open a pull request for any improvements or bug fixes.

Support

If you have questions or need support, please contact your-rahulsamantcoc2.com or open an issue in this repository.


AI Voice Coach is dedicated to empowering users with innovative voice technology to master their skills. Enjoy your coaching journey!

About

AI Voice Coach is a platform that helps users improve their skills through real-time voice coaching. It uses real-time transcription, personalized feedback, and voice synthesis. Built with Next.js, Convex, and scalable backend infrastructure, it offers interactive coaching across various themes like language learning and mock interviews.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors