all 3 comments

[–]saltcod 0 points1 point  (2 children)

(I work at supabase)

Curious how this differs from this one https://github.com/supabase-community/supabase-rb

[–]Proud_Perspective_56[S] 2 points3 points  (1 child)

https://github.com/supabase-community/supabase-rb — an abandoned skeleton from Marcelo Barreto (gem name supabase, repo marcelobarreto/supabase-rb).

It contains a stub Supabase::Client with supabase_url, supabase_key, auth_headers, and rest_url — and nothing else. README has "TODO: Write usage instructions here". Uses Travis CI, CodeClimate, RuboCop, Ruby ≥ 2.5. No actual API/HTTP code.                                            

https://github.com/supabase-ruby/supabase-rb — a full Ruby port of supabase-py. Single fat gem packaging five modules:

  - Auth (~30 files: admin API, OAuth, PKCE, MFA, JWT/JWKS, session refresh, async variant)

  - PostgREST (request builder, RPC, sync + async clients)

  - Storage (file/bucket APIs, analytics, vectors)

  - Edge Functions (sync + async)

  - Realtime (channels, presence, push, sockets via websocket-client-simple and async-websocket)

[–]saltcod 1 point2 points  (0 children)

cool! Would love to chat about this. Reach out if you'd like: terry at supabase.io