Related Items
This plugin surfaces related content in Payload CMS using similarity algorithms.
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
- 48
- Last publish
- May 19, 2026
More from krzysztofradomski
View profileSimilar plugins
More in ContentKanban Board
A kanban board plugin for managing tasks in Payload CMS.
versioning
This plugin enables easy versioning for Payload collections.
Shiki Code
Integrates Shiki syntax highlighting for code blocks in Payload CMS.
Callouts
Create styled callout blocks with customizable themes for Payload CMS.
Tree list view
This plugin adds a collapsible tree list view to Payload CMS.
Export Collections
This plugin allows exporting collections data to CSV or JSON formats.