一个基于FUSE的bittorrent文件系统:btfs

jopen 8年前

BTFS (bittorrent filesystem)

What is this?

btfs - 一个基于FUSE的bittorrent文件系统. C++。利用BTFS你可以安装任何 .torrent 文件或磁铁链接,然后使用它作为它作来任何只读目录你的文件树中。文件的内容会在应用读取它的时候在后台下载。还提供了像 ls, cat 和 cp 这样的工具。不需要任何改动就能够与 vlc 和 mplayer 这样的应用一起使用。

Example usage

$ mkdir mnt  $ btfs video.torrent mnt  $ cd mnt  $ vlc video.mp4

To unmount and shutdown:

$ fusermount -u mnt

Installing on a recent Ubuntu (Wily, Vivid or Trusty)

$ sudo add-apt-repository ppa:johang/btfs  $ sudo apt-get update  $ sudo apt-get install btfs

Dependencies

  • fuse ("fuse" in Debian/Ubuntu)
  • libtorrent ("libtorrent-rasterbar7" in Debian/Ubuntu)
  • libcurl ("libcurl3" in Debian/Ubuntu)

Building from git on a recent Ubuntu

$ apt-get install autoconf automake libfuse-dev libtorrent-rasterbar-dev libcurl4-openssl-dev  $ git clone https://github.com/johang/btfs.git btfs  $ cd btfs  $ autoreconf -i  $ ./configure  $ make

项目地址: https://github.com/johang/btfs