Astro Preview

Live preview of Payload drafts on an Astro site through signed, short-lived links

Community 2 8/wk MIT v1.0.0

Installation

pnpm add @plutotcool/payload-astro-preview

About

Astro Preview lets editors see unpublished Payload content rendered on a live Astro site. When someone opens live preview in the admin panel, Payload issues a short-lived signed link, and the Astro site exchanges it for a browser session cookie. Pages then render the draft while regular visitors keep seeing published content.

Only signed-in Payload users can request a preview link, and both apps share a secret to verify it. Redirect paths are checked before they are signed and again before the browser is sent to them. Preview sessions last 24 hours and can be ended from the Astro side.

Package info

Package name
@plutotcool/payload-astro-preview
Latest version
1.0.0
Unpacked size
32 kB
License
MIT
Weekly downloads
8
Last publish
Jul 29, 2026

More from plutotcool

View profile

Similar plugins

More in Content

Adds question-based conditions that decide which pages a visitor sees

Opens nested blocks and array rows in stacked panels with breadcrumb navigation

Click-to-edit overlays on the frontend that open the matching field in the admin

Inline editing on your live website for Payload content, with reviewed drafts

Visual drag-and-drop page builder for Payload collections with live canvas editing

Adds a parent field and breadcrumbs to collections so documents can nest inside each other