Dreep integrations

Store files in your own S3-compatible bucket, copy an existing library in with the Cloudinary, Amazon S3 or Cloudflare R2 importers, and call the API from the JavaScript or Go SDKs or any language over REST.

How it works

A typical setup picks a storage option, adds an SDK on your server, and optionally imports an existing library.

  1. 1

    Storage

    Dreep storage or your bucket

  2. 2

    Import

    Optional: Cloudinary, S3 or R2

  3. 3

    Server SDK

    JavaScript, Go or REST

  4. 4

    Your frontend

    Presigned uploads, CDN URLs

The same calls whichever storage you choose

Code does not change when a project uses your own bucket. This server call creates a presigned upload for a browser.

import { Dreep } from "dreep";

const dreep = new Dreep({ apiKey: process.env.DREEP_API_KEY });

const { id, uploadUrl } = await dreep.presignUpload({
  filename: "avatar.png",
  contentType: "image/png",
  sizeBytes: 184000,
  folder: "user-uploads",
});

What you can connect

Frequently asked questions

Can Dreep import files from my S3 or R2 bucket?

Yes. Connect the bucket on the Integrations page with read-only credentials, choose what to import and Dreep copies it into a project folder in a background job.

Which storage providers can I connect?

AWS S3, Cloudflare R2, Wasabi, DigitalOcean Spaces, MinIO and any other S3-compatible provider, on the Starter or Pro plan.

Which languages have official SDKs?

JavaScript and TypeScript, and Go. Other languages use the REST API with a bearer API key.

Does the Cloudinary import keep my URLs working?

No. Imported files get Dreep asset IDs and CDN URLs, so update the URLs you store.

Related

Connect your first integration

Create a project, then add your bucket in Storage settings or connect an importer from the Integrations page.