1
0
Fork
You've already forked playlist
0
Easily download YouTube playlists using cobalt.tools' API. https://playlist.kwiatekmiki.pl
  • Svelte 41.9%
  • CSS 24.9%
  • TypeScript 22.2%
  • JavaScript 5.7%
  • HTML 3.8%
  • Other 1.5%
2025年01月30日 10:06:49 +00:00
src refactor: change instance for better reliability 2024年11月29日 21:05:30 +01:00
static initial commit 2024年11月24日 16:09:21 +01:00
.dockerignore initial commit 2024年11月24日 16:09:21 +01:00
.gitignore initial commit 2024年11月24日 16:09:21 +01:00
.npmrc initial commit 2024年11月24日 16:09:21 +01:00
docker-compose.yml feat: use image instead of building 2025年01月30日 10:06:49 +00:00
Dockerfile feat: dockerize 2024年11月24日 17:30:49 +01:00
package.json feat: soundcloud support 2024年11月24日 22:21:41 +01:00
pnpm-lock.yaml initial commit 2024年11月24日 16:09:21 +01:00
README.md refactor: add soundcloud to readme 2024年11月24日 22:23:09 +01:00
svelte.config.js initial commit 2024年11月24日 16:09:21 +01:00
tsconfig.json initial commit 2024年11月24日 16:09:21 +01:00
vite.config.ts initial commit 2024年11月24日 16:09:21 +01:00

cobalt playlist downloader

a lot of people have been asking for this, so i made it. paste the link, download the first file, allow multiple file downloads if you didn't do that before and keep saving files until it finishes.

due to limitations, it can only download audio for now. i might host multiple instances to bypass them, but i'll need to finally set up cookies, which i can't really do right now.

supported services

  • youtube
  • soundcloud

api

if you want you can use the /getvideos endpoint with the url parameter being the link to the playlist, e.g. https://www.youtube.com/playlist?list=PLXQAAGoKe2_tobF3ioyI86AghVLmhf8wd

example curl command:

curl https://playlist.kwiatekmiki.pl/getvideos?url=https://www.youtube.com/playlist?list=PLXQAAGoKe2_tobF3ioyI86AghVLmhf8wd

example response:

["https://youtu.be/sIHgGLAWQFU","https://youtu.be/qRs4xBPC4xw","https://youtu.be/5FDM0tac-xA","https://youtu.be/P3YjZbQT2-c","https://youtu.be/_LNf4a37RSM","https://youtu.be/8EGmZlGJWkg","https://youtu.be/b4_FbH7xCmw","https://youtu.be/JHnKOdSOhFQ"]

video links are seperated by semicolons

how to selfhost

git clone https://codeberg.org/kwiat/playlist
pnpm run build
node build

Developing

Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:

npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

To deploy your app, you may need to install an adapter for your target environment.