【Hacker News搬运】BTFS:BitTorrent文件系统
-
Title: BTFS: BitTorrent Filesystem
BTFS:BitTorrent文件系统
Text:
Url: https://github.com/johang/btfs
标题:GitHub - johang/btfs: 一个基于FUSE的BitTorrent文件系统 作者:johang 发布日期:未提供 顶部图片链接:无 文本内容: BTFS允许您挂载任何.torrent文件或磁力链接,并将其作为文件树中的任何只读目录使用。文件的内容将在应用程序读取时按需下载。工具如ls、cat和cp按预期工作。应用程序如vlc和mplayer也可以无需更改即可工作。
$ mkdir mnt
$ btfs video.torrent mnt
$ cd mnt
$ vlc video.mp4要卸载并关闭: 在Debian/Ubuntu上安装 在Fedora OSTree上安装
$ rpm-ostree install fuse-btfs
使用brew在macOS上安装。 在Ubuntu 16.04中使用fuse ("fuse") 在Ubuntu 16.04中使用libtorrent ("libtorrent-rasterbar8") 在Ubuntu 16.04中使用libcurl ("libcurl3") 在最近的Debian/Ubuntu上从git构建
$ sudo apt-get install autoconf automake libfuse-dev libtorrent-rasterbar-dev libcurl4-openssl-dev g++
$ git clone https://github.com/johang/btfs.git btfs
$ cd btfs
$ autoreconf -i
$ ./configure
$ make如果想要安装,可以选择性地进行: 在macOS上获取依赖项使用brew。
$ brew install Caskroom/cask/osxfuse libtorrent-rasterbar autoconf automake pkg-config
$ git clone https://github.com/johang/btfs.git btfs
$ cd btfs
$ autoreconf -i
$ ./configure
$ make如果想要安装,可以选择性地进行: 这是一个基于FUSE的BitTorrent文件系统的介绍,它允许用户挂载.torrent文件或磁力链接,并将其作为只读目录使用。该系统支持常规的文件操作,并且在应用程序中使用时可以自动下载文件内容。提供了在Debian/Ubuntu、Fedora OSTree和macOS上安装BTFS的指导。
Post by: pyinstallwoes
Comments:
skeledrew: Pretty cool on the surface, but 2 things I can think of right now that mostly kills it for me (and maybe many others). 1) the things one usually use Bittorrent for tend to need the complete files to be all there to be useful, and internet speeds is a limiter in that regard. 2) seeder count tends to break down pretty quickly, as people delete or even just move the files elsewhere for whatever reason, so availability falls.
skeledrew: 表面上很酷,但我现在能想到的两件事对我来说(也许还有很多其他人)最致命。1) 人们通常使用Bittorrent做的事情往往需要完整的文件才能有用,而网速在这方面是一个限制因素。2) 种子数量往往会很快崩溃,因为人们出于任何原因删除甚至只是将文件移到其他地方,所以可用性会下降。
Kerbonut: I dream of having a BTFS that will fix my "damaged" media files. E.g. ones I media shift, if my disk was scratched and portions are missing, or if the codec options I picked suck, it could download the "damaged" portions of my media and fix it seamlessly.
Kerbonut: 我梦想拥有一个BTFS,它将修复我的“;损坏的“;媒体文件。例如,如果我的磁盘被刮伤并且部分丢失,或者如果我选择的编解码器选项很糟糕,它可以下载“;损坏的“;部分媒体并无缝修复。
Cieric: I've thought about using this for my media server in the past, but in the end I ran into to many issues trying to automate it. Then there's all the normal issues, slow downloads can wreck havoc on some programs expecting the whole thing to be there and I couldn't move files around without breaking connections. It was interesting to mess with, but in the end I just decided it would be a fun challenge to write my own in zig so I could have something "easy" to hack on in the future.
Cieric: I-;我过去曾想过将其用于我的媒体服务器,但最终我在尝试将其自动化时遇到了许多问题;所有的正常问题,缓慢的下载可能会破坏一些程序,期望整个事情都在那里,而我不能;t在不中断连接的情况下移动文件。这很有趣,但最终我决定用zig写自己的东西会是一个有趣的挑战,这样我就可以有一些东西了;容易的“;以在未来破解。
dang: Related:<p><i>BTFS – mount any .torrent file or magnet link as directory</i> - <a href="https://news.ycombinator.com/item?id=23576063">https://news.ycombinator.com/item?id=23576063</a> - June 2020 (121 comments)<p><i>BitTorrent file system</i> - <a href="https://news.ycombinator.com/item?id=10826154">https://news.ycombinator.com/item?id=10826154</a> - Jan 2016 (33 comments)
dang: 相关:<p><i>BTFS–将任何.torrent文件或磁铁链接安装为目录</i>-<a href=“https:/;news.ycombinator.com/?id=23576063”>https:ȏ/;news.ycombinator.com/;项目id=23576063</a>-2020年6月(121条评论)<p><i>BitTorrent文件系统</i>-<a href=“https://;/;news.ycombinator.com/!item?id=10826154”>https:///;news.ycombinator.com/;项目id=10826154</a>-2016年1月(33条评论)
pyinstallwoes: Submitting because I'm surprised why this isn't used more... couldn't we build a virtualmachine/OS's as an overlay on BTFS? Seems like an interesting direction.
pyinstallwoes: 提交是因为我;我很惊讶为什么这不是;t用得更多。。。不能;我们构建一个虚拟机;OS;作为BTFS的覆盖?看起来是个有趣的方向。