Skip to main content

一款简单的终端 AI 助手

Project description

simple

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

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

特性

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

安装

pip install jiandanai

需要 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.2.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.2-py3-none-any.whl (69.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jiandanai-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 50a3c5baec593fbaaafee20847743bc2c9d23f326d7b57a08c3ae1222377c292
MD5 c952b6e7096c06688754c8bf9320695d
BLAKE2b-256 8955e7e4ae5dadf946465dd2a21f20db24aa5130a480a0d77ea804a1731d99ed

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jiandanai-0.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7b5f59a422584ef6f7435a317559af7e45cdcfc2f10a589c32b90e617f1d927d
MD5 8e0b554246313cd1195625d914461f5e
BLAKE2b-256 ac9f077adad1f10bbd65c84dad4126840bbfb3cde4944a14577b1d1cb5b24ab2

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