Skip to content

File Uploads #402

@MrVauxs

Description

@MrVauxs

There is no issue regarding File Uploads, so here is one.

As of the day I am writing this, the following has been said on Discord:

Matt Linkous — 20/05/2025 17:56
If you mean like file uploads, they're on the roadmap for sure but are being worked on currently. When we do add this feature, our plan is to add s3 compatible file upload queue that can be used on the client seamlessly whether online or not

Matt Linkous — 27/08/2024 00:13
Yeah we'd very likely have distinct storage for files but keep the metadata in a Triplit collection. We made a particularly neat file uploading system in the app we built before Triplit and we'd likely replicate that functionality.

Note

Implementation Considerations for DIY'ing it

Matt Linkous — 11/06/2024 19:53
Regarding file uploads: In our experience, the best approach is to upload any media to a service like S3, R2, etc and then only once you have a URL for the successful upload, insert that entity with the URL. All handled on the client. However, it's all dependent on your apps needs. You can also have generic "uploads" collection where each entity represents some file and you can then update uploads states there and then have a relation that points to the upload.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions