Skip to main content

一款简单的终端 AI 助手

Project description

simple

更适合中国宝宝体质的终端 AI 助手

在终端里和 AI 对话,直接读写文件、执行命令、生成 PPT、制作简历。不只是程序员的工具,任何人都能用。

特性

  • 对话即操作 — 用自然语言读写文件、执行命令、搜索代码
  • 一句话做 PPT — AI 生成设计稿,自动转换为原生可编辑 PPTX
  • AI 简历生成 — 提供信息 + 岗位 JD,直接输出 PDF 简历
  • 项目记忆 — 自动记住你项目的上下文,跨会话延续对话
  • 自定义 Skill — 用 Markdown 定义工作流,一个命令触发
  • 危险操作保护 — 高危命令自动弹出确认,不会误删你的代码
  • 流式输出 — 实时显示回复,终端内 Markdown 渲染

安装

pip install simple-code

需要 Python >= 3.9。首次启动会引导你配置 DeepSeek API Key。

快速开始

# 在你的项目目录下启动
cd your-project
simple

然后直接用中文对话:

> 帮我看看这个项目的结构
> 把 main.py 里的报错修一下
> 做一个10页的产品介绍PPT
> 帮我写一份投递字节的简历

快捷键

按键 功能
Enter 提交输入
Ctrl+Enter 换行
Ctrl+O 展开/折叠工具调用详情
Ctrl+C × 2 退出

自定义 Skill

~/.simple-code/skills/ 目录下创建 .md 文件即可:

<!-- ~/.simple-code/skills/review.md -->
请审查当前项目的代码,重点检查:
1. 潜在的 bug
2. 安全漏洞
3. 性能问题

对话中输入 /review 触发,也可以附加参数:/review 只看 main.py

技术栈

  • DeepSeek API — 大模型推理
  • Textual — 现代终端 TUI 框架
  • Rich — Markdown 渲染、语法高亮
  • python-pptx — PPT 生成
  • xhtml2pdf — PDF 生成

License

GPL-3.0

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

jiandanai-0.0.1.tar.gz (59.9 kB view details)

Uploaded Source

Built Distribution

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

jiandanai-0.0.1-py3-none-any.whl (69.8 kB view details)

Uploaded Python 3

File details

Details for the file jiandanai-0.0.1.tar.gz.

File metadata

  • Download URL: jiandanai-0.0.1.tar.gz
  • Upload date:
  • Size: 59.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for jiandanai-0.0.1.tar.gz
Algorithm Hash digest
SHA256 78a2b44ac441fc8441b1c763a36dd5a6c2f85d4c871f3755dd0c5ca10d15d9b1
MD5 69759cca1910160988937d56c1c9dd08
BLAKE2b-256 b69339cff2905fc93fb0e702954f19f5028c4259acb77754017b73a736e457ad

See more details on using hashes here.

File details

Details for the file jiandanai-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: jiandanai-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 69.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for jiandanai-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6cb980ce8ffc47a95f9da7f74a94308060c4e1a203e140f83f6de8403b4694e8
MD5 00aa9691771a8d65a40fcf2e20145d56
BLAKE2b-256 98a425d254083a458e8d4749937f790c782175bd154e3800cd5152690fe8ac49

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