Skip to content

Web-based virtual assistant interface with voice interaction using HTML, CSS, JavaScript, and Web Speech API.

Notifications You must be signed in to change notification settings

khushi375/virtual-assist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🗣️ Virtual Assist

A simple web-based virtual assistant interface built with HTML, CSS, and JavaScript. This project provides a frontend for interacting with voice commands and responses, designed to be lightweight and easy to extend.

⚠️ Note: The current repository contains UI files only (HTML, CSS, JS). To make it fully functional, you may need to connect it to a backend or speech-processing API.

🚀 Features

✔️ Clean and intuitive user interface

✔️ Voice interaction support (via Web Speech API)

✔️ Visual feedback with animations and responsive design

✔️ Ready to integrate with AI or custom voice-command logic

🧠 About

This project lays the foundation for a virtual assistant web application — a browser-based assistant that listens to voice input and responds accordingly.

🔧 Technologies Used

HTML — Assistant user interface

CSS — Styling and animations

JavaScript — Voice recognition and interaction logic

Image Assets — Logo and voice animation

📂 Repository Structure virtual-assist/ ├── assistent.html # Main interface for the virtual assistant ├── assistent.css # Styles for assistant UI ├── assistent.js # JavaScript logic (voice & interaction) ├── logo.jpg # Logo / branding image ├── voice.gif # Visual voice interaction animation └── README.md # Project documentation

💡 How It Works (Web Speech API)

This project uses the Web Speech API to capture and process speech in the browser:

User clicks the voice button

Browser listens using SpeechRecognition

JavaScript captures spoken text

Commands are processed (e.g., search web, show weather, play audio)

Assistant responds via UI or audio output

✨ You can extend it with AI services like OpenAI, Dialogflow, or custom logic.

🛠️ Setup Instructions 1️⃣ Clone the Repository git clone https://github.com/khushi375/virtual-assist.git

2️⃣ Open the Application

Simply open assistent.html in your browser:

open assistent.html

3️⃣ Supported Browsers

Google Chrome

Microsoft Edge

Any modern browser that supports the Web Speech API

🧩 Extend the Assistant

To make this a fully functional virtual assistant, you can:

✅ Add backend logic (Node.js, Python, etc.)

✅ Integrate AI (OpenAI APIs, Wit.ai, Dialogflow)

✅ Enable text-to-speech responses

✅ Add custom command handlers (open links, fetch data, etc.)

💬 Example Use Cases

“What’s the weather today?”

“Search Google for…”

“Play a song”

“Tell me a joke”

📝 Contributing

Contributions, improvements, and ideas are welcome!

Fork the repository

Create a feature branch

Submit a pull request

📜 License

This project is open source and available under the MIT License. You are free to use, modify, and distribute it.

🙌 Acknowledgements

Thanks for checking out Virtual Assist! Feel free to build on it, improve it, and make it smarter 🚀

About

Web-based virtual assistant interface with voice interaction using HTML, CSS, JavaScript, and Web Speech API.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published