Haha, from the title I expected this to be a solution for generating MP4s from arbitrary data that you could then upload to YouTube for backup.<p>This is definitely really cool, too. I like that it shows that a node in a filesystem is just another way to represent some resource, but in a way that's a little more familiar to most people than something like procfs.
Interesting! Looks like this is youtube-dl combined with FUSE, so that you can use a normal video player to play and filesystem tools to browse, rather than downloading first. See <a href="https://github.com/rasguanabana/ytfs/blob/master/doc/dependencies.rst" rel="nofollow">https://github.com/rasguanabana/ytfs/blob/master/doc/depende...</a> .
This is great! Also, check out this easter egg which makes every video rick roll haha: <a href="https://github.com/rasguanabana/ytfs/blob/master/stor.py#L126" rel="nofollow">https://github.com/rasguanabana/ytfs/blob/master/stor.py#L12...</a>
Neat! Any plans to make the different video qualities quickly available? Maybe as a subdir named with the resolution, eg search/movie/480p.mp4 or maybe movie.1080p.mp4?
kudos, that's an excellent idea, combining out-of-the box thinking, data structuring, creating value all using basic tools. A tip to the hat. Nice work!
Might I recommend not using the prev/next executables and instead adding another directory level to indicate search page, e.g. ytfs/search/1/video.mp4<p>would make it easy to reexport this file system, e.g. Over http or smb.
side-note: I find it very very interesting to think about a filesystem of unknown content and size. It's basically an infinite tree through FUSE. Nothing crazy, but interacting with it directly is inspiring.