Skip to content

supabase-community/storage-ex

Repository files navigation

Supabase Storage

Storage implementation for the Supabase Potion SDK in Elixir.

Installation

def deps do
  [
    {:supabase_potion, "~> 0.5"},
    {:supabase_storage, "~> 0.3"}
  ]
end

Usage

Firstly you need to initialize your Supabase client(s) as can be found on the Supabase Potion documentation

Now you can pass the Client to the Supabase.Storage functions:

iex> Supabase.Storage.list_buckets(%Supabase.Client{})