{"id":26107070,"url":"https://github.com/amansatya/jarvis-virtual-assistant","last_synced_at":"2026-06-06T15:03:05.234Z","repository":{"id":281521803,"uuid":"945345527","full_name":"amansatya/JARVIS-VIRTUAL-ASSISTANT","owner":"amansatya","description":"THIS REPOSITORY IS A BASIC JARVIS VIRTUAL ASSISTANT PROJECT BUILD ON PYTHON TO TEST BASIC SKILLS ON PYTHON.","archived":false,"fork":false,"pushed_at":"2025-03-09T17:03:10.000Z","size":66,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-09T17:28:04.120Z","etag":null,"topics":["programming","python","virtual-assistant"],"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/amansatya.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":"2025-03-09T07:37:11.000Z","updated_at":"2025-03-09T17:03:13.000Z","dependencies_parsed_at":"2025-03-09T17:39:34.894Z","dependency_job_id":null,"html_url":"https://github.com/amansatya/JARVIS-VIRTUAL-ASSISTANT","commit_stats":null,"previous_names":["amansatya/jarvis-virtual-assistant"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amansatya%2FJARVIS-VIRTUAL-ASSISTANT","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amansatya%2FJARVIS-VIRTUAL-ASSISTANT/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amansatya%2FJARVIS-VIRTUAL-ASSISTANT/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amansatya%2FJARVIS-VIRTUAL-ASSISTANT/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amansatya","download_url":"https://codeload.github.com/amansatya/JARVIS-VIRTUAL-ASSISTANT/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242762737,"owners_count":20181266,"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":["programming","python","virtual-assistant"],"created_at":"2025-03-09T22:43:07.888Z","updated_at":"2025-12-05T15:06:55.214Z","avatar_url":"https://github.com/amansatya.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"cat \u003c\u003cEOF \u003e README.md\n# 🚀 JARVIS Virtual Assistant\n\nA Python-powered **AI assistant** that performs tasks like **web searching, playing music, fetching news, and answering questions** using **Google Gemini API**.\n\n---\n\n## 📖 Table of Contents\n- [Introduction](#introduction)\n- [Features](#features)\n- [Tech Stack](#tech-stack)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Commands](#commands)\n- [Demo Video](#demo-video)\n- [Contributing](#contributing)\n- [License](#license)\n\n---\n\n## 📝 Introduction\nJARVIS is a **voice-controlled AI assistant** inspired by Iron Man's J.A.R.V.I.S. It uses **Google Gemini AI** for **natural language processing**, **speech recognition**, and **text-to-speech conversion** to interact with users in real-time.\n\n---\n\n## ✨ Features\n- 🎙️ **Voice Recognition** - Activates using the wake word **\"Jarvis\"**.\n- 🔍 **AI-Powered Responses** - Uses **Google Gemini AI** to answer queries.\n- 🌍 **Web Browsing** - Opens websites like **Google, YouTube, Instagram, LinkedIn, GitHub**.\n- 🎵 **Music Playback** - Plays pre-defined songs from YouTube.\n- 📰 **News Fetching** - Retrieves the latest news headlines.\n- 🗣️ **Text-to-Speech (TTS)** - Speaks responses using `gTTS`.\n- 🎧 **Streaming Output** - Starts speaking while generating responses.\n\n---\n\n## 🛠️ Tech Stack\n- **Programming Language**: Python\n- **AI Model**: Google Gemini API\n- **Libraries Used**:\n  - `speech_recognition` - Voice input processing.\n  - `google-generativeai` - AI model interaction.\n  - `gTTS` - Text-to-Speech conversion.\n  - `pygame` - Audio playback.\n  - `requests` - Fetching news and web requests.\n  - `pyttsx3` - Offline speech synthesis.\n\n---\n\n## 🔧 Installation\nFollow these steps to set up the project:\n\n### 1️⃣ Clone the Repository\n\\`\\`\\`bash\ngit clone https://github.com/amansatya/JARVIS-VIRTUAL-ASSISTANT.git\ncd JARVIS-VIRTUAL-ASSISTANT\n\\`\\`\\`\n\n### 2️⃣ Install Dependencies\n\\`\\`\\`bash\npip install -r requirements.txt\n\\`\\`\\`\n(If \\`requirements.txt\\` is missing, manually install these:)\n\\`\\`\\`bash\npip install speechrecognition google-generativeai gtts pygame requests pyttsx3\n\\`\\`\\`\n\n### 3️⃣ Set Up Google Gemini API\n- Go to **[Google AI Studio](https://aistudio.google.com/)**.\n- Get your **API Key** and replace it in \\`main.py\\`:\n\\`\\`\\`python\ngenai.configure(api_key=\"YOUR_GEMINI_API_KEY\")\n\\`\\`\\`\n\n### 4️⃣ Run the Virtual Assistant\n\\`\\`\\`bash\npython main.py\n\\`\\`\\`\n\n---\n\n## 🏗️ Usage\n1. Start \\`main.py\\`, and JARVIS will **initialize**.\n2. Say **\"Jarvis\"** to activate it.\n3. Speak a **command**, and JARVIS will process it.\n4. It will **respond via voice and text**.\n\n---\n\n## 🗂️ Commands\n| **Command**        | **Action** |\n|--------------------|-----------|\n| \\`open google\\`     | Opens Google in browser. |\n| \\`open youtube\\`    | Opens YouTube in browser. |\n| \\`open instagram\\`  | Opens Instagram. |\n| \\`open linkedin\\`   | Opens LinkedIn. |\n| \\`open github\\`     | Opens GitHub. |\n| \\`play [song]\\`     | Plays a predefined song from YouTube. |\n| \\`news\\`            | Reads top 5 news headlines. |\n| \\`who is Elon Musk?\\` | Asks Gemini AI for an answer. |\n\n---\n\n## 🎬 Demo Video\n🔗 Watch the demo here (Add YouTube link when available)\n\n\n---\n\n## 🤝 Contributing\nContributions are welcome! To contribute:\n1. **Fork** the repo.\n2. Create a **new branch** (\\`feature-xyz\\`).\n3. **Commit changes** and push.\n4. Submit a **Pull Request**.\n\n---\n\n## 📜 License\nThis project is **open-source** and available under the **MIT License**.\n\n---\n\n🚀 **Now, Jarvis is ready to assist you!** 🎙️","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famansatya%2Fjarvis-virtual-assistant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famansatya%2Fjarvis-virtual-assistant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famansatya%2Fjarvis-virtual-assistant/lists"}