Home / Companies / Mux / Blog / Post Details
Content Deep Dive

Introducing @mux/supabase, because every app needs a database

Blog post from Mux

Post Details
Company
Mux
Date Published
Author
Dylan Jhaveri
Word Count
1,931
Language
English
Hacker News Points
-
Summary

Integrating Mux, a video API, with Supabase, an open-source Postgres development platform, can streamline the management and processing of video data for applications. While some simple Mux integrations might not require a database, more complex applications benefit from using Supabase to handle additional functionalities like user permissions, video categorization, and viewership analytics. The integration process involves setting up a mux schema in Supabase, backfilling existing assets, and creating Edge Functions to handle webhooks for automated workflows, such as AI-driven content moderation using OpenAI's models. The integration allows for the creation of sophisticated workflows that can automatically generate content tags or perform moderation tasks based on video readiness, enhancing the capability to manage video assets efficiently. Supabase's Edge Functions, though limited by execution time based on the plan, enable developers to run local models, update databases, and interact with third-party APIs, making it a versatile tool for building advanced video applications.