Skip to content

About

An AI-powered desktop virtual assistant that automates tasks, understands voice or text commands, and helps users perform daily activities efficiently.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

42 Commits

Folders and files

Repository files navigation

Desktop AI Vitual Assistant🔥

Have you ever wondered how cool it would be to have your own assistant? Imagine how easier it would be doing Wikipedia searches without opening web browsers, and performing many other daily tasks like playing music with the help of a single voice command, opening different browsers in just a voice command.

This project is simple desktop voice assistant built with python named as “Desktop AI Vitual Assistant”. This project is fully completed and error free. It was compiled in VS Code Editor.# Desktop AI Vitual Assistant 🔥

Jarvis AI

Have you ever wondered how cool it would be to have your own assistant? Imagine how easier it would be doing Wikipedia searches without opening web browsers, and performing many other daily tasks like playing music with the help of a single voice command, opening different browsers in just a voice command.

This project is a desktop voice assistant built with Python named "Jarvis Desktop Voice Assistant". This project features both a console version and a modern GUI version with a futuristic interface. It was compiled in VS Code Editor.

🔸 Let's be honest, it's not as intelligent as in the movie, but it can do a lot of cool things and automate your daily tasks you do on your personal computers/laptops.


📌 Built with

Python License Status


📌 Features

It can do a lot of cool things, some of them being:

  • ✅ Greet user based on time of day
  • ✅ Tell current time and date
  • ✅ Modern GUI Interface with cyberpunk theme and animations
  • ✅ Voice Recognition - Natural language processing
  • ✅ Text-to-Speech - Assistant responds with voice
  • ✅ Wikipedia Search - Quick information lookup
  • ✅ Open any website (YouTube, Google, etc.)
  • ✅ Play music from your Music folder
  • ✅ Take screenshots with custom filenames
  • ✅ Tell jokes - Programming humor
  • ✅ System control - Shutdown/restart commands
  • ✅ Customizable name - Rename your assistant
  • ✅ Color-coded console - Visual feedback for actions

📌 Screenshots

GUI Version

(Modern cyberpunk-themed interface with real-time voice feedback)

Console Version

(Classic terminal-based interface)


📌 Requirements

  • Python 3.12+
  • Windows OS
  • Microphone (for voice commands)
  • Internet connection (for speech recognition and Wikipedia)

📌 Installation

1. Fork The Repository

  • Click the "Fork" button on the top right corner of the repository page.

2. Clone The Repository

  • Clone the forked repository to your local machine:
    git clone https://github.com/YOUR_USERNAME/Jarvis-Desktop-Voice-Assistant.git
    cd Jarvis-Desktop-Voice-Assistant

3. Create and Activate a Virtual Environment

  • Create a virtual environment:
    python -m venv .venv
  • Activate the virtual environment:
    • For Windows:
      .venv\Scripts\activate
    • For macOS/Linux:
      source .venv/bin/activate
  • This activates the virtual environment and should look like (.venv) directory/of/your/project>

4. Install Requirements

  • Install all the requirements given in requirements.txt:
    pip install -r requirements.txt

5. Install PyAudio (Important!)

  • For Windows with Python 3.12, use PyAudioWPatch:
    pip install PyAudioWPatch
  • If you face issues, follow the instructions here

6. Run the Assistant

  • GUI Version (Recommended):
    python jarvis_gui.py
  • Console Version:
    python jarvis.py
  • Now enjoy your own assistant! 🎉

7. Deactivate the Virtual Environment

  • After you're done, deactivate the virtual environment:
    deactivate

📌 Voice Commands

Command Action
"What's the time?" Tells current time
"What's the date?" Tells current date
"Wikipedia Python programming" Searches Wikipedia
"Play music" Plays random song from Music folder
"Open YouTube" Opens YouTube in browser
"Open Google" Opens Google in browser
"Take a screenshot" Captures screen
"Tell me a joke" Tells a programming joke
"Change your name" Rename the assistant
"Shutdown" Shutdown computer
"Restart" Restart computer
"Offline" / "Exit" Close the assistant

📌 Project Structure

Jarvis-Desktop-Voice-Assistant/
│
├── .venv/                    # Virtual environment
├── jarvis_gui.py            # GUI version with modern interface
├── jarvis.py                # Console version
├── assistant_name.txt       # Stores custom assistant name
├── requirements.txt         # Python dependencies
├── README.md               # Project documentation
├── .gitignore              # Git ignore file
└── LICENSE                 # MIT License

🛠️ Configuration

Change Assistant Name

Say: "AI" and speak the new name.

Adjust Voice Settings

Edit these lines in the code:

engine.setProperty('rate', 150)      # Speech speed
engine.setProperty('volume', 1.0)    # Volume (0.0 to 1.0)

Microphone Sensitivity

Adjust in code:

r.energy_threshold = 300  # Lower = more sensitive

🐛 Troubleshooting

❌ No microphone detected

  • Check if microphone is plugged in
  • Enable microphone in Windows Settings → Privacy → Microphone
  • Set default microphone in Sound settings

❌ Speech recognition not working

  • Check internet connection (Google Speech API requires internet)
  • Speak clearly and close to microphone
  • Reduce background noise

❌ PyAudio installation fails

pip install PyAudioWPatch

❌ distutils module error

pip install setuptools

📌 Contributing

Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.

How to Contribute:

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📝 To-Do / Future Enhancements

  • Add web scraping capabilities
  • Weather information integration
  • Email reading and sending
  • Calendar management
  • Smart home control
  • Multiple language support
  • Custom wake word detection ("Hey Jarvis")
  • Task reminder system
  • News headlines reading
  • System performance monitoring

📌 Author

👤 Your Name


📌 Acknowledgments

  • Built with Python and ❤️
  • Thanks to all open-source contributors
  • Special thanks to the Python community

📌 Show your support

Please ⭐️ this repository if this project helped you!


📌 License

This project is MIT licensed.


📌 Connect with me

Feel free to reach out if you have any questions or suggestions!

Made with ❤️ and Python

🔸 Let's be honest, it's not as intelligent as in the movie, but it can do a lot of cool things and automate your daily tasks you do on your personal computers/laptops.

📌Built with

📌Features

It can do a lot of cool things, some of them being:

  • Greet user
  • Tell current time and date
  • Launch applications/softwares
  • Open any website
  • Tells about any person (via Wikipedia)
  • Can search anything on Google
  • Plays music
  • Take important note in text file
  • Can take screenshot and save it with custom filename
  • Can tell jokes

Requirements

Python 3.6+

📌Installation

  1. Fork The Repository

    • Click the "Fork" button on the top right corner of the repository page.
  2. Clone The Repository

    • Clone the forked repository to your local machine:
      git clone <URL>
      cd Jarvis-Desktop-Voice-Assistant
  3. Create and Activate a Virtual Environment

    • Create a virtual environment:
    python -m venv .venv
  • Activate the virtual environment:
    • For Windows:
      .venv\Scripts\activate
    • For macOS/Linux:
      source .venv/bin/activate
  • This activates the virtual environment and should look like (venv) directory/of/your/project>
  1. Install Requirements

    • Install all the requirements given in requirements.txt by running the command pip install -r requirements.txt
  2. Install PyAudio

    • Follow the instructions given here
  3. Run the Assistant

  • Run the main script:
    python jarvis.py
  • Now Enjoy with your own assistant !!!!
  1. Deactivate the Virtual Environment
    • After you're done, deactivate the virtual environment:
      deactivate

📌Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

📌Show your support

Please ⭐️ this repository if this project helped you!

📌License

This project is MIT licensed.

About

An AI-powered desktop virtual assistant that automates tasks, understands voice or text commands, and helps users perform daily activities efficiently.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages