Is there a way to use the javascript client of Supabase on Weweb?

I see a lot of things that can be achieved with the JS client of Supabase, like upload, delete files. This will allow us to use the whole power of Supabase on Weweb.

Is there a way to do this on Weweb?

Yes as quoted by @dorilama you can access it through wwLib.wwPlugins.supabase.instance

Be aware the current instance use the sdk v1. So you can’t use some features only available with the sdk v2. We are currently working hard to revamp our supabase plugin and upgrade to v2. We will try to add as many features as possible so you don’t need to use javascript anymore, or very little.

2 Likes

Thta’s amazing! Thank you so much, so I can use the opportunity to communicate the need of having storage functionality on the Supabase plugin.
Thank you so much for the hard work!

1 Like

Sorry, so how should I write the structure of the javascript code?

1 Like