MCP server
storytold / photocraft
PhotoCraft: An open-source, photo editor written by scratch in pure Rust
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
| Type | MCP server |
|---|---|
| License | Apache-2.0 |
| Code health | 5.9 / 10 (Fair) |
| Health rank | #243 of 295 ranked repos |
| Last commit | Oct 18, 2026 |
| Contributors | 323 |
| Bus factor | 13 |
| Size | 1,600 files, 495,400 lines |
Install photocraft
Commands copied from the README
- 1Clone the photocraft repository.
git clone https://github.com/storytold/photocraft.git - 2Move into the photocraft folder.
cd photocraft - 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 - 4Run the test suite for the whole workspace.
cargo test --workspace
Releases on GitHub (latest v0.23.1, Nov 12, 2026)
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 →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 hotspotsPress a box for its details.
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
Explore photocraft
- DocumentationModule-by-module documentation, 2,256 pages.
- ArchitectureDependency graph, layers and third-party dependencies.
- Code healthEvery file's score and the findings behind it.
- CommitsEach commit's effect on code health.
- OverviewEverything else the index found: contributors, decisions, what changed this week.
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.
Maintain storytold/photocraft?
Claim this page, add a badge to the README, or re-index it.
Claim this page
Sign in with GitHub and we check that you are an admin or maintainer of storytold/photocraft. Then add a badge to the README that links readers here.
Add a badge to your README
Readers click through to this page and can ask photocraft's code a question. A badge also re-indexes the repo every week and marks you as the verified maintainer.
[](https://repowise.dev/repo/storytold/photocraft?src=badge_ask)Paste it at the top of README.md, under the title.
Added it already? Verify to get the mark now instead of tomorrow.
Need HTML or the larger health card? More formatsHide more formats
This badge as HTML
<a href="https://repowise.dev/repo/storytold/photocraft?src=badge_ask"><img src="https://api.repowise.dev/badge/wiki/storytold/photocraft.svg?label=ask" alt="repowise: Ask this codebase"></a>Code health card
The score, its change since the last index, and when it was measured. Follows the reader's light or dark theme.
<a href="https://repowise.dev/repo/storytold/photocraft?src=badge_card"><picture><source media="(prefers-color-scheme: light)" srcset="https://api.repowise.dev/badge/health/storytold/photocraft.svg?style=card&theme=light"><img src="https://api.repowise.dev/badge/health/storytold/photocraft.svg?style=card" alt="repowise code health" width="500" height="168"></picture></a>Repowise maps public repos from their source. Not affiliated with storytold. What is Repowise?