pro-laico

seed

by pro-laico
atomic-payload
Databases & data
v3
>=3.0.0
MIT

Overview

Summary generated from the README

Adds a POST /api/seed endpoint and a BeforeDashboard admin banner with a SEED DATABASE button. It ships an opinionated default seed for Atomic Payload templates, which can be replaced by passing a custom seed option. The default seed relies on the Atomic Payload core, atomic, icons, site and styles packages.

Features

  • POST /api/seed endpoint registered by the plugin
  • SEED DATABASE button in a BeforeDashboard admin banner
  • Bundled default seed for Atomic Payload templates
  • Custom seed can be supplied through the seed option
  • Default seed writes atomic blocks, icons, header and footer globals, site metadata and starter designs

Use cases

  • Populate a fresh Atomic Payload project with starter content from the admin panel
  • Reset a development or demo database to a known seed state
  • Provide a custom seed routine triggered from the dashboard

From the author

Atomic Payload seed integration. Provides a Payload plugin that wires up a `POST /api/seed` endpoint and a `BeforeDashboard` admin banner with a SEED DATABASE button. Ships an opinionated default seed for atomic-payload templates; consumers may override by passing `seed: …`.

Installation

npm i @pro-laico/seed

37

Stars

0

Forks

0

Open Issues

2 months ago

Last Updated

11

Weekly Downloads

v0.5.0

npm Version

882.0 KB

Unpacked Size

1

Dependencies

Repository stars

Trends appear after 7 days of data. Collecting since Oct 22 — 3 daily snapshots so far.

Shared by 10 plugins in pro-laico/atomic-payload.

npm weekly downloads

Trends appear after 7 days of data. Collecting since Oct 22 — 3 daily snapshots so far.

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

Health Score

62/100Good

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/1128550352-seed.svg)](https://payloaddirectory.dev/plugins/1128550352-seed)
HTML
<a href="https://payloaddirectory.dev/plugins/1128550352-seed"><img src="https://payloaddirectory.dev/badge/1128550352-seed.svg" alt="Payload Directory"></a>
Updated Jul 28, 2026Created Jan 5, 2026Published Jun 27, 2026

README

Atomic Payload Seed Plugin

Seeds an Atomic Payload database from the admin UI by wiring a POST /api/seed endpoint and a SEED DATABASE dashboard button, shipping an opinionated default seed that consumers can override. Part of Atomic Payload.

Atomic Payload dependencies

The bundled default seed needs all of these to know what to write:

  • @pro-laico/core — Atomic Payload kernel and defaults.
  • @pro-laico/atomic — atomic block content written by the seed.
  • @pro-laico/icons — writes the standard default icon set.
  • @pro-laico/site — writes header/footer globals and SiteMetaData.
  • @pro-laico/styles — writes the starter design set.

Exports

ImportWhat's there
.Plugin barrel — seedPlugin (default + named), the bundled seed, and the SeedPluginOptions / SeedSlugConfig types.
./admin/beforeDashboardThe BeforeDashboard admin banner component (loaded via Payload's import map).

Similar plugins