repowiserepowise

MCP server

storytold / photocraft

PhotoCraft: An open-source, photo editor written by scratch in pure Rust

RustApache-2.0
Install photocraftView on GitHub★ 82.5k

github.com/storytold/photocraftIndexed

What is photocraft?

PhotoCraft is an open-source image editor for layered documents, including real PSD files, in a native desktop app. It applies every edit as a command to a pure-data document model, so the same editing actions can be reproduced from one shared command set. The project is written in Rust. To install it, run git clone https://github.com/storytold/photocraft.git and follow the steps below. Its code health is 5.9 out of 10 (Fair), ranked #243 of 295 ranked repos. The last commit to photocraft was on Oct 18, 2026, and 323 people have contributed.

As of commit 4d4de45, indexed Oct 19, 2026. What it is comes from a model reading the README; the rest is measured from the source and git history, not from the maintainer.

For agentsphotocraft.md

Repo facts: type, license, health, rank, contributors
photocraft facts
TypeMCP server
LicenseApache-2.0
Code health5.9 / 10 (Fair)
Health rank#243 of 295 ranked repos
Last commitOct 18, 2026
Contributors323
Bus factor13
Size1,600 files, 495,400 lines

Install photocraft

Commands copied from the README

  1. 1Clone the photocraft repository.
    git clone https://github.com/storytold/photocraft.git
  2. 2Move into the photocraft folder.
    cd photocraft
  3. 3Build and run the desktop app from a checkout of the repository, passing a PSD file to open.
    cargo run --release -p photocraft -- image.psd
  4. 4Run the test suite for the whole workspace.
    cargo test --workspace

Releases on GitHub (latest v0.23.1, Nov 12, 2026)

Full install notes on GitHub

Get this map for your own codebase

Ask about this code in your agent. It connects Repowise to photocraft's code, with answers that cite its files. It does not install photocraft: the install steps do.

How photocraft is built

Open the full architecture →

Who uses it

  • →

Engine

  • →
  • →
  • →
  • →
  • →
  • →

User intent becomes engine commands, which are executed by compositors and persisted via IO/codec layers across UI, CLI, JSON control, and MCP. 22 more parts are not shown. 4 more parts and the weaker links are in the full architecture.

Each box is tinted by the health of its files:goodfairUI bridge first: 5 hotspots

Ask about photocraft

Answers come from photocraft's README and source, with the files they cite. Two free answers a day without an account.

How healthy photocraft is

Full health report →
Code health
5.8/10
Fair, #243 of 295 ranked repos
Hotspots
282
Average health 4.3
Dead code
0
Findings
Bus factor
13
People holding most of the history

On the leaderboards:#18 of 37 Rust repos

storytold/photocraft FAQ

What is PhotoCraft?

PhotoCraft is an open-source image editor for layered documents, including real PSD files, in a native desktop app. It is written in Rust and is licensed under Apache-2.0.

How does PhotoCraft work?

PhotoCraft applies each edit as a command to a pure-data document model. It runs edits through a command pipeline that includes CPU and GPU compositing, then outputs rendered canvases and saved files.

How do I install PhotoCraft?

Clone the repository, then run the desktop app with cargo run --release -p photocraft -- image.psd. Running cargo test --workspace executes the test suite. See the install steps

What language is PhotoCraft written in?

PhotoCraft is written in Rust. Most of its files are Rust source, with a small number of shell scripts and Python files.

How is the PhotoCraft code organized?

The code is split into Rust crates under crates/, such as crates/algo for image and selection operations and crates/geom for tiling. Application entry points live under apps/, including apps/photocraft-cli for the command-line tool.

When should I use PhotoCraft?

Use PhotoCraft to edit layered documents such as PSD files in a desktop app. It also suits workflows where the same editing commands are driven from a script or an AI agent through the control channel or MCP server.

What license does PhotoCraft use?

PhotoCraft uses the Apache-2.0 license. The license identifier is Apache-2.0.

Key features of photocraft

  • Layers, masks, adjustment layers, layer styles, type, vectors and brushes can be edited in a native desktop app.
  • Adjustment layers stay editable and can be masked, reordered or turned off without changing the original pixels.
  • Layer styles such as Drop Shadow, Bevel & Emboss and Stroke can be applied live to any layer, including type.
  • Layered PSD documents can be opened, edited and saved.
  • Every action is a command, so the same engine can be driven from the UI, the CLI, a JSON control channel or an MCP server.

How storytold/photocraft works

The desktop app starts from apps/photocraft/src/main.rs, which connects the UI, OS integration and a local control interface. The command-line tool starts from apps/photocraft-cli/src/main.rs and drives the same engine without a window. Input documents and assets are read into a pure-data document model, and crates/affinity converts Affinity-format data into internal representations for rendering and previews. Edits run through a shared command pipeline, where crates/algo holds the image and selection operations and exposes its public entry in crates/algo/src/lib.rs. Pixel data is split into tiles, with crates/geom defining the tile size and related types and crates/raster defining the surface abstraction.

The codebase has 1,600 files and 44,916 symbols in 7 modules, led by Rust, Shell and Python. Code health is 5.8 out of 10, rated fair.

Repowise maps public repos from their source. Not affiliated with storytold. What is Repowise?