Related Items

This plugin surfaces related content in Payload CMS using similarity algorithms.

Community 3 105/wk MIT v1.0.5

Installation

pnpm add payload-plugin-related-items

About

Related Items is a Payload CMS plugin designed to help users find related content based on determined algorithms. It offers multiple built-in scorers such as Jaccard and BM25, allowing for customization and predictability in content recommendations. The plugin supports features like multi-field weighting and recency decay, making it suitable for editorial sites and knowledge bases. Developers can integrate the plugin easily into their Payload configurations, and it works seamlessly with the search plugin for shared keyword extraction. The plugin provides a REST API for server-side retrieval as well as a headless React hook for client-side use, ensuring flexibility across various contexts. The admin panel includes an editor-visible widget for managing related items without complex configurations, enhancing usability for content editors. Related Items provides an in-memory LRU cache and optional precomputed collections for large datasets, contributing to efficient performance. With detailed documentation available, developers can customize behaviors and integrate related content efficiently in their projects.

Package info

Package name
payload-plugin-related-items
Latest version
1.0.5
Unpacked size
424 kB
License
MIT
Weekly downloads
105
Last publish
May 19, 2026

More from krzysztofradomski

View profile

Similar plugins

More in Content