@mux/supabase contains a CLI for integrating your Mux account with your Supabase account. Setting this up will:
- Create a
muxschema that contains tables for:assets(Assets)live_streams(Live Streams)uploads(Direct Uploads)events(Webhook events)
- Set up an edge function for receiving webhooks and keeping data in the
muxschema up-to-date
View the README for @mux/supabase.
If you want the same syncing behavior with your postgres database, and you're not using Supabase, then you can do that directly with the @mux/sync-engine package, which works with any postgres database:
View the README for @mux/sync-engine.