Dub

A Payload CMS plugin that automatically creates and manages shortlinks using Dub.

Community 2 15/wk MIT v1.8.2

Installation

pnpm add @rubixstudios/payload-dub

About

Payload Dub is a plugin designed for use with Payload CMS that seamlessly integrates with the Dub platform for shortlink management. It automates the creation of shortlinks when documents are published or when their slugs change, ensuring a consistent syncing of data between Payload and Dub. Users can customize which collections produce shortlinks and configure various options such as domain and API keys. The plugin organizes collections into folders and allows the creation and modification of tags directly from within Payload. Access and field overrides provide a granular level of control over how users interact with shortlinks and associated tags. Whether you need a simple setup or a more elaborate structure with multiple customizations, Payload Dub can accommodate those needs. Installation is straightforward with a simple command, and configuration is done in the `payload.config.ts` file where developers can specify collections and access settings. This allows for optimal integration into any existing Payload CMS projects, making it a practical solution for developers looking to enhance link management.

Package info

Package name
@rubixstudios/payload-dub
Latest version
1.8.2
Unpacked size
39 kB
License
MIT
Weekly downloads
15
Last publish
May 30, 2026

More from rubix-studios-pty-ltd

View profile

Similar plugins

More in Content