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.
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.
git clone https://github.com/MyLastSerenade/svelteytdl.git
cd svelteytdl
docker build -t svelteytdl -f /home/USERNAME/svelteytdl/Dockerfile /home/USERNAME/svelteytdl
sudo docker-compose up -d
- 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)