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.
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.
- 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.
-
Clone the Repository
git clone https://github.com/yourusername/your-repository.git cd your-repository
-
Set Up a Virtual Environment
python -m venv venv
-
Activate the Virtual Environment
On Windows: venv\Scripts\activate On macOS/Linux: source venv/bin/activate
-
Install Dependencies
pip install -r requirements.txt
-
Update the `weatherapi_key` variable in the code with your own API key from WeatherAPI.
-
Update the `newsapi_key` variable in the code with your own API key from NewsAPI.
-
Run the Application
python main.py
-
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.
- 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"
- Add New Features: Extend Alexa's capabilities by adding new command handlers.
- Improve Accuracy: Enhance the speech recognition and response accuracy.
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.
This project is licensed under the MIT License.
- 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.
For any questions or support, please reach out to:
- Email: ayusharyan473@gmail.com