What Sypnia Files is
Storage for the files of your app, with rules tied to who is signed in, image transforms and an S3-compatible API.
What you get
| What | In one line |
|---|---|
| Buckets | Folders at the top level, public (anyone with the link) or private (only who your rules allow) |
| Access rules | Who can read, upload, replace or delete each file, written as Postgres policies with auth.uid(), the same user as in Sypnia Data |
| Signed URLs | A link to one private file that works for a few minutes, or a link to upload one file without a session |
| Resumable uploads | Big files and bad connections: an upload that stops continues where it stopped |
| Images | Resize, crop and convert to WebP or AVIF in the URL, cached at the edge |
| Use cases | Each file records the use case that wrote it, and each upload is a step in that case’s trace (Use cases and traces) |
| Malware scanning | Optional per bucket: a file is served only after it is checked |
| S3-compatible API | Use the AWS SDK, rclone or any S3 tool against your buckets |
| Your own storage | Keep the objects in your AWS S3, Cloudflare R2 or MinIO bucket |
How it fits with the rest of Sypnia
- With Sypnia Data in the same project, file metadata lives in your project’s database, so a policy can join files with your tables («a customer can see the receipt of their own order»).
- Sypnia Run apps get the Files address and keys as variables when you connect them.
- Sypnia Mail can attach a file from a bucket by its path.
- Sypnia Domains serves your public files on your own address, such as
cdn.laespiga.co(Your own address). - Sypnia Telemetry shows every upload and download inside the trace of the use case that made it.
Files also works alone: point it at any issuer of JWTs (Auth0, Clerk, Firebase, your own) and it checks them the same way.
What it is not
- Not a video streaming service: it stores and serves video files, without transcoding to adaptive streams.
- Not a backup product for your computers.
- Not a file-sharing app with folders for people; it is the storage behind your app.