Docs

Install and migrate images in minutes

Documentation placeholders for URL replacement, the React SDK, and future AI agent integration.

Replace an image URL

Use your ProdKit image endpoint anywhere you currently render a Supabase Storage image.

const imageUrl = "https://img.prodkit.cloud/acme/avatar.png"

Install the React SDK

The future SDK should keep image markup small while handling responsive defaults.

import { Image } from "@prodkit/react"

export function Avatar({ avatar }: { avatar: string }) {
  return <Image src={avatar} width={128} height={128} />
}

AI agent workflow

The planned CLI should detect Supabase, install the SDK, rewrite image URLs, update configuration, and create a commit.

npx prodkit optimize

Claude Code integration

Future agent checklist

The eventual command should make migration feel like a small code review.

Detect Supabase

Install SDK

Rewrite image URLs

Create a commit