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
- 56
- Last publish
- May 19, 2026
More from krzysztofradomski
View profileSimilar plugins
More in Contentslug redirects
Automatically creates slug redirects when document slugs change.
navigation
Manage navigation menus with a drag-and-drop UI in Payload CMS.
payload-cli
CLI for direct access to PayloadCMS data for AI agents and humans.
Nested Docs Page Tree
Adds a nested tree view for managing documents in Payload CMS.
Better Live Preview
Enhances live preview for Payload CMS with admin/preview sync and hover highlighting.
for notifications
Adds in-dashboard notifications with live updates in Payload admin.