Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Electron is a small Chromium browser that can interact with Node.JS, youtube-dl is packaged with this app as a node package manager dependency. The youtube-dl binary is downloaded and then called via a child process, let me know if that clears things up for you.


So you need to have the python runtime installed for this to work? Or is that downloaded as well?

I was just thinking I could for instance make a similar JavaFX crossplatform GUI on the JVM, but I'd have no idea how to call the youtube-dl python code. So I'm just curious how Electron solves that problem :)


No you just need the prereqs to run node, the binary comes compiled already


Oh okay with precompuled binaries then that's not so crossplatform. Thanks for clarifying :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: