Skip to content

Commit 45505e5

Browse files
Polish README docs links
1 parent 265cc6c commit 45505e5

1 file changed

Lines changed: 115 additions & 117 deletions

File tree

README.md

Lines changed: 115 additions & 117 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
<img src="https://img.shields.io/badge/App%20Store-Download-black?style=for-the-badge&logo=apple" alt="Download on App Store" height="40" />
1515
</a>
1616
&nbsp;
17+
<a href="https://pythonide.xin/docs/">
18+
<img src="https://img.shields.io/badge/Docs-pythonide.xin-3776AB?style=for-the-badge" alt="PythonIDE docs" height="40" />
19+
</a>
20+
&nbsp;
1721
<a href="https://github.com/jinwandalaohu66/PythonIDE-iOS">
1822
<img src="https://img.shields.io/github/stars/jinwandalaohu66/PythonIDE-iOS?style=for-the-badge&logo=github" alt="GitHub stars" height="40" />
1923
</a>
@@ -24,200 +28,194 @@
2428
<img src="https://img.shields.io/badge/Python-3.13-3776AB?style=flat-square&logo=python" alt="Python 3.13" />
2529
<img src="https://img.shields.io/badge/Swift-5.9-FA7343?style=flat-square&logo=swift" alt="Swift" />
2630
<img src="https://img.shields.io/badge/AI-Agent-6D5DFB?style=flat-square" alt="AI Agent" />
27-
<img src="https://img.shields.io/badge/Widgets-MiniApps-F2C94C?style=flat-square" alt="Widgets and MiniApps" />
31+
<img src="https://img.shields.io/badge/Widget-MiniApp-F2C94C?style=flat-square" alt="Widget and MiniApp" />
2832
<img src="https://img.shields.io/badge/SSH-Git-22C55E?style=flat-square" alt="SSH and Git" />
2933
</p>
3034

3135
---
3236

33-
## What is PythonIDE?
37+
## 项目定位
3438

35-
PythonIDE is a mobile Python workspace for iPhone and iPad. It is not only a code editor or a local Python runner: it connects scripts with AI Agent workflows, widgets, MiniApps, remote servers, Git repositories, iOS automation, and a script community.
39+
PythonIDE 不是只把桌面 IDE 缩小到手机屏幕里。它更像是一套 iOS 上的 Python 工作流:你可以在 iPhone / iPad 上管理文件、编辑代码、运行脚本、安装库、让 AI Agent 处理项目任务,也可以继续把脚本做成小组件、MiniApp、快捷指令自动化、服务器脚本或社区作品。
3640

37-
The goal is simple:
41+
核心目标是让 Python 脚本不只停在编辑器和控制台里:
3842

3943
```text
40-
Write a script
41-
-> run and inspect it locally
42-
-> ask Agent to edit, debug, or complete the task
43-
-> turn the result into a Widget, MiniApp, Shortcut, server workflow, or shared script
44+
写脚本
45+
-> 本地运行和调试
46+
-> 让 AI Agent 修改、验证和修复
47+
-> 接入 Widget / MiniApp / Shortcuts / SSH / Git / 社区脚本库
4448
```
4549

46-
PythonIDE is built for mobile scenarios where a script should become something you can run, reuse, automate, display, deploy, or share directly from iPhone / iPad.
47-
4850
---
4951

50-
## Highlights
52+
## 核心能力
5153

52-
| Area | What it brings to PythonIDE |
54+
| 能力 | 说明 |
5355
|---|---|
54-
| **AI Agent** | AI chat, inline edits, project task execution, cross-file read/write, Python execution, tool calling, BYOK and platform quota |
55-
| **Widgets** | Python script widgets, Widget Studio, preview, Home Screen / Lock Screen widgets, Control Center controls, Live Activity / Dynamic Island |
56-
| **MiniApp** | MiniApp launcher, editor, packaging, import/export, AppUI / HTML / WebBridge runtimes, hidden libraries, logs |
57-
| **SSH / Server** | SSH connections, terminal, SFTP file manager, server monitoring, deployment, key management, command snippets |
58-
| **Git / WebDAV** | Repository status, diff, staging, commits, sync, history, branches, remotes, stash, tags, conflict handling, WebDAV remote files |
59-
| **Script Community** | Browse, categorize, view details, import, run, submit, review, like, and discover scripts from other users |
56+
| **AI Agent** | AI 聊天、行内编辑、Agent 执行项目任务、跨文件读写、运行 Python、工具调用、BYOK 与平台额度 |
57+
| **小组件 / Widget** | Python 脚本小组件、Widget Studio、预览、桌面/锁屏组件、Control Center 控件、Live Activity / 灵动岛 |
58+
| **MiniApp** | MiniApp 启动器、创建、编辑、打包、导入导出、AppUI / HTML / WebBridge 运行、隐藏库、日志中心 |
59+
| **SSH / 服务器** | SSH 连接、终端、SFTP 文件管理、服务器监控、部署、密钥管理、命令片段 |
60+
| **Git / WebDAV** | 仓库状态、diff、暂存、提交、同步、历史、分支、远端、stash、tags、冲突处理;WebDAV 远程文件 |
61+
| **社区 / 脚本库** | 脚本浏览、分类、详情、导入、运行、投稿、审核、点赞、用户资料 |
62+
| **本地 Python 环境** | Python 3.13、本地运行、JavaScriptCore、HTML 预览、Rich/ANSI 输出、图片/图表/HTML 内联输出 |
6063

6164
---
6265

63-
## Core Workflows
66+
## 典型工作流
6467

65-
### AI-assisted project work
68+
### 让 Agent 处理项目任务
6669

67-
Use Agent when a task is larger than a single edit. It can inspect project files, modify code, run Python, read output, continue from errors, and coordinate with tools such as Git, SSH, MiniApp, web, or native capability adapters.
70+
当任务不只是改一行代码时,Agent 可以读取项目、修改文件、运行 Python、查看输出,并根据错误继续修复。
6871

69-
| Workflow | Example |
72+
| 场景 | Agent 可以做什么 |
7073
|---|---|
71-
| Fix a failing script | Read traceback, locate files, patch code, rerun Python |
72-
| Modify a project | Create or update multiple files with context |
73-
| Prepare a MiniApp | Generate AppUI / HTML structure and connect script logic |
74-
| Work with remote tasks | Combine project context with SSH / SFTP workflows |
75-
| Control model usage | Use platform quota or bring your own API key |
74+
| 修复脚本报错 | 读取 traceback,定位文件,修改代码,重新运行 |
75+
| 跨文件任务 | 读取多个文件后统一修改、创建或整理项目结构 |
76+
| MiniApp / Widget 接入 | 生成结构、连接脚本逻辑、辅助调试 |
77+
| 远程任务 | 配合 SSH / SFTP / Git 工作流处理服务器或项目问题 |
78+
| 模型使用 | 支持平台额度,也支持自带 API Key |
7679

77-
### From script to system entry
80+
### 把脚本变成 iOS 入口
7881

79-
Some scripts are not meant to stay in the console. PythonIDE gives them mobile entry points:
82+
很多脚本不是为了运行一次,而是为了长期使用。PythonIDE 提供多个移动端出口:
8083

81-
| Output form | Good for |
84+
| 出口 | 适合场景 |
8285
|---|---|
83-
| **Widget** | Daily data, status cards, counters, dashboards, quick glance information |
84-
| **Control Center** | Fast script actions and controls |
85-
| **Live Activity / Dynamic Island** | Long-running tasks and visible run status |
86-
| **Shortcuts / App Intents** | Script automation from Siri, Shortcuts, and system actions |
87-
| **Share Extension** | Import or process content shared from other apps |
88-
| **MiniApp** | Script tools that need UI, forms, lists, logs, or packaging |
86+
| **控制台** | 临时运行、调试、查看 Rich / ANSI / 图片 / 图表 / HTML 输出 |
87+
| **Widget** | 每日数据、状态卡片、进度、统计、主屏/锁屏信息 |
88+
| **Control Center** | 快速触发脚本或控制动作 |
89+
| **Live Activity / 灵动岛** | 长任务状态、运行进度、可见反馈 |
90+
| **快捷指令 / App Intents** | Siri、自动化、运行脚本、运行剪贴板代码、查询输出 |
91+
| **Share Extension** | 从其他 App 分享内容进入 PythonIDE 处理 |
92+
| **MiniApp** | 带界面的小工具、表单、列表、日志、状态反馈 |
8993

90-
### Real project and server workflows
94+
### 接入真实项目和服务器
9195

92-
PythonIDE also connects local scripts with real development infrastructure:
96+
PythonIDE 也可以处理更接近开发者工作流的任务:
9397

94-
| Area | Capabilities |
98+
| 工作流 | 能力 |
9599
|---|---|
96-
| **Git** | Status, diff, staging, commit, sync, history, branch, remote, stash, tags, conflict handling |
97-
| **SSH** | Terminal, command snippets, password/key auth, deployment, server monitoring |
98-
| **SFTP** | Remote browsing, upload/download, remote editing, batch operations |
99-
| **WebDAV** | Remote directories, upload/download, remote editing, favorites, cache, certificate pinning |
100-
| **SQLite** | Local database browsing and inspection workflows |
100+
| **Git** | 状态、diff、暂存、提交、同步、历史、分支、远端、stashtags、冲突处理 |
101+
| **SSH** | 连接服务器、交互式终端、命令片段、部署、服务器监控 |
102+
| **SFTP** | 远程目录、上传下载、远程编辑、批量操作 |
103+
| **WebDAV** | 远程目录、上传下载、远程编辑、收藏、缓存、证书固定 |
104+
| **SQLite** | 本地数据库浏览和检查 |
101105

102106
---
103107

104-
## Feature Overview
108+
## 功能总览
105109

106-
| Module | Capabilities |
110+
| 模块 | 能力 |
107111
|---|---|
108-
| **Home / File Management** | Local files and folders, import, external folders, search, sorting, pinning, color labels, batch actions, trash, preview |
109-
| **Code Editor** | Python / JavaScript / HTML / CSS / JSON / Markdown editing, syntax highlighting, shortcut bar, find & replace, Jedi completion, Python lint, AI inline edits |
110-
| **Runtime & Console** | Local Python 3.13, JavaScriptCore, HTML preview, interactive `input()`, Rich / ANSI output, inline images, charts and HTML, error jump and repair entry |
111-
| **AI Agent** | AI chat, Agent execution, cross-file read/write, Python execution, Git / SSH / MiniApp / web / native tool calling, BYOK and platform quota |
112-
| **Community / Script Library** | Browse scripts, categories, details, import, run, submit, review, like, user profiles |
113-
| **MiniApp** | Launcher, creation, editing, packaging, import/export, AppUI / HTML / WebBridge runtime, hidden libraries, log center |
114-
| **Widgets** | Python script widgets, Widget Studio, preview, Home Screen / Lock Screen widgets, Control Center controls, Live Activity / Dynamic Island |
115-
| **SSH / Server** | SSH connection, terminal, SFTP file manager, monitoring, deployment, key management, command snippets |
116-
| **Git** | Repository status, diff, staging, commit, sync, history, branch, remote, stash, tags, conflict handling |
117-
| **WebDAV** | WebDAV server, remote directories, upload/download, remote editing, batch operations, favorites, cache, certificate pinning |
118-
| **Toolbox** | Encoding/decoding, JSON, API debugging, QR code, image URL, HTML to image, timestamp, base conversion, regex, direct download |
119-
| **Package Management** | Built-in Python packages, C extension packages, Wheel install, PyPI search/install, package recommendations |
120-
| **iOS Native Modules** | `photos`, `contacts`, `location`, `motion`, `speech`, `notification`, `vision`, `device`, `network`, `haptics`, `calendar`, `bluetooth`, `health`, `sound`, `websocket`, and more |
121-
| **Shortcuts / Automation** | App Intents, run script, run clipboard code, save text as script, query run status/output, stop run, x-callback-url |
122-
| **Settings / Security / Personalization** | AI settings, appearance, editor, console, widgets, privacy, app lock, Keychain, app icons, BYOK, Premium, donation benefits, help and feedback |
123-
| **Supporting Modules** | Share Extension import, SQLite browser, developer docs center, AgentSkillsV2 skill system |
112+
| **首页 / 文件管理** | 本地文件、文件夹、导入、外部文件夹、搜索、排序、置顶、颜色标记、批量操作、回收站、文件预览 |
113+
| **代码编辑器** | Python / JS / HTML / CSS / JSON / Markdown,语法高亮、快捷输入栏、查找替换、Jedi 补全、Python lintAI 行内编辑 |
114+
| **运行与控制台** | Python 3.13 本地运行、JavaScriptCore 运行、HTML 预览、交互式 inputRich/ANSI 输出、图片/图表/HTML 内联输出、错误跳转和修复入口 |
115+
| **AI Agent** | AI 聊天、Agent 执行项目任务、跨文件读写、运行 PythonGit / SSH / MiniApp / 网页 / 原生能力工具调用、BYOK 和平台额度 |
116+
| **社区 / 脚本库** | 脚本浏览、分类、详情、导入、运行、投稿、审核、点赞、用户资料 |
117+
| **MiniApp** | 启动器、创建、编辑、打包、导入导出、AppUI / HTML / WebBridge 运行、隐藏库、日志中心 |
118+
| **小组件 / Widget** | Python 脚本小组件、Widget Studio、预览、桌面/锁屏组件、Control Center 控件、Live Activity / 灵动岛 |
119+
| **SSH / 服务器** | SSH 连接、终端、SFTP 文件管理、服务器监控、部署、密钥管理、命令片段 |
120+
| **Git** | 仓库状态、diff、暂存、提交、同步、历史、分支、远端、stashtags、冲突处理 |
121+
| **WebDAV** | WebDAV 服务器、远程目录、上传下载、远程编辑、批量操作、收藏、缓存、证书固定 |
122+
| **工具箱** | 编解码、JSONAPI 调试、二维码、图片 URLHTML 转图片、时间戳、进制转换、正则、直链下载 |
123+
| **Python 库管理** | 内置 Python 包、C 扩展包、Wheel 安装、PyPI 搜索安装、包推荐 |
124+
| **iOS 原生模块** | `photos``contacts``location``motion``speech``notification``vision``device``network``haptics``calendar``bluetooth``health``sound``websocket` |
125+
| **快捷指令 / 自动化** | App Intents、运行脚本、运行剪贴板代码、保存文本为脚本、查询运行状态/输出、停止运行、x-callback-url |
126+
| **设置 / 个性化 / 安全 / 付费** | AI 设置、外观、编辑器、控制台、小组件、隐私安全、App 锁、Keychain、换图标、BYOK / Premium / 捐赠权益、帮助反馈、开发者文档 |
127+
| **支撑板块** | Share Extension 分享导入、SQLite 浏览器、开发者文档中心、AgentSkillsV2 技能系统 |
124128

125129
---
126130

127-
## Local Runtime
131+
## 文档入口
128132

129-
PythonIDE includes a local Python runtime designed for iOS:
133+
优先阅读在线文档站点,跳转路径比 GitHub 源文件更适合用户阅读:
130134

131-
| Runtime area | Details |
135+
| 主题 | 在线文档 |
132136
|---|---|
133-
| **Python** | Python 3.13 local execution with standard library support |
134-
| **JavaScript** | JavaScriptCore execution for `.js` workflows |
135-
| **HTML** | WKWebView preview for HTML files and local assets |
136-
| **Console** | Interactive input, ANSI/Rich output, media previews, error jump |
137-
| **Packages** | Built-in packages, C extensions, pure Python wheels, Wheel import, PyPI search/install |
138-
139-
The runtime is the foundation. The larger goal is to let scripts continue into Agent tasks, widgets, MiniApps, automation, remote workflows, and shared community scripts.
140-
141-
---
142-
143-
## Documentation
144-
145-
Detailed API references and implementation guides live in the repository docs. Start here:
146-
147-
| Topic | Link |
137+
| **文档首页** | [pythonide.xin/docs](https://pythonide.xin/docs/) |
138+
| **AppUI / MiniApp** | [AppUI 文档集合](https://pythonide.xin/docs/collections/appui/) |
139+
| **Widget 小组件** | [Widget 文档集合](https://pythonide.xin/docs/collections/widget/) |
140+
| **iOS 原生模块** | [iOS 原生模块集合](https://pythonide.xin/docs/collections/ios-native/) |
141+
| **快捷指令 / 自动化 / 扩展** | [自动化与扩展集合](https://pythonide.xin/docs/collections/automation-extension/) |
142+
| **ui 模块** | [ui 文档集合](https://pythonide.xin/docs/collections/ui/) |
143+
| **scene / turtle** | [scene 文档集合](https://pythonide.xin/docs/collections/scene/) |
144+
| **Widget API 参考** | [widget API reference](https://pythonide.xin/docs/pages/widget-api-reference/) |
145+
| **AppUI 示例** | [AppUI cookbook](https://pythonide.xin/docs/pages/appui-cookbook-index/) |
146+
| **JS API** | [JavaScript API](https://pythonide.xin/docs/pages/js-api/) |
147+
| **C 扩展模块** | [C extensions](https://pythonide.xin/docs/pages/c-extensions-module/) |
148+
149+
仓库内源码文档入口:
150+
151+
| 类型 | 仓库路径 |
148152
|---|---|
149-
| Developer Docs Site | [docs/](docs/) |
150-
| AppUI / MiniApp | [appui.md](pythonide/Docs/appui.md), [miniapp-appui-api-index.md](pythonide/Docs/miniapp-appui-api-index.md), [miniapp-choose-runtime.md](pythonide/Docs/miniapp-choose-runtime.md) |
151-
| Widget API | [widget-api-index.md](pythonide/Docs/widget-api-index.md), [widget-api-reference.md](pythonide/Docs/widget-api-reference.md), [widget-quickstart-publish.md](pythonide/Docs/widget-quickstart-publish.md) |
152-
| iOS Native Modules | [modules-index.md](pythonide/Docs/modules-index.md), [ios-native.md](pythonide/Docs/ios-native.md) |
153-
| Shortcuts / Automation | [shortcuts-guide.md](pythonide/Docs/shortcuts-guide.md), [shortcuts-module.md](pythonide/Docs/shortcuts-module.md) |
154-
| JavaScript Runtime | [js-api.md](pythonide/Docs/js-api.md) |
155-
| C Extensions | [c-extensions-module.md](pythonide/Docs/c-extensions-module.md) |
156-
| Agent Skills | [AgentSkillsV2/](AgentSkillsV2/) |
157-
| Community API | [community-function/API.md](community-function/API.md) |
153+
| Python 模块源文档 | [pythonide/Docs](pythonide/Docs/) |
154+
| AgentSkillsV2 技能系统 | [AgentSkillsV2](AgentSkillsV2/) |
155+
| 社区 API | [community-function/API.md](community-function/API.md) |
158156

159157
---
160158

161-
## Install
159+
## 安装
162160

163161
<p align="center">
164162
<a href="https://apps.apple.com/app/id6753987304">
165163
<img src="https://img.shields.io/badge/App%20Store-Download-black?style=for-the-badge&logo=apple" alt="Download on App Store" height="44" />
166164
</a>
167165
</p>
168166

169-
| Requirement | Detail |
167+
| 要求 | 说明 |
170168
|---|---|
171-
| **System** | iOS 16.2 or later |
172-
| **Device** | iPhone and iPad |
173-
| **Distribution** | App Store |
174-
| **AI usage** | Platform quota and BYOK are supported |
169+
| **系统** | iOS 16.2 或更高版本 |
170+
| **设备** | iPhone / iPad |
171+
| **分发** | App Store |
172+
| **AI 使用** | 支持平台额度和 BYOK |
175173

176174
---
177175

178-
## Screenshots
176+
## 截图
179177

180-
For current screenshots and feature previews, visit the App Store page:
178+
当前截图和功能预览请先查看 App Store 页面:
181179

182180
[View PythonIDE on the App Store](https://apps.apple.com/app/id6753987304)
183181

184-
Recommended repository screenshot set:
182+
后续建议在仓库中补充这些截图:
185183

186-
| Screenshot | Purpose |
184+
| 截图 | 用途 |
187185
|---|---|
188-
| Home / Files | Show file management and project entry |
189-
| Editor + Console | Show coding, execution, Rich output, error jump |
190-
| AI Agent | Show project task execution and diff/apply flow |
191-
| Widget Studio | Show script result turning into widgets |
192-
| MiniApp | Show script tool with UI |
193-
| SSH / Git | Show real project and server workflow |
194-
| Community | Show script discovery, import, and running |
186+
| 首页 / 文件 | 展示文件管理和项目入口 |
187+
| 编辑器 + 控制台 | 展示代码编辑、本地运行、Rich 输出、错误跳转 |
188+
| AI Agent | 展示项目任务、diff、运行验证 |
189+
| Widget Studio | 展示脚本结果变成小组件 |
190+
| MiniApp | 展示脚本工具界面 |
191+
| SSH / Git | 展示真实项目和服务器工作流 |
192+
| 社区脚本库 | 展示脚本发现、导入和运行 |
195193

196194
---
197195

198-
## Community & Feedback
196+
## 社区与反馈
199197

200-
| Channel | Link |
198+
| 渠道 | 链接 |
201199
|---|---|
202200
| Telegram | [iOS 端 Py 编程 IDE](https://t.me/pythonzwb) |
203-
| Feature requests | [GitHub Discussions](https://github.com/jinwandalaohu66/PythonIDE-iOS/discussions) |
204-
| Issues | [GitHub Issues](https://github.com/jinwandalaohu66/PythonIDE-iOS/issues) |
201+
| 功能建议 | [GitHub Discussions](https://github.com/jinwandalaohu66/PythonIDE-iOS/discussions) |
202+
| 问题反馈 | [GitHub Issues](https://github.com/jinwandalaohu66/PythonIDE-iOS/issues) |
205203
| App Store | [PythonIDE on App Store](https://apps.apple.com/app/id6753987304) |
206204

207205
---
208206

209-
## Support Development
207+
## 支持开发
210208

211-
If PythonIDE is useful to you:
209+
如果 PythonIDE 对你有帮助,可以通过这些方式支持后续开发:
212210

213-
- Star this repository so more developers can discover the project.
214-
- Leave an App Store review.
215-
- Send feedback from the app so issues can be reproduced with the right context.
216-
- Support development through the in-app donation / Premium options.
211+
- 给这个仓库点 Star,让更多开发者看到项目。
212+
- App Store 留下评价。
213+
- 通过应用内反馈发送问题和建议。
214+
- 通过应用内 Premium / 捐赠权益支持开发。
217215

218216
---
219217

220218
<p align="center">
221219
<strong>PythonIDE</strong><br/>
222-
Mobile Python workspace for scripts, Agent workflows, widgets, MiniApps, servers, Git, and community scripts.
220+
iPhone / iPad 上的 Python 工作台。
223221
</p>

0 commit comments

Comments
 (0)