{"id":28003272,"url":"https://github.com/shashankssp12/voice-assistant-dexter","last_synced_at":"2025-05-09T02:00:17.814Z","repository":{"id":248746453,"uuid":"828758914","full_name":"shashankssp12/Voice-Assistant-Dexter","owner":"shashankssp12","description":"Dexter AI Assistant is a Python-based virtual assistant designed to respond to voice commands, perform various tasks, and provide information. Inspired by popular assistants like Siri and Alexa, Dexter aims to deliver a user-friendly and efficient experience.","archived":false,"fork":false,"pushed_at":"2025-03-18T17:44:24.000Z","size":75608,"stargazers_count":1,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-18T18:47:46.178Z","etag":null,"topics":["deepgram-api","newsapi","openai-api","python","stt","tts","websockets"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shashankssp12.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-15T04:31:45.000Z","updated_at":"2025-03-18T17:44:27.000Z","dependencies_parsed_at":"2024-08-17T07:29:39.827Z","dependency_job_id":null,"html_url":"https://github.com/shashankssp12/Voice-Assistant-Dexter","commit_stats":null,"previous_names":["shashankssp12/voice-assistant","shashankssp12/voice-assistant-dexter"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shashankssp12%2FVoice-Assistant-Dexter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shashankssp12%2FVoice-Assistant-Dexter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shashankssp12%2FVoice-Assistant-Dexter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shashankssp12%2FVoice-Assistant-Dexter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shashankssp12","download_url":"https://codeload.github.com/shashankssp12/Voice-Assistant-Dexter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253176434,"owners_count":21866142,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deepgram-api","newsapi","openai-api","python","stt","tts","websockets"],"created_at":"2025-05-09T02:00:17.078Z","updated_at":"2025-05-09T02:00:17.737Z","avatar_url":"https://github.com/shashankssp12.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Voice Assistant Project - Dexter\n\n![Dexter AI link: https://youtu.be/P6a-EPebzmg](img//dexterAi.png)\n\n\n## Watch the Demo Video\n\n[![Watch the video](https://img.youtube.com/vi/P6a-EPebzmg/0.jpg)](https://youtu.be/P6a-EPebzmg)\n\n# Dexter AI Assistant\n\nDexter AI Assistant is a Python-based virtual assistant designed to respond to voice commands, perform various tasks, and provide information. Inspired by popular assistants like Siri and Alexa, Dexter aims to deliver a user-friendly and efficient experience.\n\n# Features\n\n- **Voice Commands**: Dexter can open applications, browse websites, play music, fetch news, and more through voice commands.\n- **Text-to-Speech**: Uses `pyttsx3` for converting text responses to speech.\n- **Speech Recognition**: Uses `speech_recognition` to process and understand user commands.\n- **API Integration**: Integrates with the NewsAPI to fetch the latest news headlines.\n- **Custom Responses**: Uses OpenAI's GPT-3.5-turbo to generate responses for unrecognized commands.\n\n# What did I Learn?\n\n- **API Integration**: Learned how to integrate and fetch data from external APIs.\n- **Environment Variables**: Utilized environment variables to securely manage API keys and other sensitive information using the `dotenv` library.\n- **Libraries Used**:\n  - `speech_recognition`: For capturing and recognizing speech.\n  - `pyttsx3`: For converting text to speech.\n  - `webbrowser`: For opening websites.\n  - `requests`: For making HTTP requests to APIs.\n  - `dotenv`: For managing environment variables.\n  - `OpenAI`: For generating AI responses.\n\n# Ongoing Improvements\n\n- **Web Scraping via Voice Commands**: Working on the ability to scrape data from websites based on voice commands.\n- **Enhanced Voice Recognition**: Improving the speed and accuracy of voice recognition to reduce latency and increase responsiveness.\n- **Setting Alarms**: Adding functionality to set alarms and reminders through voice commands.\n\n# **Getting Started**\n\n# Prerequisites\n\n- Python 3.x\n- Pip (Python package installer)\n\n### Installation\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/yourusername/dexter-ai-assistant.git\n   cd dexter-ai-assistant\n   ```\n\n2. Install the required libraries:\n\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n3. Create a `.env` file in the project directory and add your API keys:\n\n   ```plaintext\n   NEWS_API_KEY=your_news_api_key\n   OPENAI_API_KEY=your_openai_api_key\n   ```\n\n### Running the Assistant\n\n1. Start the Dexter AI Assistant:\n\n   ```bash\n   python dexter.py\n   ```\n\n2. Speak the trigger word \"Dexter\" followed by your command.\n\n### Example Commands\n\n- \"Dexter, open VS Code\"\n- \"Dexter, play my favorite song\"\n- \"Dexter, what's the latest news?\"\n\n## Contributing\n\nFeel free to submit issues, feature requests, and pull requests. Contributions are welcome!\n\n## License\n\nThis project is licensed under the MIT License.\n\n## Contact\n\nFor any inquiries, please contact:\n\n- Your Name: Shashank Shekhar Pandey\n- Email: shashankspandey12@gmail.com\n\n ## **References:**\n   - Documentation pyttsx3 : [link](https://pypi.org/project/pyttsx3/)\n   - Documentation speechRecognition : [link](https://pypi.org/project/SpeechRecognition/)\n   - Docuemetation OpenAI API key setup: [link](https://platform.openai.com/docs/introduction)\n          ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshashankssp12%2Fvoice-assistant-dexter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshashankssp12%2Fvoice-assistant-dexter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshashankssp12%2Fvoice-assistant-dexter/lists"}