Skip to content

zilchmonkey/web-speech

Repository files navigation

Web Speech API Demo

This is a simple voice recognition project built with the Web Speech API. It captures your voice, transcribes it into text, and supports a basic voice command to change the background color of the page.

🌐 Live Demo: https://web-speech-eta.vercel.app/


✨ Features

  • 🎤 Speech to Text: Speak into your microphone, and your voice will be transcribed into a text area.
  • 🎨 Voice Command: Say change background color to <color> and the page background will change accordingly.
    • Example: "change background color to red"
    • Supported colors depend on standard CSS color names.

⚠️ Browser Support

Currently only works in WebKit-based browsers like Google Chrome and Safari.

Due to limitations with the Web Speech API, Firefox is not supported at this time.


🛠️ Local Development

To run the project locally:

# 1. Install dependencies
npm install

# 2. Start the development server
npm run dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors