Loading repository data…
Loading repository data…
AdityaD28 / repository
Aura – An AI-powered voice assistant built with Python that uses GPT-3.5, Wikipedia, and real-time APIs to perform smart desktop tasks.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
Aura is a smart, voice-activated virtual assistant built using Python. Think of it as your personal desktop AI — capable of responding to voice commands, answering general questions via GPT, playing music, fetching weather updates, reading the latest news, and opening popular websites. Inspired by virtual assistants like Alexa, Siri, and Google Assistant, Nexa brings AI-powered interaction to your terminal.
| Category | Tool/Library Used |
|---|---|
| Voice Input | speech_recognition |
| Text-to-Speech | gTTS, pyttsx3, pygame |
| AI Responses | openai (ChatGPT) |
| Music Search | fuzzywuzzy (string match) |
| Web Data | wikipedia, requests |
| News API | NewsAPI.org |
| Weather API | OpenWeatherMap |
| Browser Automation | webbrowser |
nexa-voice-assistant/
├── main.py # Core logic of Nexa assistant
├── client.py # Standalone ChatGPT test client
├── musicLibrary.py # Custom music-to-YouTube mapping
├── requirements.txt # Python dependencies
└── README.md # You're here!
git clone https://github.com/your-username/aura-voice-assistant.git
cd aura-voice-assistant
Install all dependencies using pip:
pip install -r requirements.txt
Open main.py and client.py and update the placeholders:
# main.py
newsapi = "your_newsapi_key_here"
OpenAI(api_key="your_openai_api_key_here")
api_key = "your_openweathermap_key_here"
# client.py
client = OpenAI(api_key="your_openai_api_key_here")
python main.py
Wait until you see:
Listening...
Say:
Aura
The assistant will respond with:
Ya
Now you're in command mode. Speak your command. Examples:
"What is Machine Learning?"
"Play Skyfall"
"Weather in Bangalore"
"News"
"Open YouTube"
"What is Python?"
| Command | What Happens |
|---|---|
| "Open Google" | Launches Google in your browser |
| "Play Skyfall" | Opens corresponding YouTube song |
| "Weather in Mumbai" | Fetches weather from OpenWeatherMap |
| "News" | Reads latest 5 headlines from NewsAPI |
| "What is AI?" | Answers using Wikipedia or GPT fallback |
| "Time" / "Date" | Announces current time or date |
The music library is in musicLibrary.py. Add your favorite tracks like this:
music = {
"skyfall": "https://youtube.com/your-skyfall-link",
"stealth": "https://youtube.com/your-stealth-link"
}
To keep your keys safe, do this:
pip install python-dotenv
OPENAI_API_KEY=your_openai_key
NEWS_API_KEY=your_newsapi_key
WEATHER_API_KEY=your_openweathermap_key
from dotenv import load_dotenv
load_dotenv()
import os
openai_key = os.getenv("OPENAI_API_KEY")
You can run client.py to test if your OpenAI API key works:
python client.py
speechrecognition
pyttsx3
gtts
pygame
requests
wikipedia
fuzzywuzzy
openai
python-Levenshtein
Install them via:
pip install -r requirements.txt
Voice wake word detection using Vosk or Snowboy
Whisper API for improved speech-to-text accuracy
GUI interface using Tkinter or Streamlit
Spotify/Youtube API for dynamic music search
Context-based conversations via AI memory
Support for multiple languages
Developed by Aditya Dasappanavar
GitHub: AdityaD28
This project is licensed under the MIT License.
You’re free to modify, distribute, and use this software with attribution.