跳到主内容
@wquguru
精选86GitHub 新爆发仓库(GitHub)产品发布/更新

Craft Anything:Rust逆向引擎驱动AI自动复刻软件

storytold/craft-anything: Craft Anything: understand how any software works, and craft your own.

原文
发到 X
推荐理由

Agent工程实践的新标杆,将逆向分析与代码生成深度耦合,值得关注其MCP集成能力。

Craft Anything: understand how any software works, and craft your own.

万物皆可打造:理解任何软件的工作原理,并打造你自己的。

GitHub repository created 2026-10-31 · 1244 stars in 1.5 days (about 843 a day) · Rust

GitHub 仓库创建于 2026-10-31 · 1.5 天内获得 1244 颗星(约每天 843 颗)· Rust

Craft Anything

万物皆可打造

English · 日本語 · 简体中文

英语 · 日本語 · 简体中文

See how any website, app or game works, then have AI build your own version; an open-source, clean-room engine in pure Rust. Point it at a target, say what you want, and it studies the original with real inspection tools, has a coding agent build a new project, checks the result against the original and refines it.

查看任何网站、应用或游戏的工作原理,然后让 AI 构建你的版本;一个纯 Rust 编写的开源、干净室引擎。 将其指向目标,说明你的需求,它会使用真实的检查工具研究原版, 由编码代理构建新项目,将结果与原版对比并进行优化。

Download Craft Anything · ArtCraft · All Crafting Apps

下载 Craft Anything · ArtCraft · 所有制作应用

A website project: each check says how alike the build is, you approve anything outside the rules, and the plan shows what's left.

一个网站项目:每次检查都会显示构建与原版的相似程度,你可以批准规则之外的任何内容,计划会显示剩余的工作量。

> ArtCraft is a community of artists from all walks of life. Painters, photographers, > filmmakers, illustrators, designers, animators, hobbyists, and people who picked up a pencil > last week. If you make things, you're one of us. Come say hi on Discord.

> ArtCraft 是一个来自各行各业的艺术家社区。画家、摄影师、 > 电影制作人、插画师、设计师、动画师、爱好者,以及上周才拿起铅笔的人。如果你创作东西,你就是我们的一员。来 Discord 打个招呼吧。

How it works · Two ways to use it · AI · Agents · Under the hood · Get started · Status · Downloads · Discord

工作原理 · 两种使用方式 · AI · 代理 · 底层机制 · 入门指南 · 状态 · 下载 · Discord

🔍 Study anything Websites, desktop apps, phone apps, games and files: real inspection tools find out how they're built and what they do, with the evidence behind every answer.

🔍 研究任何东西 网站、桌面应用、手机应用、游戏和文件:真实的检查工具找出它们的构建方式和功能,并为每个答案提供证据支持。

🛠️ Build your own Say what you want ("Recreate this website", "Recreate this game's gameplay in Rust") and a coding agent builds a new project in the stack you ask for.

🛠️ 构建你自己的 说出你想要的(“复刻这个网站”,“用 Rust 复刻这个游戏的玩法”),编码代理会在你指定的技术栈中构建一个新项目。

✅ Checked, not guessed Every build is compared with the original (pages at three screen widths, a game's own self-test, an app's runs) and refined until it's close.

✅ 经过检查,而非猜测 每次构建都会与原版进行比较(三个屏幕宽度的页面、游戏自带的自测、应用的运行表现),并不断优化直至接近原版。

🤖 Agent-ready 314 tools, each one a CLI command and an MCP tool, so any agent can drive the same engine the app uses. No AI is needed to inspect.

🤖 代理就绪 314 个工具,每个工具都是一个 CLI 命令和一个 MCP 工具,因此任何代理都可以驱动该应用使用的相同引擎。无需 AI 即可进行检查。

How it works

工作原理

Point Craft Anything at a target, say what you want, and press Start. It works in four steps, asking you in plain words when a decision is yours:

将 Craft Anything 指向目标,说明你的需求,然后按下开始。它分四步工作, 在需要你做决定的时候会用通俗的语言询问你:

1. Study: inspect the original: its pages at every width, its code, its files, how it runs. 2. Build: a coding agent builds a new project, in the language, framework or engine your request names (or a sensible default). 3. Check: compare the build with the original and list what doesn't match yet. 4. Ready: open, play or preview the result, or ask for changes and it refines it.

1. 研究:检查原版:它在各种宽度下的页面、代码、文件及其运行方式。 2. 构建:编码代理根据你请求中指定的语言、框架或引擎(或合理的默认值)构建一个新项目。 3. 检查:将构建结果与原版进行比较,列出尚未匹配的部分。 4. 完成:打开、播放或预览结果,或者要求修改,它会进行优化。

Make: pick what to recreate, say what you want, press Start.

制作:选择要复刻的内容,说明你的需求,按下开始。

Ready: play the game, or ask for changes below.

完成:玩游戏,或在下方要求修改。

Two ways to use it

两种使用方式

  • Simple (default): "What do you want to make?" Pick a website, app or game, describe it, press Start. A project page shows the four steps (Study → Build → Check → Ready), what the agent is doing in plain words, question and approval cards, how alike the result is, and buttons to open the result or its folder. Ask for changes in the box at the bottom. "Just look inside" opens a target for questions without building anything (in Deep mode). - Advanced: the full workbench: every tool (Ctrl/Cmd+K), functions, strings, pseudo-C, disassembly, hex, call graphs, evidence, unknowns, jobs, logs and the agent console.
  • 简单(默认):"你想制作什么?" 选择一个网站、应用或游戏,描述它,然后按下 Start。项目页面会显示四个步骤(Study → Build → Check → Ready)、代理正在执行的操作的通俗说明、问题与审批卡片、结果相似度以及打开结果或其文件夹的按钮。在底部的输入框中提出修改要求。 "Just look inside" 会为提问打开一个目标而不进行任何构建(在 Deep 模式下)。 - 高级模式:完整的工作台:包含所有工具(Ctrl/Cmd+K)、函数、字符串、伪 C 代码、反汇编、十六进制、调用图、证据、未知项、任务、日志和代理控制台。

Both modes drive the same engine.

两种模式驱动的是同一个引擎。

Clean room or Deep

Clean room 或 Deep

  • Clean room (the default): nothing inside the original is read, not its code, files or page source. Craft Anything works from what you can see: pictures you add, the website as a visitor sees it (screenshots, visible text, measured layout, colours, fonts and spacing, menus opened) and, when you allow it, a picture of the app's window. Tools that would look inside are refused and say how to turn on Deep mode. - Deep: every tool is used, for your private use. A program's code and files are read with the built-in engines (and Ghidra when it's installed), a website's JavaScript is read and its start page watched, and the builder may use all of them.
  • Clean room(默认):不会读取原始内容中的任何东西,包括其代码、文件或页面源代码。Craft Anything 基于你能看到的内容工作:你添加的图片、作为访客看到的网站(截图、可见文本、测量的布局、颜色、字体和间距、打开的菜单),以及在允许的情况下,应用窗口的图片。会拒绝那些试图查看内部内容的工具,并说明如何开启 Deep 模式。 - Deep:所有工具均可使用,供你私人使用。程序的代码和文件会通过内置引擎(如果安装了 Ghidra 则使用 Ghidra)进行读取,网站的 JavaScript 会被读取,其起始页面会被监控,且构建器可以使用所有这些资源。

Switch in the title bar or Settings, with `settings_set deep_mode true`, or for one CLI run with `--deep` (or `--clean-room`).

在标题栏或设置中切换,或使用 `settings_set deep_mode true`,或在单次 CLI 运行中使用 `--deep`(或 `--clean-room`)。

Advanced: functions, pseudo-C, the agent and the evidence behind every answer.

高级模式:函数、伪 C 代码、代理以及每个答案背后的证据。

AI

Building needs a coding agent on your computer. Claude Code is supported first: Craft Anything runs your own, unmodified `claude` program, which uses your own sign-in; Craft Anything never sees or handles your account. Your use of it falls under your own agreement with Anthropic. See docs/claude-code.md for how and why. A Codex adapter exists but hasn't been verified on a real install yet. Anthropic, OpenAI, OpenRouter and local OpenAI-compatible servers are available for questions and analysis (Settings → AI).

构建过程需要计算机上有一个编码代理。首先支持 Claude Code:Craft Anything 运行你自己的、未经修改的 `claude` 程序,该程序使用你自己的登录信息;Craft Anything 永远不会查看或处理你的账户。你对它的使用受你自己与 Anthropic 之间的协议约束。详见 docs/claude-code.md 了解具体方法和原因。存在一个 Codex 适配器,但尚未在实际安装中得到验证。Anthropic、OpenAI、OpenRouter 和本地 OpenAI 兼容服务器可用于提问和分析(设置 → AI)。

Built for agents

为代理而设计

Every tool is also a CLI subcommand and an MCP tool, so an agent can study a target or run a whole rebuild without the app:

每个工具同时也是 CLI 子命令和 MCP 工具,因此代理可以在没有应用程序的情况下研究目标或运行整个重建过程:

Results are evidence records with their confidence, coverage and limitations; big ones come back as a summary first and are paged with `core_evidence_browse`. `craft-anything-cli setup` connects Craft Anything to coding-agent apps.

结果是带有置信度、覆盖范围和局限性的证据记录;大型结果首先返回摘要,并通过 `core_evidence_browse` 进行分页。`craft-anything-cli setup` 将 Craft Anything 连接到编码代理应用程序。

Under the hood

底层机制

A pure-Rust reverse-engineering engine with 314 tools (298 in the engine, the rest from the AI and setup layers) for native programs, .NET, Java, Android, Apple, Electron/JavaScript, websites, firmware, packet captures, databases and game files. Its own decoders, disassembler and decompiler work without any outside program; Deep mode uses them all, and Ghidra when it's installed. It powers the desktop app (egui), the CLI and the MCP server, and parts of it run in the browser as WebAssembly. The full list is in docs/tools.md.

一个纯 Rust 逆向工程引擎,包含 314 个工具(引擎内有 298 个,其余来自 AI 和设置层),适用于原生程序、.NET、Java、Android、Apple、Electron/JavaScript、网站、固件、数据包捕获、数据库和游戏文件。其自带的解码器、反汇编器和反编译器无需任何外部程序即可工作;深度模式会全部使用它们,并在已安装 Ghidra 时使用它。它为桌面应用(egui)、CLI 和 MCP 服务器提供动力,部分代码以 WebAssembly 形式在浏览器中运行。完整列表见 docs/tools.md。

Get started

开始使用

Requires Rust 1.97 or newer (a dependency needs it; `rustup update`). On Debian or Ubuntu, the desktop app also needs:

需要 Rust 1.97 或更高版本(某个依赖项需要此版本;执行 `rustup update`)。在 Debian 或 Ubuntu 上,桌面应用还需要:

Then:

然后:

Building needs a coding agent signed in on your computer (see AI); `doctor` says what's missing. Rebuild from the command line (questions are asked in the terminal):

构建需要一个已在你的计算机上登录的代码代理(参见 AI);`doctor` 命令会显示缺失的内容。从命令行重新构建(将在终端中提出问题):

New projects go in `Documents/Craft Anything` (change it in Settings → General). Each project folder holds `craft.json` (the request, target, status and history), `capture/` (what was recorded from the target), `app/` (the generated project), `checks/` (each comparison against the original), `investigation.cany/` (evidence) and `inbox/` (open questions).

新项目存放在 `Documents/Craft Anything` 目录下(可在设置 → 常规中更改)。每个项目文件夹包含 `craft.json`(请求、目标、状态和历史记录)、`capture/`(从目标记录的内容)、`app/`(生成的项目)、`checks/`(与原始文件的每次比较)、`investigation.cany/`(证据)和 `inbox/`(待解决的问题)。

更进一步:量化金融体系

看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力

进入量化体系 →

相似阅读

关联信息,但可能不是同一事件