AI Persistence/build Cloudflare Artifact Store

Use when a Cloudflare Worker needs durable byte storage for TanStack AI generated media (images, audio, video, transcripts) — writes a BlobStore backed by R2 and an ArtifactStore backed by D1, composes them onto the generation persistence so withGenerationPersistence persists artifact bytes, and serves them back from a Worker GET route. Includes one-line sketches for S3, GCS, Vercel Blob, Supabase, and a dev filesystem BlobStore.

TanStack Updated 28.6k repo stars
TanStack AI

File contents

tanstack/ai commit 4f565d9f14

Frequently asked questions

npx get-skill add tanstack/ai-persistence-build-cloudflare-artifact-store