Skip to content

Self-hosted personal gallery application with online photo management and albums, supporting Live/Motion Photos, EXIF parsing, geolocation recognition, and an explore map.

1022 B
Raw Blame

@chronoframe/storage

Instance-scoped storage providers for Self-hosted and future cloud entry points.

Import from @chronoframe/storage or its declared provider/interface subpaths. Construct StorageManager with explicit configuration and an optional structural logger. The application owns global instances, configuration reloads and Nitro lifecycle. Local, S3 and OpenList retain their existing behavior and capabilities. Configuration and errors may contain sensitive information: only trusted server code should instantiate providers or access configuration. Upload lifecycle logs keep the existing sanitized metadata policy.

Self-hosted S3 and the Cloud upload adapter share canFallbackToSingleUpload (also exported by s3-edge). Only unsupported or denied multipart initialization may fall back to signed PUT; transient, authentication and signing failures must remain errors. Existing multipart sessions keep their original part sizing.

Run pnpm check:packages and pnpm test from the workspace root.