Skip to content

profebo1/video-extract

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Video Extraction Tool

Prerequisites

  • ffmpeg
  • node v16.17.0
  • yarn v3.2.3
  • npm >= 8.15

Setup

Create .env

DATABASE_URL=file:./database.db
API_PORT=5000
NEXT_PUBLIC_API_URL="http://localhost:5000"
$ yarn # install dependencies
$ yarn db:gen # generate prisma client
$ npx prisma db push # make sure db has the correct schema
$ yarn db:seed # optional: seed database
$ yarn dev # run all components in parallel

Development

Typesafety

You can run the check-types.sh script in the root directory (./scripts/check-types.sh) to check for typescript errors.

Overview

There are 3 components to this software:

  • Web Application
  • API
  • Downloader

The web application is a NextJS app with a tPRC backend.

The API is only there to serve the downloaded mp4 video and clip files.

The Downloader downloads the youtube videos and cuts the clips from those video files.

Features

Bigger Features

  • S3 Buckets for video storage
  • Queue System for downloading videos and clips (f.e. redis and bull)
  • Advanced Video Management (folders, tags, title search)
  • Download youtube videos in browser (with cors.sh / cors-anywhere proxy and ytdl-browser)
  • Download all videos in playlist

Smaller Features

  • Save thumbnails and show as video poster
  • Failed youtube clip download management
  • Clip modal, instead of opening mp4 in new tab
  • UI / UX Improvements (modals for alerts and prompts)
  • Bulk Import (text field with comma or line separated urls)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 94.9%
  • JavaScript 3.7%
  • Shell 1.1%
  • CSS 0.3%