sirv

sirv payload

by sirv
Media & images
v?

Overview

Summary generated from the README

Official Sirv media plugin for Payload CMS v3, shipped in a pnpm monorepo. It lets editors browse the Sirv digital asset manager from the Payload admin and pick images, videos, 360 spins, views and 3D models. Assets render on the frontend with the @sirv/react package. The repository includes a runnable Next.js and Payload example app and needs a Sirv account with API credentials.

Features

  • Browse and search the Sirv DAM inside the Payload admin
  • Pick images, videos, 360 spins, views and 3D models
  • Frontend rendering through @sirv/react
  • Vendored core packages with a Sirv REST client and URL and srcset builders
  • Runnable Next.js 15 and Payload v3 example app

Use cases

  • Serve and optimise site imagery from Sirv instead of local Payload uploads
  • Let editors select rich media such as 360 spins and 3D models from a central asset library

From the author

Add Sirv as a first-class media source inside Payload CMS v3, rendered on the frontend with @sirv/react (pnpm monorepo).

Installation

npm i @sirv/payload-monorepo

0

Stars

0

Forks

0

Open Issues

2 months ago

Last Updated

0

Weekly Downloads

v

npm Version

Dependencies

GitHub stars

00 since Sep 6

Show data
GitHub stars by day (UTC)
DateStars
Dec 5, 20260
Dec 4, 20260
Dec 3, 20260
Dec 2, 20260
Dec 1, 20260
Nov 30, 20260
Nov 29, 20260
Nov 28, 20260
Nov 27, 20260
Nov 26, 20260
Nov 25, 20260
Nov 24, 20260
Nov 23, 20260
Nov 22, 20260
Nov 21, 20260
Nov 20, 20260
Nov 19, 20260
Nov 18, 20260
Nov 17, 20260
Nov 16, 20260
Nov 15, 20260
Nov 14, 20260
Nov 13, 20260
Nov 12, 20260
Nov 11, 20260
Nov 10, 20260
Nov 9, 20260
Nov 8, 20260
Nov 7, 20260
Nov 6, 20260
Nov 5, 20260
Nov 4, 20260
Nov 3, 20260
Nov 2, 20260
Nov 1, 20260
Oct 31, 20260
Oct 30, 20260
Oct 29, 20260
Oct 28, 20260
Oct 27, 20260
Oct 26, 20260
Oct 25, 20260
Oct 24, 20260
Oct 23, 20260
Oct 22, 20260
Oct 21, 20260
Oct 20, 20260
Oct 19, 20260
Oct 18, 20260
Oct 17, 20260
Oct 16, 20260
Oct 15, 20260
Oct 14, 20260
Oct 13, 20260
Oct 12, 20260
Oct 11, 20260
Oct 10, 20260
Oct 9, 20260
Oct 8, 20260
Oct 7, 20260
Oct 6, 20260
Oct 5, 20260
Oct 4, 20260
Oct 3, 20260
Oct 2, 20260
Oct 1, 20260
Sep 30, 20260
Sep 29, 20260
Sep 28, 20260
Sep 27, 20260
Sep 26, 20260
Sep 25, 20260
Sep 24, 20260
Sep 23, 20260
Sep 22, 20260
Sep 21, 20260
Sep 20, 20260
Sep 19, 20260
Sep 18, 20260
Sep 17, 20260
Sep 16, 20260
Sep 15, 20260
Sep 14, 20260
Sep 13, 20260
Sep 12, 20260
Sep 11, 20260
Sep 10, 20260
Sep 9, 20260
Sep 8, 20260
Sep 7, 20260
Sep 6, 20260
npm weekly downloads

Trends appear after 7 days of data. Daily snapshots have not started yet.

Each point is npm's rolling 7-day download count.

Health Score

25/100Fair

Composite score based on GitHub activity, stars, npm downloads, publish recency, dependency count, and package size.

Badge for your README

Payload Directory health badge
Markdown
[![Payload Directory](https://payloaddirectory.dev/badge/1292416542-root.svg)](https://payloaddirectory.dev/plugins/1292416542-root)
HTML
<a href="https://payloaddirectory.dev/plugins/1292416542-root"><img src="https://payloaddirectory.dev/badge/1292416542-root.svg" alt="Payload Directory"></a>
Updated Sep 16, 2026Created Jul 7, 2026

README

Sirv for Payload CMS

Monorepo for @sirv/payload-plugin - the official Sirv media plugin for Payload CMS v3. Browse the Sirv DAM and pick images, videos, 360 spins, views and 3D models inside the Payload admin, and render them on the frontend with @sirv/react.

See the plugin's README for install and usage.

Layout

apps/payload-plugin/   the @sirv/payload-plugin npm package
packages/              vendored, host-agnostic Sirv core (no Payload imports)
  core/                headless DAM hooks + components
  sirv-client/         Sirv REST client (token mint, browse, search, account)
  url-builder/         pure Sirv URL / srcset builders
examples/payload/      runnable Next.js 15 + Payload v3 app
docs/                  API notes, Payload gotchas, port notes
DECISIONS.md           running decision log

packages/* are vendored verbatim from the Sirv Sanity monorepo and must never import Payload; this is enforced by Biome noRestrictedImports, scripts/check-package-boundaries.mjs, and a Vitest assertion (pnpm boundaries).

Develop

pnpm install
pnpm check            # boundaries + lint + typecheck + test
pnpm --filter @sirv/payload-plugin build

Live smoke tests against a real Sirv account (skipped by default):

cp .env.example .env.local          # fill SIRV_CLIENT_ID / SIRV_CLIENT_SECRET
set -a; source .env.local; set +a; SIRV_LIVE=1 pnpm test

Run the example app: see examples/payload/README.md.

License

MIT

Similar plugins