holzschu / Carnets

Carnets is a stand-alone Jupyter notebook server and client. Edit your notebooks on the go, even where there is no network.
https://holzschu.github.io/Carnets_Jupyter/
BSD 3-Clause "New" or "Revised" License
567 stars 34 forks source link

Ffmpeg and other binary support in Carnets #182

Open nipunbatra opened 3 years ago

nipunbatra commented 3 years ago

Hi, thanks again for the amazing work.

In a recent blog post https://nipunbatra.github.io/blog/ml/2021/06/18/audio-filters.html

I was working on ffmpeg plus Python for some audio filtering. Now, a shell has ffmpeg, Carnets provides notebook. However I needed both and thus resorted to a remote notebook.

I’m wondering if some features could be added to Carnets like using additional binaries like ffmpeg. Or perhaps there is already a way to do so via callbacks?

holzschu commented 3 years ago

Hi, specifically adding the ability to execute WebAssembly commands to Carnets would be very simple (that's the benefit of sharing a mutual code base with a-Shell). I haven't done it so far because I could not see a use for that, but this is one. I've added it to the todo list: https://github.com/holzschu/Carnets/projects/1

You mentionned callbacks. You can execute a command in a-Shell by calling open aShell://command, so that might be possible fix.

holzschu commented 2 years ago

Hi, Thanks for the suggestion. The latest TestFlight version of Carnets has ffmpeg (the native version, since it was easier): https://testflight.apple.com/join/yevwlUs1