### Install and Start Docker Service Source: https://github.com/lafittemehdy/vercel-blob-local/blob/main/README.md Install dependencies and start the Vercel Blob Local Docker service. ```bash pnpm install pnpm run docker:up ``` -------------------------------- ### Install, Check, and Build Docker Image Source: https://github.com/lafittemehdy/vercel-blob-local/blob/main/README.md Install dependencies, run code checks, and build the Docker image for Vercel Blob Local during development. ```bash pnpm install pnpm run check pnpm run docker:build ``` -------------------------------- ### Fetch Blob Metadata and Content Source: https://github.com/lafittemehdy/vercel-blob-local/blob/main/README.md Demonstrates how to fetch blob metadata using the 'head' function and then fetch the blob content directly using its URL. This is a workaround for the SDK's limitation with the 'get()' function during local development. ```typescript import { head } from "@vercel/blob"; const metadata = await head("wares/example.jpg"); const response = await fetch(metadata.url, { headers: { authorization: `Bearer ${process.env.BLOB_READ_WRITE_TOKEN}`, }, }); ``` -------------------------------- ### Configure SDK Environment Variables Source: https://github.com/lafittemehdy/vercel-blob-local/blob/main/README.md Set environment variables to point the official @vercel/blob SDK to your local Vercel Blob Local instance. ```env BLOB_READ_WRITE_TOKEN="vercel_blob_rw_local_test" VERCEL_BLOB_API_URL="http://localhost:4545" ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.