🤖 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
Metadata
Release files for jws-voice-assistant 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| jws_voice_assistant-1.0.2.tar.gz | 21.2 kB | Without provenance | Details for jws_voice_assistant-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| jws_voice_assistant-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for jws_voice_assistant-1.0.2-py3-none-any.whl |
Total release size: 47.2 kB
Release files / jws_voice_assistant-1.0.2.tar.gz
| Download URL | jws_voice_assistant-1.0.2.tar.gz |
|---|---|
| Size | 21.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
69392463520669900b3ae4b5c3199c10f4b055a75c5af0c9ec6d7e00e54259be
|
|
BLAKE2b-256 checksum How to use checksums |
64d67e7f89eede5122a257cc65ba154c2ce3dd08b73b85e3524f25b1cc136633
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.10
|
Release files / jws_voice_assistant-1.0.2-py3-none-any.whl
| Download URL | jws_voice_assistant-1.0.2-py3-none-any.whl |
|---|---|
| Size | 26.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
81ac1d12d26d3ca79dfe8c4df8be46fc9e14f993f725fe33f594ebf78655ce24
|
|
BLAKE2b-256 checksum How to use checksums |
9fe4ebe387e80a9994f1e46b3f1fb579106d8da7cd6f755a26f38b7a6b69d01f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.10
|
Security for jws-voice-assistant 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.