whatisgithub

What is rust-wasm-photo-tool?

chrislanejones/rust-wasm-photo-tool — explained in plain English

Analysis updated 2026-05-18

1JavaScriptAudience · vibe coderComplexity · 3/5Setup · moderate

In one sentence

A browser-based image editor for annotation, clone stamping, drawing, and OCR, powered by a Rust and WebAssembly core for fast pixel editing.

Mindmap

mindmap
  root((Image Horse))
    What it does
      Browser image editing
      Clone stamping
      OCR text extraction
    Tech stack
      Rust and WebAssembly
      React and TypeScript
      Convex and Clerk
    Use cases
      Annotate screenshots
      Extract text via OCR
      Export edited images
    Audience
      Vibe coders
      Content creators

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Annotate a screenshot with arrows, shapes, and text overlays in the browser.

USE CASE 2

Extract text from an image region using OCR.

USE CASE 3

Clone stamp over unwanted parts of a photo and export it as PNG, JPEG, WebP, or AVIF.

What is it built with?

RustWebAssemblyReactTypeScriptConvexClerk

How does it compare?

chrislanejones/rust-wasm-photo-toolacip/slack-claude-agentadii0906/supportiq
Stars111
LanguageJavaScriptJavaScriptJavaScript
Setup difficultymoderatemoderatemoderate
Complexity3/53/53/5
Audiencevibe coderdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires setting up Convex for storage and Clerk for authentication.

So what is it?

Image Horse is a browser-based image annotation and editing tool that runs entirely inside a web browser. It lets you load photos and apply a range of edits, clone stamping (copying pixels from one area to cover another), freehand painting, drawing arrows and shapes, adding text overlays, adjusting brightness and contrast, applying blur, and stamping emoji or pre-set labels. You can drag to select an area for optical character recognition (OCR) to extract text from an image. Edited images can be exported in PNG format via the built-in encoder, or in JPEG, WebP, and AVIF formats via the browser's own export capabilities. The performance-sensitive pixel work is handled by a Rust module compiled to WebAssembly (WASM), a format that lets code written in Rust run at near-native speed inside the browser without installation. All pixel operations (sampling, filtering, transforming, encoding) happen inside this WASM module's shared memory, which avoids slow data copying. The user interface is built with React and TypeScript. Persistent storage, user profiles, projects, saved images, annotation data, and edit history, is handled by Convex, a cloud database. Authentication uses Clerk via the Convex auth integration. Original images are stored locally in the browser's IndexedDB, and working copies are automatically downscaled to a maximum of 2048 pixels on the long edge when uploaded. Undo and redo history keeps up to 50 snapshots. An AI jobs pipeline is described in the README for triggering AI operations via Replicate. The project was previously called Clone Stamp App before growing into a more general tool. The full README is longer than what was provided.

Copy-paste prompts

Prompt 1
Explain how Image Horse uses Rust and WebAssembly to speed up pixel editing.
Prompt 2
Show me how to clone stamp and export an image as PNG in Image Horse.
Prompt 3
Set up Convex and Clerk for a project like Image Horse that needs saved projects and auth.

Frequently asked questions

What is rust-wasm-photo-tool?

A browser-based image editor for annotation, clone stamping, drawing, and OCR, powered by a Rust and WebAssembly core for fast pixel editing.

What language is rust-wasm-photo-tool written in?

Mainly JavaScript. The stack also includes Rust, WebAssembly, React.

How hard is rust-wasm-photo-tool to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is rust-wasm-photo-tool for?

Mainly vibe coder.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.