This is a full service REST api, and UI used for downloading audio files from youtube videos.

This repository uses yarn berry, which means you need both npm and yarn downloaded locally. If you use nvm for managing your node enviornment then you will have npm, and just need to download yarn 1.X.X. For more info refer here.
- Node.js >= v14.X.X
Note: For the following packages below, you may run sh ./backend/install.sh. The script supports macOS, and Ubunutu. For Mac's it will use brew, and for Ubunutu apt.
- ffmpeg
- yt-dlp
cd backendyarn installexport LOG_LEVEL=httpyarn build && yarn mainoryarn devfor development mode.
cd backenddocker build . -t <your username>/restructure-ytdocker run -p 49160:8080 -d <your username>/restructure-ytdocker ps# Get your container IDdocker logs <container id># Get container logscurl -i localhost:49160docker exec -it --user=root <container_id> /bin/ash# Running as root user
LOG_LEVEL: The lowest priority log level to surface, defaults toinfo. Tip: set tohttpto see all HTTP requests.LOG_JSON:Whether or not to have logs formatted as JSON, defaults tofalse. Useful when usingstdoutto programmatically process log data.
cd frontendyarn installyarn build && yarn start