Skip to content

Latest commit

 

History

History
111 lines (70 loc) · 3.32 KB

README.md

File metadata and controls

111 lines (70 loc) · 3.32 KB

Alexa Project

Overview

Alexa is a personal assistant application that can perform various tasks such as providing weather updates, searching the web, fetching news headlines, and more. The application utilizes voice commands for interaction and can handle various types of queries.

Creator

This project was developed by Ayush Aryan, a B.Tech student specializing in Computer Science and Engineering. Ayush is passionate about developing practical applications and enhancing user experiences through technology.

Snapshot

image

Features

  • Voice Commands: Activate Alexa using voice commands and get responses through text-to-speech.
  • Weather Updates: Fetch current weather information for any city.
  • Web Search: Search Google and retrieve links to the top results.
  • News Headlines: Get the latest news headlines using NewsAPI.
  • Wikipedia Summaries: Retrieve summaries for various topics from Wikipedia.
  • Jokes and Fun Facts: Hear jokes and interesting facts.
  • Application and Website Launch: Open various applications and websites based on commands.
  • Customizable: Easily add more functionalities and improve existing features.

Installation

  1. Clone the Repository

    git clone https://github.com/yourusername/your-repository.git
    cd your-repository
    
  2. Set Up a Virtual Environment

    python -m venv venv
    
  3. Activate the Virtual Environment

     On Windows:
       venv\Scripts\activate
    
     On macOS/Linux:
       source venv/bin/activate
    
  4. Install Dependencies

     pip install -r requirements.txt
    
    

Configuration

  1. Weather API Key

     Update the `weatherapi_key` variable in the code with your own API key from WeatherAPI.
    
  2. News API Key

     Update the `newsapi_key` variable in the code with your own API key from NewsAPI.
    

Usage

  1. Run the Application

    python main.py
    
  2. Interacting with Alexa

    -Activate: Use the trigger word "Alexa" followed by your command.

    -Commands: Examples include: - "What's the weather in [city]?" , "Tell me a joke" , "Search for [query]" , etc.

Commands and Responses

  • Weather Commands: "What is the weather in [city]"
  • Search Commands: "Search for [query]"
  • News Commands: "Give me the latest news"
  • Joke Commands: "Tell me a joke"

Development

  • Add New Features: Extend Alexa's capabilities by adding new command handlers.
  • Improve Accuracy: Enhance the speech recognition and response accuracy.

Contributing

Contributions are welcome! Please fork the repository and create a pull request with your changes. Ensure that you have tested your changes thoroughly before submitting.

License

This project is licensed under the MIT License.

Acknowledgements

  • Python Libraries: speech_recognition , pyttsx3 , pywhatkit , wikipedia , pyjokes , requests , aiohttp , python_weather , selenium , and webdriver_manager.
  • APIs: WeatherAPI , NewsAPI , JokeAPI , Amazon-Q , Amazon CodeWhisperer.
  • Development Tools: VS Code , PyCharm , JetBrains Toolbox , Postman , Notepad.

Contact

For any questions or support, please reach out to: