dl.emersa.it/README.md
0d0 62eb38601b
All checks were successful
Bump deps (only minor versions) / ci (push) Successful in 21s
fix sizd
2025-02-15 00:50:59 +01:00

1.3 KiB

scaricatore

version status

screen

It's a svelte(kit) frontend that uses yt-dlp to let the user download things from the web.

How to Deploy

Node

  1. Install nodejs
  2. Download the latest release from the releases page.
  3. Unpack and decompress (tar xvf build.tar.gz) the release
  4. Then cd into it and run: npm ci and npm run build
  5. Copy .env.example to .env, and add needed variables
  6. Run it: node .
  7. You can also try to configure the systemd unit file inside the configurations folder.

Docker

(currently not supported)

Development: getting started

  • Clone the repo
  • Run npm install (you have to have node installed)
  • Run npm run download-yt-dlp
  • Copy .env.example to .env
  • Change .env to set YTDLP_PATH to the yt-dlp binary previously downloaded
  • Run npm run dev
  • Now you can write code

To do:

  • Proper logs (I don't like them, not useful for production build)
  • Containerfile for container build
  • Source spotify (spotdl)
  • Parse URL info without youtube-dl-exec