svelteytdl Svelte Themes

Svelteytdl

Small Svelte / Sveltekit application which takes in an youtube url and downloads the mp3 of that video

Before deploying on a pi

Changed the outputDir to /public and the adapter to auto in order to deploy the app on Vercel. Not sure if it still works in a Docker environment.

Running this Project

Clone the repositiory on your machine and run:

pnpm i

to install the required dependencies, after that you can run:

pnpm run dev

This will serve the app on this url which would be enough to start downloading mp3 from Youtube links.

How i run this on my pi:

TODO:

  • filename should be the name of the Youtube video -> ytdl core cant be imported client side for some reason
  • add some ui library (shadcn oder bits or maybe skeleton?)
  • add Dockerfile in order to run it inside a docker environment
  • (try to send the progess of the download to the client and add a progess-bar instead of the spinner)

Top categories

svelte logo

Need a Svelte website built?

Hire a professional Svelte developer today.
Loading Svelte Themes