Skip to content

RohitGavale/Alexa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

Alexa Voice Assistent

Introduction

This is a simple Alexa Voice Assistant built using Python. The assistant can listen to your voice commands and perform a variety of tasks such as playing songs, providing the current time, fetching information from Wikipedia, telling jokes, and more. 🎙️

Features

  • Recognizes voice commands using speech_recognition
  • Responds to queries using pyttsx3 for text-to-speech
  • Plays YouTube videos using pywhatkit
  • Fetches summaries from Wikipedia
  • Tells funny jokes using pyjokes
  • Provides current time
  • Friendly and humorous responses

Prerequisites

Ensure the following libraries are installed:

  • speech_recognition

  • pyttsx3

  • pyaudio

  • pywhatkit

  • datetime (built-in)

  • wikipedia

  • pyjokes

  • sys (built-in)

How to Run

  • Clone or download the project files.

  • Open a terminal and navigate to the project folder.

  • Run the script using:

     python alexa_assistant.py
    
  • Say "Alexa" followed by your command when prompted.

Commands

Here are some sample commands you can use:

🎵 Play a song:

  • "Alexa, play a song"

  • "Alexa, play Shape of You"

🕒 Get current time:

  • "Alexa, what time is it?"

📖 Get information:

  • "Alexa, who the heck is Albert Einstein?"

😂 Tell a joke:

  • "Alexa, tell me a joke"

💔 Funny response:

  • "Alexa, are you single?"

🛑 Stop the assistant:

  • "Alexa, stop"

Screenshot

Screenshot 2024-12-22 150041


Feel free to contribute to this project or report any issues.


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages