r1tsuu

seo

by r1tsuu
payload-enchants
SEO & metadata
v3
^3.1.0
MIT

Overview

Summary generated from the README

A variant of the official Payload SEO plugin that adds AI-assisted generation of meta titles and descriptions. You supply an OpenAI API key and functions that return prompts, which can use the same arguments as the standard generateTitle and generateDescription options. It targets Payload 3.1 and later.

Features

  • Drop-in alternative to the official SEO plugin
  • Generates meta titles from a prompt sent to OpenAI
  • Generates meta descriptions from a prompt sent to OpenAI
  • Prompt functions receive the same arguments as generateTitle and generateDescription
  • Prompts can reference data such as the current locale

Use cases

  • Generate meta titles and descriptions automatically for large amounts of content
  • Produce locale-aware SEO metadata on multi-language sites

Installation

npm i @payload-enchants/seo

334

Stars

28

Forks

28

Open Issues

1 years ago

Last Updated

0

Weekly Downloads

v1.2.2

npm Version

162.0 KB

Unpacked Size

1

Dependencies

Repository stars

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

Shared by 7 plugins in r1tsuu/payload-enchants.

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

38/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/684372049-seo.svg)](https://payloaddirectory.dev/plugins/684372049-seo)
HTML
<a href="https://payloaddirectory.dev/plugins/684372049-seo"><img src="https://payloaddirectory.dev/badge/684372049-seo.svg" alt="Payload Directory"></a>
Updated Jan 4, 2025Created Aug 29, 2023Published Jul 16, 2024

README

Alternative version of official @payloadcms/plugin-seo package with AI generating improvements

Official docs

List of the added options:

openaiApiKey API key for OpenAI

generateTitleAi: Should return prompt, example: "Generate meta SEO title for <type of site> site in language=${data.locale}"

generateDescriptionAi: Should return prompt, example: "Generate meta SEO description for <type of site> site in language=${data.locale}"

The args are the same as generateTitle and generateDescription

Similar plugins