Skip to content

abc3/supaflix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Supaflix, video gallery hosted on Supabase

The project uses Supabase storage as CDN for HLS streaming

Screenshot 2021-08-06 at 18 03 55

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