# storytold/craft-anything

> craft-anything is an open-source engine written in Rust that studies a website, app or game, has a coding agent rebuild it, and checks the result against the original. It is for artists, hobbyists and developers, who use its desktop app or its craft-anything-cli command line. The core idea is to inspect the original with real tools, have an agent build a new project, and then compare that build with the original and refine it until it is close. The main language is Rust.

Source: https://github.com/storytold/craft-anything
Indexed: commit bbfd517 on 2026-11-19 by Repowise. Facts come from the source and git history, not from the maintainer.

## Facts

- Language: Rust
- Stars: 40,244 at index time
- License: Apache-2.0
- Code health: 6.7/10, Fair
- Last commit: 2026-11-18
- Contributors: 52

## Install

From the README: https://github.com/storytold/craft-anything#get-started

Clone the craft-anything repository.
    git clone https://github.com/storytold/craft-anything.git

Move into the craft-anything folder.
    cd craft-anything

Run the desktop app from the repository folder after installing Rust 1.97 or newer.
    cargo run --release -p craft-anything

Install the command-line app.
    cargo install --path apps/craft-anything-cli

Check the install, coding agents and engines.
    craft-anything-cli doctor

## How it works

Input enters through the desktop app in apps/craft-anything/src/main.rs or the command-line app in apps/craft-anything-cli/src/main.rs, and each CLI subcommand starts one engine session and prints its result as JSON by default. The crates/ai directory runs AI coding agents on the user's own computer and exposes AiHub, RunSet and StandIns, which the apps call to receive the events each run sends back. The crates directory also holds shared vocabulary for investigation results and the stdio server that lets an MCP client drive the engine. The packaging directory builds the installers and web bundle, with one script per platform that reuses shared helpers. Each project folder then keeps the generated project in app/ and each comparison with the original in checks/.

- apps/craft-anything-cli/src/main.rs: entry point
- apps/craft-anything-web/src/main.rs: entry point
- apps/craft-anything/src/main.rs: entry point
- crates/ai/src/lib.rs: entry point
- crates/ai/src/rebuild/kinds/app.rs: entry point
Modules: crates, apps, packaging, xtask, examples, assets. 928 files, 250,248 lines, 25,108 symbols.

## Code health

- Score: 6.7/10 (Fair)
- Trend: 6.8 on 2026-11-08, 6.1 on 2026-11-14, 6.7 on 2026-11-19
- Rank: #165 of 4,000+ indexed repos
- Hotspots: crates/formats/src/sqlite.rs, crates/formats/src/sourcemap.rs, crates/ui-egui/src/settings_ui.rs, crates/disasm/src/pseudo.rs, crates/formats/src/swift_demangle.rs
- Lowest file: crates/formats/src/dotnet/csharp.rs
- Dead code: none found

## Maintenance

- Last commit 2026-11-18, 843 commits
- 52 contributors, bus factor 2

## Security

- Security findings are shown to signed-in users at https://repowise.dev/repo/storytold/craft-anything/security

## More

- Page: https://repowise.dev/repo/storytold/craft-anything
- Ask this codebase: https://repowise.dev/repo/storytold/craft-anything/chat
- Docs: https://repowise.dev/repo/storytold/craft-anything/docs
- MCP (signs in with Repowise on first use):
    claude mcp add --transport http repowise https://api.repowise.dev/mcp/storytold/craft-anything
