The officially official Devuan Forum!

You are not logged in.

#1 2025-10-25 05:56:46

HardSun
Member
Registered: 2025-07-29
Posts: 72  

yt-dlp to depend on deno or another supported JavaScript runtime

Wasnt sure where to post this as its not really a devuan concern, but im sure yt-dlp users who download from youtube would want to know.

I use the yt-dlp_linux binary yt-dlp offer on github, going forward with the next release you will need deno or another JS runtime to make it work alongside the binary or however else you install yt-dlp.

https://github.com/yt-dlp/yt-dlp/issues/14404

Last edited by HardSun (2025-10-25 05:57:10)

Offline

#2 2025-10-25 12:42:44

Ron
Member
Registered: 2018-04-22
Posts: 597  

Re: yt-dlp to depend on deno or another supported JavaScript runtime

I'm neither an expert nor clueless on things like this . . . but, I'm wondering, does adding something like deno or node to your system make it less secure? Also, I didn't see anywhere on the link above that it will be needed on the next release of yt-dlp.

Offline

#3 2025-10-25 13:06:24

HardSun
Member
Registered: 2025-07-29
Posts: 72  

Re: yt-dlp to depend on deno or another supported JavaScript runtime

im not sure about security of any JS framework to bundled alongside yt-dlp, that will need to be researched.

the releases page has more info about when it will be needed.
https://github.com/yt-dlp/yt-dlp/releas … 2025.10.22

Offline

#4 2025-10-25 14:25:05

Ron
Member
Registered: 2018-04-22
Posts: 597  

Re: yt-dlp to depend on deno or another supported JavaScript runtime

Okay, thanks. And thanks for the heads up on yt-dlp.

Offline

#5 2025-10-26 11:08:02

kapqa
Member
Registered: 2019-01-02
Posts: 637  

Re: yt-dlp to depend on deno or another supported JavaScript runtime

just tried this yesterday on a fresh installation of devuan 4.0

the old routine with pip would no longer function, since yt/dlp now expects python3.10 as minimum.

there is a backport found here https://community.home-assistant.io/t/h … e/528439/1

and it would function with the current version of yt/dlp that makes use of it<
https://github.com/yt-dlp/yt-dlp/releas … -dlp_linux

see what the future brings, hopefully we can move on from yt/dlp soon.

Offline

#6 2025-10-26 14:12:19

stargate-sg1-cheyenne-mtn
Member
Registered: 2023-11-27
Posts: 479  

Re: yt-dlp to depend on deno or another supported JavaScript runtime

yt-dlp users should probably familiarize themselves with:

https://github.com/yt-dlp/yt-dlp/issues/14404


Be Excellent to each other and Party On!
https://www.youtube.com/watch?v=rph_1DODXDU
https://en.wikipedia.org/wiki/Bill_%26_Ted%27s_Excellent_Adventure
Do unto others as you would have them do instantaneously back to you!

Offline

#7 2026-02-20 16:26:41

swanson
Member
Registered: 2020-04-22
Posts: 139  

Re: yt-dlp to depend on deno or another supported JavaScript runtime

Yes, Deno is needed for YT-downloading. And now also exporting a YT cookie as well. More about the cookie export here:

https://github.com/yt-dlp/yt-dlp/wiki/E … be-cookies

Offline

#8 2026-02-20 16:37:52

Devarch
Member
Registered: 2022-10-03
Posts: 163  

Re: yt-dlp to depend on deno or another supported JavaScript runtime

im not sure about security of any JS framework to bundled alongside yt-dlp, that will need to be researched.

exactly

https://www.ndss-symposium.org/wp-conte … -paper.pdf

to use only when necessary

Last edited by Devarch (2026-02-20 16:40:27)

Offline

#9 2026-02-20 16:41:47

EDX-0
Member
Registered: 2020-12-12
Posts: 212  

Re: yt-dlp to depend on deno or another supported JavaScript runtime

nope, deno is not needed, all that is needed is a javascript interpreter more complete than the python mini interpreter, due to runtime permissions the yt-dlp project reccomends deno, but nodejs (packaged by debian and available in devuan) just works.

the javascript interpreter is needed only for downloading from youtube, all other video sites work without it.

just install node with sudo apt install nodejs and after updating yt-dlp copy the following to $HOME/.config/yt-dlp/config

## Enable NodeJS or QuickJS usage for YouTube, both options can be uncommented.
## Please see notes as to why you might want to consider carefully when enabling
## https://github.com/yt-dlp/yt-dlp/wiki/EJS#step-1-install-a-supported-javascript-runtime
# prefer the nodejs runtime
--js-runtimes node
# --js-runtimes bun
# --js-runtimes quickjs

## Enable remote components in Deno and Bun, useful to fetch required Ejs scripts
## https://github.com/yt-dlp/yt-dlp/wiki/EJS#step-2-install-ejs-challenge-solver-scripts
# prefer to fetch the challenge solver script from the github repo directly
--remote-components ejs:github
# --remote-components ejs:npm

that is all, you can continue downloading everything from youtube or streaming the videos with mpv (it downloads to a tmp dir)

Offline

#10 2026-02-20 16:44:16

Devarch
Member
Registered: 2022-10-03
Posts: 163  

Re: yt-dlp to depend on deno or another supported JavaScript runtime

nodejs (packaged by debian and available in devuan) just works.

worse than deno from security point of view.

Offline

#11 2026-02-20 17:01:12

EDX-0
Member
Registered: 2020-12-12
Posts: 212  

Re: yt-dlp to depend on deno or another supported JavaScript runtime

yes, everything is worse than deno security wise, but deno is le rust, rust bad, also rust anything is conflicting with the debian way of packaging thanks to the rust package manager, cargo...

the challenge to package deno for debian is open, but after that comes the challenge of convincing users that something written in rust is not bad.

Offline

#12 2026-02-20 22:21:44

swanson
Member
Registered: 2020-04-22
Posts: 139  

Re: yt-dlp to depend on deno or another supported JavaScript runtime

Thanks for the tip about nodejs!

Offline

Board footer