A frontend to yt-dlp to download things
https://dl.emersa.it
.forgejo/workflows | ||
configurations | ||
scripts | ||
src | ||
static | ||
.env.example | ||
.gitignore | ||
.npmrc | ||
.prettierignore | ||
.prettierrc | ||
Dockerfile | ||
eslint.config.js | ||
LICENSE | ||
package-lock.json | ||
package.json | ||
postcss.config.js | ||
README.md | ||
svelte.config.js | ||
tailwind.config.ts | ||
tsconfig.json | ||
vite.config.ts |
scaricatore

It's a svelte(kit) frontend that uses yt-dlp
to let the user download things from the web.
How to Deploy
Node
- Install nodejs
- Download the latest release from the releases page.
- Unpack and decompress (
tar xvf build.tar.gz
) the release - Then
cd
into it and run:npm ci
andnpm run build
- Copy
.env.example
to.env
, and add needed variables - Run it:
node .
- 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 setYTDLP_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