# scaricatore ![version](https://git.pweapon.org/odo/dl.emersa.it/badges/release.svg 'version') ![status](https://git.pweapon.org/odo/dl.emersa.it/badges/workflows/ci.yaml/badge.svg 'status') ![GNU](https://img.shields.io/badge/license-GPL--3.0-green?logo=gnu) It's a svelte(kit) frontend + backend that uses [`yt-dlp`](https://github.com/yt-dlp/yt-dlp) to let people download audio/video files from the web. [`... we don't have the concept of users, when we refer to people, we call them people.`](https://ar.al/2020/08/07/what-is-the-small-web/) screen ## Self-Hosting ### Node - Install NodeJS - Create a new directory (`"${PROJECT_ROOT}"`) - run `scripts/install.sh "${PROJECT_ROOT}"` Edit `scripts/deploy_example.sh` if you need to deploy `scaricatore` to some server using `SSH`. ### Docker (currently not supported) ## Development: getting started - run `git clone git@git.pweapon.org:odo/dl.emersa.it.git` - Run `cd dl.emersa.it; 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: - Containerfile for container build - Source spotify (spotdl) - Parse URL info without `youtube-dl-exec` - Dockerfile inside the forgejo release action