Stores Payload upload files in Nextcloud through WebDAV and can create public share links via the OCS Files Sharing API. It is added to the Payload config as a plugin and enabled per upload collection, using a Nextcloud username with an app password or token. It builds on the Payload cloud-storage plugin and the webdav package and requires Payload 3.37 or later.
A Payload CMS plugin that integrates Nextcloud as a storage adapter
Installation
npm i payload-nextcloud2
Stars
0
Forks
0
Open Issues
1 years ago
Last Updated
11
Weekly Downloads
v0.1.0
npm Version
108.6 KB
Unpacked Size
2
Dependencies
20 since Sep 6
| Date | Stars |
|---|---|
| Dec 5, 2026 | 2 |
| Dec 4, 2026 | 2 |
| Dec 3, 2026 | 2 |
| Dec 2, 2026 | 2 |
| Dec 1, 2026 | 2 |
| Nov 30, 2026 | 2 |
| Nov 29, 2026 | 2 |
| Nov 28, 2026 | 2 |
| Nov 27, 2026 | 2 |
| Nov 26, 2026 | 2 |
| Nov 25, 2026 | 2 |
| Nov 24, 2026 | 2 |
| Nov 23, 2026 | 2 |
| Nov 22, 2026 | 2 |
| Nov 21, 2026 | 2 |
| Nov 20, 2026 | 2 |
| Nov 19, 2026 | 2 |
| Nov 18, 2026 | 2 |
| Nov 17, 2026 | 2 |
| Nov 16, 2026 | 2 |
| Nov 15, 2026 | 2 |
| Nov 14, 2026 | 2 |
| Nov 13, 2026 | 2 |
| Nov 12, 2026 | 2 |
| Nov 11, 2026 | 2 |
| Nov 10, 2026 | 2 |
| Nov 9, 2026 | 2 |
| Nov 8, 2026 | 2 |
| Nov 7, 2026 | 2 |
| Nov 6, 2026 | 2 |
| Nov 5, 2026 | 2 |
| Nov 4, 2026 | 2 |
| Nov 3, 2026 | 2 |
| Nov 2, 2026 | 2 |
| Nov 1, 2026 | 2 |
| Oct 31, 2026 | 2 |
| Oct 30, 2026 | 2 |
| Oct 29, 2026 | 2 |
| Oct 28, 2026 | 2 |
| Oct 27, 2026 | 2 |
| Oct 26, 2026 | 2 |
| Oct 25, 2026 | 2 |
| Oct 24, 2026 | 2 |
| Oct 23, 2026 | 2 |
| Oct 22, 2026 | 2 |
| Oct 21, 2026 | 2 |
| Oct 20, 2026 | 2 |
| Oct 19, 2026 | 2 |
| Oct 18, 2026 | 2 |
| Oct 17, 2026 | 2 |
| Oct 16, 2026 | 2 |
| Oct 15, 2026 | 2 |
| Oct 14, 2026 | 2 |
| Oct 13, 2026 | 2 |
| Oct 12, 2026 | 2 |
| Oct 11, 2026 | 2 |
| Oct 10, 2026 | 2 |
| Oct 9, 2026 | 2 |
| Oct 8, 2026 | 2 |
| Oct 7, 2026 | 2 |
| Oct 6, 2026 | 2 |
| Oct 5, 2026 | 2 |
| Oct 4, 2026 | 2 |
| Oct 3, 2026 | 2 |
| Oct 2, 2026 | 2 |
| Oct 1, 2026 | 2 |
| Sep 30, 2026 | 2 |
| Sep 29, 2026 | 2 |
| Sep 28, 2026 | 2 |
| Sep 27, 2026 | 2 |
| Sep 26, 2026 | 2 |
| Sep 25, 2026 | 2 |
| Sep 24, 2026 | 2 |
| Sep 23, 2026 | 2 |
| Sep 22, 2026 | 2 |
| Sep 21, 2026 | 2 |
| Sep 20, 2026 | 2 |
| Sep 19, 2026 | 2 |
| Sep 18, 2026 | 2 |
| Sep 17, 2026 | 2 |
| Sep 16, 2026 | 2 |
| Sep 15, 2026 | 2 |
| Sep 14, 2026 | 2 |
| Sep 13, 2026 | 2 |
| Sep 12, 2026 | 2 |
| Sep 11, 2026 | 2 |
| Sep 10, 2026 | 2 |
| Sep 9, 2026 | 2 |
| Sep 8, 2026 | 2 |
| Sep 7, 2026 | 2 |
| Sep 6, 2026 | 2 |
10+3 since Sep 6
| Date | Weekly downloads |
|---|---|
| Dec 5, 2026 | 10 |
| Dec 4, 2026 | 10 |
| Dec 3, 2026 | 9 |
| Dec 2, 2026 | 9 |
| Dec 1, 2026 | 10 |
| Nov 30, 2026 | 11 |
| Nov 29, 2026 | 5 |
| Nov 28, 2026 | 4 |
| Nov 27, 2026 | 4 |
| Nov 26, 2026 | 4 |
| Nov 25, 2026 | 4 |
| Nov 24, 2026 | 3 |
| Nov 23, 2026 | 2 |
| Nov 22, 2026 | 3 |
| Nov 21, 2026 | 3 |
| Nov 20, 2026 | 2 |
| Nov 19, 2026 | 4 |
| Nov 18, 2026 | 5 |
| Nov 17, 2026 | 5 |
| Nov 16, 2026 | 8 |
| Nov 15, 2026 | 7 |
| Nov 14, 2026 | 7 |
| Nov 13, 2026 | 9 |
| Nov 12, 2026 | 9 |
| Nov 11, 2026 | 8 |
| Nov 10, 2026 | 8 |
| Nov 9, 2026 | 5 |
| Nov 8, 2026 | 5 |
| Nov 7, 2026 | 5 |
| Nov 6, 2026 | 3 |
| Nov 5, 2026 | 2 |
| Nov 4, 2026 | 2 |
| Nov 3, 2026 | 2 |
| Nov 2, 2026 | 5 |
| Nov 1, 2026 | 5 |
| Oct 31, 2026 | 5 |
| Oct 30, 2026 | 5 |
| Oct 29, 2026 | 4 |
| Oct 28, 2026 | 4 |
| Oct 27, 2026 | 5 |
| Oct 26, 2026 | 3 |
| Oct 25, 2026 | 2 |
| Oct 24, 2026 | 2 |
| Oct 23, 2026 | 2 |
| Oct 22, 2026 | 3 |
| Oct 21, 2026 | 3 |
| Oct 20, 2026 | 2 |
| Oct 19, 2026 | 1 |
| Oct 18, 2026 | 2 |
| Oct 17, 2026 | 3 |
| Oct 16, 2026 | 3 |
| Oct 15, 2026 | 3 |
| Oct 14, 2026 | 3 |
| Oct 13, 2026 | 3 |
| Oct 12, 2026 | 3 |
| Oct 11, 2026 | 3 |
| Oct 10, 2026 | 2 |
| Oct 9, 2026 | 2 |
| Oct 8, 2026 | 1 |
| Oct 7, 2026 | 1 |
| Oct 6, 2026 | 1 |
| Oct 5, 2026 | 1 |
| Oct 4, 2026 | 0 |
| Oct 3, 2026 | 0 |
| Oct 2, 2026 | 0 |
| Oct 1, 2026 | 0 |
| Sep 30, 2026 | 0 |
| Sep 29, 2026 | 1 |
| Sep 28, 2026 | 1 |
| Sep 27, 2026 | 2 |
| Sep 26, 2026 | 5 |
| Sep 25, 2026 | 5 |
| Sep 24, 2026 | 5 |
| Sep 23, 2026 | 5 |
| Sep 22, 2026 | 5 |
| Sep 21, 2026 | 5 |
| Sep 20, 2026 | 5 |
| Sep 19, 2026 | 2 |
| Sep 18, 2026 | 2 |
| Sep 17, 2026 | 3 |
| Sep 16, 2026 | 4 |
| Sep 15, 2026 | 3 |
| Sep 14, 2026 | 5 |
| Sep 13, 2026 | 5 |
| Sep 12, 2026 | 8 |
| Sep 11, 2026 | 8 |
| Sep 10, 2026 | 7 |
| Sep 9, 2026 | 8 |
| Sep 8, 2026 | 8 |
| Sep 7, 2026 | 8 |
| Sep 6, 2026 | 7 |
Each point is npm's rolling 7-day download count.
Health Score
Composite score based on GitHub activity, stars, npm downloads, publish recency, dependency count, and package size.
Badge for your README
[](https://payloaddirectory.dev/plugins/1093935074-root)<a href="https://payloaddirectory.dev/plugins/1093935074-root"><img src="https://payloaddirectory.dev/badge/1093935074-root.svg" alt="Payload Directory"></a>README
Nextcloud storage adapter for Payload CMS (Payload 3). It integrates Nextcloud WebDAV for file uploads and can automatically create public share links via the OCS Files Sharing API.
Features
nextcloud.share_url on uploaded document)nextcloud.webdav_url) for internal useRequirements
Install
pnpm add payload-nextcloud @payloadcms/plugin-cloud-storage webdav
Quick start Add the plugin to your Payload config and supply Nextcloud credentials and WebDAV settings.
// payload.config.ts
import { payloadNextcloud } from 'payload-nextcloud'
export default buildConfig({
collections: [
{
slug: 'media',
upload: {
mimeTypes: ['image/*', 'application/pdf'],
},
fields: [/* your fields */],
},
],
plugins: [
payloadNextcloud({
collections: {
// enable integration for a collection
media: true,
},
nextcloud: {
auth: {
username: process.env.NEXTCLOUD_USERNAME || '',
// Prefer app password (token). Provide ONE of token or password.
token: process.env.NEXTCLOUD_TOKEN,
// password: process.env.NEXTCLOUD_PASSWORD,
},
metadata: {
// optional custom WebDAV properties namespace + field map
customPropertiesNamespace: 'http://payloadcms.com/ns/nextcloud',
fieldMap: {
'nextcloud.custom_metadata.title': 'pc:title',
'nextcloud.custom_metadata.description': 'pc:description',
},
},
webdav: {
// Base Nextcloud URL, e.g. https://cloud.example.com
baseUrl: process.env.NEXTCLOUD_URL || '',
// If omitted, defaults to /remote.php/dav/files/{username}
filesPath: process.env.NEXTCLOUD_FILESPATH,
// Optional root directory under the user's files area
rootDirectory: process.env.NEXTCLOUD_ROOTDIR || '/Payload',
timeoutMs: 15000,
// verifyTLS: false, // only in dev with self-signed certs
},
},
}),
],
})
What gets added to your Media collection
nextcloud group in the sidebar with read-only fields:
custom_metadata group (optional editable fields you can sync via WebDAV PROPPATCH)sync_status group to track last sync and errorsPublic share links
nextcloud.share_url will be set to the base public link.${share_url}/download in your app.Nextcloud app password guidance
token.
NEXTCLOUD_TOKEN; do not share your main account passwordOCS-APIRequest: true header and Basic auth—we handle this internally.verifyTLS: false (avoid in production).Development notes
dist, not src.pnpm buildpnpm devdev folder is for local testing only and is not published.License MIT
Author / Support
Update package.json with your name and repository URL. Tag your repo with payload-plugin on GitHub for discoverability.
payload storage file explorer
Admin file explorer for browsing and managing S3-compatible buckets inside the Payload admin panel
4532/wk12v3
payload storage bunny
Storage adapter for with video streaming, signed URLs and CDN cache purging
753.9k/wk60v4
payload storage cloudinary
Cloudinary storage adapter for Payload uploads with transformation presets, dynamic folders and private signed files
58176/wk7v3
payloadcms sftp storage
SFTP storage adapter for Payload's cloud-storage plugin to keep uploads on a remote server
329/wk2v?
cloud storage
Store Payload uploads in third-party cloud storage through a generic adapter interface
1001.0M/wk46.1kv3 v4
payload storage sanity
Store Payload media uploads in Sanity Content Lake with crops, focal points and video posters
721.2k/wk0v3