Skip to content

Aver005/craws

Repository files navigation

Craws 🦀🎨

claws + draws — a blazing-fast, automation-first image editor for developers. Written in Rust.

Craws treats image editing as pipelines: chains of parametrized operations you can run from a GUI, a headless CLI, CI, or drive from an AI agent over MCP. The engine is tiled, content-hash cached, and works in linear-light f32 — tweak one parameter and only the affected tiles of the affected steps recompute.

Status: pre-alpha (M0). Engine core + CLI pipeline runner. No GUI yet (Tauri 2 + React planned).

Try it

cargo run --release -p craws-cli -- run pipeline.json --in photo.jpg --out result.webp

pipeline.json:

{
  "version": 0,
  "steps": [
    { "op": "resize", "width": 1600 },
    { "op": "exposure", "stops": 0.5 },
    { "op": "crop", "x": 100, "y": 50, "width": 1280, "height": 720 }
  ]
}

cargo run -p craws-cli -- ops lists available operations.

Workspace

Crate Role
craws-domain Pure types: geometry, pipeline spec, validation. Zero I/O.
craws-engine Tiled executor: content-hash cache, linear f32 premultiplied color, rayon.
craws-codecs Format adapters (png / jpeg / webp)
craws-cli Headless pipeline runner (craws)
craws-mcp MCP server for AI agents (stub — M1)

License: MIT

About

🦀 Craws — a BLAZING-fast, automation-first image editor built for developers. Powered by a tiled, content-hash-cached Rust engine that works in linear-light f32 color, it ships as a headless CLI and an MCP server so AI agents can annotate, compose, and transform images directly. 🖼️⚡ Pixels never travel as JSON — every claim is backed by benchmark

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors