Web interface for YTDL API.
- Node v18
Run command below to install application locally.
$ npm install
Create .env
file with variable referencing API's url. Example:
API_URL=http://localhost:8080
$ npm run devserver
App should be automatically opened on http://localhost:8080
$ docker compose watch
App should be automatically opened on http://localhost:8080
$ fly deploy --build-arg API_URL=https://link-to-ytdl-backend.api
Instructions based on this documentation page from Fly.io
- Run the command below and copy and copy the output:
$ fly tokens create deploy -x 999999h
- Go to repo's Settings -> Security section -> Secrets and variables -> Actions. Click New repository secret button and paste copied output key from previous step int Secret input.
This section describes potential issues that may occur when using API.
1. Issue: Video is downloaded and playing but audio is absent when opening video in QuickTime Player.
Solution: Open video in another player (VLC Player for example). Maybe QuickTime Player doesn't support audio codec used in video.