Skip to content

nishantt007/Command-Do

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Command-Do – Personal Voice Assistant

A Python-based desktop voice assistant that responds to spoken commands for tasks like web browsing, Wikipedia lookups, time queries, and sending emails.

Features

  • Wikipedia Search – Fetches and reads a brief summary aloud
  • Web Navigation – Opens Google, YouTube, and Stack Overflow
  • Time Query – Announces the current system time
  • App Launch – Opens VS Code via voice command
  • Email Sending – Composes and sends Gmail messages by voice
  • Contextual Greeting – Greets based on time of day

Requirements

pip install pyttsx3 SpeechRecognition wikipedia python-dotenv

Also requires PyAudio for microphone input. On Windows: pip install pyaudio

Setup

  1. Clone the repo

    git clone https://github.com/your-username/personal-voice-assistant.git
    cd personal-voice-assistant
  2. Install dependencies

    pip install pyttsx3 SpeechRecognition wikipedia python-dotenv
  3. Configure environment variables
    Create a .env file in the project root & hide it via gitignore (I have uploaded mine with fake credentials):

    EMAIL_ADDRESS=your_email@gmail.com
    EMAIL_PASSWORD=your_app_password
    
  4. Update the VS Code path (optional)
    Edit codePath in the script to match your local VS Code installation path.

  5. Run

    python personal_voice_assistant.py

Commands

Voice Command Action
search <topic> wikipedia Read Wikipedia summary
open google / youtube / stackoverflow Open in browser
what's the time Announce current time
open code Launch VS Code
email to nishant Send a voice-dictated email

About

This is a Python based voice assisstant built using Microsoft Sapi5 which performs tasks when active. It can respond to queries using Google Search, Wikipedia, Stackoverflow and YouTube, and can perform tasks of opening coding IDE, telling time, writing and sending e-mails.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages