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
Storage
Dreep storage or your bucket
- 2
Import
Optional: Cloudinary, S3 or R2
- 3
Server SDK
JavaScript, Go or REST
- 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",
});upload, err := client.PresignUpload(ctx, dreep.PresignOptions{
Filename: "avatar.png",
ContentType: "image/png",
SizeBytes: 184000,
Destination: dreep.Destination{Folder: "user-uploads"},
})curl -X POST "https://api.dreep.cloud/api/v1/upload/presign" \
-H "Authorization: Bearer $DREEP_API_KEY" \
-H "Content-Type: application/json" \
-d '{"filename":"avatar.png","contentType":"image/png","sizeBytes":184000,"folder":"user-uploads"}'What you can connect
Your own storage bucket
On Starter or Pro. Connect it when you create the project, because it cannot be changed afterwards.
Migration
One-off background imports with progress and a per-file log. These are separate from bringing your own bucket.
SDKs and frameworks
Two official SDKs with zero dependencies, plus REST for the rest.
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.
Connect your first integration
Create a project, then add your bucket in Storage settings or connect an importer from the Integrations page.