Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zoedsoupe/storage-ex

Elixir client to interact with Supabase Storage
https://github.com/zoedsoupe/storage-ex

elixir supabase supabase-storage

Last synced: 4 months ago
JSON representation

Elixir client to interact with Supabase Storage

Awesome Lists containing this project

README

        

# Supabase Storage

[Storage](https://supabase.com/docs/guides/storage) implementation for the [Supabase Potion](https://hexdocs.pm/supabase_potion) SDK in Elixir.

## Installation

```elixir
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](https://hexdocs.pm/supabase_potion/readme.html#usage)

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

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