Skip to main content

AI 终端助手 — 自然语言转 Shell 命令 + 智能错误诊断

Project description

AI 终端助手 (ai-terminal)

把你的终端变聪明 — 自然语言转 Shell 命令 + 智能错误诊断

PyPI version Python 3.10+ License MIT

安装

pip install ai-terminal
ai setup

使用

# 自然语言 → Shell 命令并执行
ai 查看磁盘使用情况
ai 找到所有大于100MB的文件
ai 杀掉占用8080端口的进程

# 解释命令
ai -e "docker-compose up -d"
ai -e "git rebase -i HEAD~3"

# 诊断错误
ai -f "docker: command not found"
ai -f "npm install 报 EACCES 错误"

# 分析 Shell 历史
ai -H

# 搜索解决方案(Pro 版)
ai -S "nginx 502 bad gateway"

# 优化命令
ai -O "find . -name *.py | xargs wc -l"

功能

功能 免费版 Pro (¥30/月)
自然语言→命令 ✅ 10次/天 ✅ 无限
命令安全分类
错误诊断
AI 解释命令
Shell 历史分析
Web 搜索诊断
命令优化

配置 LLM

ai -c

支持 OpenAI / Anthropic / Ollama(本地)

许可证

MIT

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

ai_shell_hub-0.1.0-py3-none-any.whl (802.3 kB view details)

Uploaded Python 3

File details

Details for the file ai_shell_hub-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ai_shell_hub-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 802.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for ai_shell_hub-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 48998f023d9ae362e0340d7d0f51c852db4770077578891b363f012fcd2bd09b
MD5 1ea9472a0c49563f680d8238ac8aa5a1
BLAKE2b-256 132a92e65f1dee1af10ac0885f07289a0ee99ecd48f77aab33257e348d3b7543

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