Skip to main content

智能语音助手系统 - 类似钢铁侠中的贾维斯(JARVIS)

Project description

🤖 Jws - 智能语音助手系统

项目简介

Jws 是一个类似钢铁侠中贾维斯(JARVIS)的智能语音助手系统,运行在 macOS 上,具有以下核心功能:

  • 🎤 语音识别:听懂你说的话
  • 🧠 智能理解:理解你的意图和指令
  • 系统控制:在系统上所有app内执行操作
  • 🔐 最高权限:具有除你之外的最高系统权限
  • 🎯 指示级操作:你说什么,它就能做到什么

核心特性

1. 语音交互

  • 实时语音识别
  • 自然语言理解
  • 语音反馈(TTS)

2. 系统控制

  • 应用启动和切换
  • 文件操作
  • 系统设置控制
  • GUI自动化

3. 智能助手

  • 上下文理解
  • 多轮对话
  • 任务规划
  • 自动化执行

技术栈

  • Python 3.9+ - 主要开发语言
  • SpeechRecognition - 语音识别
  • pyttsx3 / gTTS - 语音合成
  • AppleScript - macOS 系统控制
  • PyAutoGUI - GUI自动化
  • OpenAI API (可选) - 高级NLP理解
  • macOS Accessibility API - 系统权限

项目结构

Jws/
├── src/                    # 源代码
│   ├── core/              # 核心功能
│   │   ├── voice_recognition.py    # 语音识别
│   │   ├── command_parser.py       # 指令解析
│   │   ├── system_controller.py    # 系统控制
│   │   └── app_controller.py       # 应用控制
│   ├── utils/             # 工具函数
│   │   ├── audio.py      # 音频处理
│   │   └── permissions.py # 权限管理
│   └── main.py           # 主程序入口
├── config/                # 配置文件
│   └── settings.json     # 系统配置
├── requirements.txt       # 依赖包
├── setup.py              # 安装脚本
└── README.md             # 项目说明

快速开始

安装依赖

pip install -r requirements.txt

运行

python src/main.py

权限配置

Jws 需要以下 macOS 权限:

  • ✅ 辅助功能权限(控制其他应用)
  • ✅ 屏幕录制权限(GUI自动化)
  • ✅ 麦克风权限(语音识别)
  • ✅ 完全磁盘访问权限(文件操作)

使用示例

你: "打开Safari浏览器"
Jws: "正在打开Safari..."

你: "帮我写一封邮件给张三,主题是项目进度"
Jws: "正在打开邮件应用,准备编写邮件..."

你: "切换到Chrome,打开GitHub"
Jws: "已切换到Chrome,正在打开GitHub..."

开发计划

  • 项目初始化
  • 语音识别模块
  • 指令解析模块
  • 系统控制模块
  • 应用控制模块
  • 权限管理
  • 用户界面
  • 配置系统

注意事项

⚠️ 安全提示

  • Jws 具有系统最高权限,请妥善保管
  • 建议设置启动密码或生物识别验证
  • 定期更新和检查系统安全

许可证

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jws_voice_assistant-1.0.2.tar.gz (21.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jws_voice_assistant-1.0.2-py3-none-any.whl (26.0 kB view details)

Uploaded Python 3

File details

Details for the file jws_voice_assistant-1.0.2.tar.gz.

File metadata

  • Download URL: jws_voice_assistant-1.0.2.tar.gz
  • Upload date:
  • Size: 21.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.10

File hashes

Hashes for jws_voice_assistant-1.0.2.tar.gz
Algorithm Hash digest
SHA256 69392463520669900b3ae4b5c3199c10f4b055a75c5af0c9ec6d7e00e54259be
MD5 b27f411a249b2c288ceef652b75aac72
BLAKE2b-256 64d67e7f89eede5122a257cc65ba154c2ce3dd08b73b85e3524f25b1cc136633

See more details on using hashes here.

File details

Details for the file jws_voice_assistant-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for jws_voice_assistant-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 81ac1d12d26d3ca79dfe8c4df8be46fc9e14f993f725fe33f594ebf78655ce24
MD5 a444ea2d7ce8c8b5cce5cb3754c9e2db
BLAKE2b-256 9fe4ebe387e80a9994f1e46b3f1fb579106d8da7cd6f755a26f38b7a6b69d01f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page