Upload in-memory file stream/buffer to Supabase Storage?
I want to POST a base64 encoded image file to a Supabase Edge Function which then turns the base64 string into an in-memory file stream/buffer and uploads that to Supabase, such as: https://examples.deno.land/streaming-files
I'd like to avoid turning the string directly into a file on disk, but as far as I can tell that's the only thing the Supabase Storage client supports: https://supabase.com/docs/reference/javascript/storage-from-upload
Is this doable?
Any and all info/ideas appreciated.
I'd like to avoid turning the string directly into a file on disk, but as far as I can tell that's the only thing the Supabase Storage client supports: https://supabase.com/docs/reference/javascript/storage-from-upload
Is this doable?
Any and all info/ideas appreciated.
Sometimes we need more granular control over file operations. Deno provides a low level interface to file operations that may be used for this purpose. -- Deno by example is a collection of annotated examples for how to use Deno, and the various features it provides.
