supaflix
supaflix copied to clipboard
Supaflix, video gallery hosted on Supabase
The project uses Supabase storage as CDN for HLS streaming
Demo
https://supaflix.vercel.app/
Quick start
Install dependencies
yarn install
Run the development server
npm run dev
# or
yarn dev
Open http://localhost:8080 with your browser to see the result.
Upload new video
The source video file will be transcoded to adaptive HLS and uploaded to the Supabase storage.
$ curl -H "Content-Type: application/json" \
-X POST http://localhost:8080/api/items -d \
'{
"title": "Test title",
"description": "test description",
"source_path": "https://didkyjgwsjjjadhqgwqr.supabase.in/storage/v1/object/public/media/sources/test_video.mp4"
}'
Requirements
- FFmpeg