Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 975 Bytes

README.md

File metadata and controls

42 lines (30 loc) · 975 Bytes

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