Photo storage and delivery for photo-sharing apps

Dreep stores every original your users upload and serves each size from the URL. Phones upload directly through presigned URLs, private albums open through short-lived signed links, and iPhone HEIC is delivered as WebP or AVIF.

How it works

Your backend decides who may upload. Dreep stores, converts and delivers, and the bytes never pass through your servers.

  1. 1

    User shares photos

    HEIC or JPEG

  2. 2

    Backend presigns

    albums/{userId}/{albumId}

  3. 3

    Phone PUTs bytes

    Single-use URL

  4. 4

    Confirm

    Asset becomes ready

  5. 5

    Feed and lightbox

    AVIF, signed if private

Uploads up to 500 MB per file.

Private albums with signed links

Create the Signed root once, then hand each viewer a signed URL that expires in minutes.

import { Dreep } from "dreep";

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

// Once, at setup. albums/ and every folder under it are Signed.
await dreep.createFolder({ path: "albums", accessControlType: "signed" });

// Only after checking the viewer may open this album.
const thumb = dreep.signedUrl(asset, {
  expiresIn: 600,
  transform: { width: 384, height: 384, fit: "cover", format: "avif" },
});

Why photo apps use it

Inherited folder access

A new album folder is Signed because albums/ is Signed, so no album is public by accident.

Format on delivery

HEIC, JPEG and PNG originals all leave as AVIF or WebP, chosen by a URL parameter.

Fixed limits

A viral week produces a LIMIT_EXCEEDED error you can catch, never an open-ended bill.

Frequently asked questions

Can users upload HEIC photos straight from an iPhone?

Yes. HEIC and HEIF are accepted inputs. Store the file as uploaded and request format=avif or format=webp when you display it.

Should private albums use Private or Signed folders?

Signed. Private folders can only be viewed by project members in the Dreep dashboard, so your users could never open them.

How long should a signed album link last?

As short as your UI allows, often 5 to 15 minutes. Anyone holding a signed URL can open it until it expires, so treat it as a bearer token.

How do I limit how much each user can upload?

In your backend, before you presign. Dreep enforces plan limits per project, not per end user.

Related

Build a private album flow on the free plan

Create a Signed albums folder, upload a HEIC photo from your phone and open it through a signed AVIF link.