spf
sanity-plugin-firebase-dam
npm i sanity-plugin-firebase-dam
spf

sanity-plugin-firebase-dam

Work w/ media hosted in external vendors from inside a Sanity.io studio

by henrique doro

0.7.0 (see all)License:Apache-2.0TypeScript:Built-In
npm i sanity-plugin-firebase-dam
Readme

Firebase Digital Asset Management (DAM) plugin for Sanity.io

Allows uploading, referencing and deleting video and audio files to Firebase directly from your Sanity studio. Is a flavor of sanity-plugin-external-dam.

Screenshot of the plugin

Installing

Start by installing the plugin:

sanity install firebase-dam

Add your bucket URL and API key to the plugin via the dedicated settings dialog.

I plan on recording a video tutorial going through the process in detail. Until then, reach out if you have questions 😉

Using

Use the firebase-dam.media type in your fields. Examples:

{
    name: "video",
    title: "Video (Firebase)",
    type: "firebase-dam.media",
    options: {
        accept: "video/*",
        storeOriginalFilename: true,
    },
},
{
    name: "anyFile",
    title: "File (Firebase)",
    type: "firebase-dam.media",
    options: {
        // Accept ANY file
        accept: "*",
        storeOriginalFilename: true,
    },
},

Contributing, roadmap & acknowledgments

Refer to sanity-plugin-external-dam for those :)

Downloads/wk

2

GitHub Stars

22

LAST COMMIT

7mos ago

MAINTAINERS

1

CONTRIBUTORS

0

OPEN ISSUES

6

OPEN PRs

1
VersionTagPublished
0.7.0
latest
4mos ago
No alternatives found
No tutorials found
Add a tutorial
No dependencies found

Rate & Review

100
No reviews found
Be the first to rate