跳到正文
原文
Simon Willison·· 3 天前AI 评分29

Simon Willison 用 Codex 和 GPT-6 Astra Extra High 打造 web-edit 0.1a0

web-edit 0.1a0

AI 导读

Simon Willison 用 Codex 与 GPT-6 Astra Extra High 构建了 Python Web 应用 web-edit 0.1a0,通过网页 UI 查看和编辑文件夹内文件,可在 Tailscale 网络下由智能体启动,用手机直接改文件而不必让凭据经过 LLM。文件浏览与编辑基于 CodeMirror 6,因其移动端体验优于 Monaco。

正文

I was working on a project from my phone using Codex Remote when I found myself wanting to edit a credentials file without round-tripping those credentials through the LLM itself.

So... I had Codex and GPT-6 Astra Extra High build this Python web app which provides a web UI for viewing and editing files in a folder. It's intended to be run over Tailscale, so I can have an agent start this running and then edit files via my Tailscale network directly from my phone.

Here's the interface for browsing files in a folder:

Screenshot of a web file manager interface. Header reads "WORKSPACE" above the title "Files", with buttons "Refresh", "Upload files" and "New file" (dark green). A breadcrumb shows "web-edit / web_edit / static". A table with columns "Name", "Size", "Modified" lists four files, each with "Download ↓" and "Delete" links: "app.css" 8.4 KB Oct 12, 2026; "app.js" 671.5 KB Oct 12, 2026; "index.html" 4.3 KB Oct 12, 2026 (underlined, as if hovered); "THIRD_PARTY_LICENSES.txt" 32.3 KB Oct 12, 2026. Below the table: "Images under 2 MB appear inline. Select a text file to edit it." A panel below is labelled "UPLOAD QUEUE" with heading "Add files" and a "Close" button. It has a "Destination folder" text field containing "web_edit", then a dashed drop zone reading "Choose files or drop them here" and "Set a path and filename for each file before uploading." with a "Choose Files" button and the text "no files selected". A greyed-out "Upload files" button sits at the bottom right.

Editing uses CodeMirror 6 - I was going to use Monaco but that still doesn't have a great mobile experience yet.

来源:Simon Willison · simonwillison.net