-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
enhance(main/yt-dlp): add deno as dependency
#26680
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
so deno isnt available on 32-bit systems... i dont think yt-dlp should also be limited to 64-bit only (by doing is there a way to make yt-dlp depend on deno only for 64-bit systems? i can think of splitting this package into |
|
Not going to work because Deno does not support 32-bit. This will need to be a separate package that is only enabled for 64-bit targets. |
yes, separate package. I suggest actually the name |
|
In my opinion, it might also be better to wait for upstream yt-dlp to finish the nodejs support as an alternative to Deno and force the Termux package into defaulting to nodejs instead. This is because Nodejs supports 32-bit. |
|
seemingly, the reason deno will be preferred and recommended as the default choice by upstream is because deno has a better security model in the general case than Nodejs: I do see a pretty valid point in that because, if I understand correctly, the concern is that Youtube and any other sites that require the change will be running non-free Javascript on the device, when the videos are downloaded, and that is possibly more unsafe than using a web browser to do so, because Nodejs does not, as far as I know, have the same kind of sandbox for Javascript that browsers do. Maybe deno does have a similar sandbox. |
|
Would it be appropriate to added deno in TERMUX_PKG_RECOMMENDS ? |
|
i previously wrote this
i think most people ignore optional dependencies. |
|
I think it should be added in |
I assumed it may also be a build dependency, if it is not a build dependency and is only an optional runtime dependency, then yes that is good. |
|
In Termux, |
As far as I understand from the discussion linked above this is a soft, runtime-only, dependency. |
|
i was going to rebase and push changes but github auto closed the pull 😢, and new commits i push arent showing up |
|
Happens, just make a new PR. |
yt-dlp recently added a new requirement of
denofor solving javascript challanges yt-dlp/yt-dlp#14404 (comment)