Jarvis-Desktop-Voice-Assistant

kishanrajput23MIT活跃维护

基于 Python 的桌面语音助手,把语音识别和语音合成串起来,让你用说话的方式执行系统级命令、异步处理交互。

A python based desktop voice assistant capable of executing system-level commands, integrating speech recognition and text-to-speech, and handling asynchronous user interactions.

暂无版本1,047star2,613fork同步于 2026-11-07 07:30 UTC

怎么上手

由 README 提炼,执行前请确认
python -m venv .venv
pip install -r requirements.txt
python jarvis.py
硬件要求按 README 说明

README 未说明显存或 GPU 要求;需要麦克风和扬声器做语音交互,支持 Linux(Fedora、Ubuntu/Debian)和 Windows。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

Python 桌面语音助手,用语音执行系统命令、搜索网页和播放音乐

基于 Python 的桌面语音助手,把语音识别和语音合成串起来,让你用说话的方式执行系统级命令、异步处理交互。

核心能力

  • 双语识别与回复,支持法语和英语
  • 用语音重启或关机系统
  • 语音打开浏览器、搜索维基百科并朗读摘要
  • 截图、记笔记、播放本地音乐、讲笑话
  • 用 STRINGS 字典集中管理多语言文案

容易踩的坑

PyAudio 在 Windows 上常因缺少 Microsoft Visual C++ 构建工具装不上,需按 README 链接处理;Linux 需先装 python3-tk、python3-dev、scrot 等系统依赖;语音识别依赖联网调用,离线环境不可用。

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

0 个版本

暂无 release 数据(可能没有发版,或尚未同步)。

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    Jarvis Desktop Voice 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 “Jarvis Desktop Voice Assistant”. This project is fully completed and error free. 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

    📌 Features

    Jarvis is now more powerful and bilingual! Some of its key features include:

    • Bilingual Support (FR/EN): Native ability to understand and respond in both French and English.
    • Cross-Platform: Fully compatible with Linux (Fedora, Ubuntu/Debian) and Windows.
    • Greet User: Greets you based on the time of day.
    • Time & Date: Tells you the current time and date in the chosen language.
    • System Control: Restart or Shut down your system via voice commands.
    • Web Browsing: Open YouTube, Google, or any website.
    • Wikipedia: Search for information and get a voice summary.
    • Entertainment: Play music from your local library or tell jokes.
    • Productivity: Take screenshots and save notes.

    📌 Key Advantages

    Why choose this version of Jarvis?

    1. Seamless Bilingualism: No need to manually switch languages. Jarvis detects the intent and adapts its voice and vocabulary dynamically.
    2. Linux Ready: Optimized for modern Linux environments using systemctl for power management and xdg-open for media.
    3. Modular Architecture: Built with a centralized translation system (STRINGS dictionary), making it extremely easy to add new languages or modify existing ones.
    4. Zero-Latency Logic: Optimized command handling replacing complex decision trees with a lean, mapping-based approach.
    5. Clean & Maintainable: Refactored according to NASA-inspired coding standards for maximum reliability.

    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>

    4. Install Requirements

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

    5. System Prerequisites (Linux Only)

    Before running Jarvis on Linux, you need to install some system dependencies:

    • For Ubuntu/Debian:
      sudo apt-get install -y python3-tk python3-dev scrot
      
    • For Fedora:
      sudo dnf install -y python3-tkinter python3-devel scrot
      

    6. Install PyAudio

    • Follow the instructions given here
    1. 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.

    📌Author

    👤 Kishan Kumar Rai

    📌Show your support

    Please ⭐️ this repository if this project helped you!

    📌License

    This project is MIT licensed.

    📌Learning Resources to Extend This Project

    To build this project further and enhance its capabilities, a strong understanding of the following areas is recommended:

    🐍 Python Fundamentals

    Python is the core language behind this project. A solid grasp of syntax, control flow, functions, and error handling will help you modify and extend the assistant’s functionality.
    👉 Python Programming Course

    🎙️ Voice Processing & NLP

    Voice commands are processed using speech and text-based techniques. Understanding Natural Language Processing (NLP) concepts such as tokenization and text analysis can help improve voice interaction.
    👉 Introduction to NLP

    🤖 Intelligence & Generative AI

    Currently, the assistant follows predefined logic. By integrating Generative AI concepts, it can be enhanced into a conversational assistant capable of generating intelligent responses and performing web-based tasks.
    👉 Introduction to Generative AI

    👁️ Computer Vision

    To make the assistant more advanced, computer vision can be introduced for features like face detection and gesture control. Learning image and video processing fundamentals is a good starting point.
    👉 Computer Vision Essentials

    📄 Related Reading

    For a conceptual overview of building voice assistants in Python, you can refer to this article: CLICK HERE


    Some learning resources mentioned above are shared as part of an educational collaboration.