All Projects โ†’ distribyted โ†’ Distribyted

distribyted / Distribyted

Licence: gpl-3.0
๐Ÿ“‚ โžก๏ธ ๐Ÿ“บ ๐ŸŽถ ๐ŸŽฎ Torrent client with on-demand file downloading as a filesystem.

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Distribyted

Catfs
Cache AnyThing filesystem written in Rust
Stars: โœญ 404 (-48.93%)
Mutual labels:  fuse, fuse-filesystem, filesystem
Supertag
A tag-based filesystem
Stars: โœญ 207 (-73.83%)
Mutual labels:  fuse, fuse-filesystem, filesystem
Fusell Seed
FUSE (the low-level interface) file system boilerplate ๐Ÿ“‚ ๐Ÿ”Œ ๐Ÿ’พ
Stars: โœญ 9 (-98.86%)
Mutual labels:  fuse, fuse-filesystem, filesystem
Cryfs
Cryptographic filesystem for the cloud
Stars: โœญ 1,560 (+97.22%)
Mutual labels:  fuse, fuse-filesystem, filesystem
fuse xattrs
add xattrs support using sidecar files.
Stars: โœญ 28 (-96.46%)
Mutual labels:  fuse, filesystem, fuse-filesystem
Securefs
Filesystem in userspace (FUSE) with transparent authenticated encryption
Stars: โœญ 518 (-34.51%)
Mutual labels:  fuse, fuse-filesystem, filesystem
S3fs Fuse
FUSE-based file system backed by Amazon S3
Stars: โœญ 5,733 (+624.78%)
Mutual labels:  fuse, fuse-filesystem, filesystem
Fuse Ts
Stars: โœญ 6 (-99.24%)
Mutual labels:  fuse, fuse-filesystem, filesystem
loggedfs-python
Filesystem monitoring with Fuse and Python
Stars: โœญ 21 (-97.35%)
Mutual labels:  fuse, filesystem, fuse-filesystem
fusell-seed
FUSE (the low-level interface) file system boilerplate ๐Ÿ“‚ ๐Ÿ”Œ ๐Ÿ’พ
Stars: โœญ 13 (-98.36%)
Mutual labels:  fuse, filesystem, fuse-filesystem
GitFS
A FUSE filesystem that stores data on Git
Stars: โœญ 26 (-96.71%)
Mutual labels:  fuse, filesystem, fuse-filesystem
Awesome Decentralized
๐Ÿ•ถ Awesome list of distributed, decentralized, p2p apps and tools ๐Ÿ‘
Stars: โœญ 358 (-54.74%)
Mutual labels:  p2p, torrent, distributed
Goofys
a high-performance, POSIX-ish Amazon S3 file system written in Go
Stars: โœญ 3,932 (+397.09%)
Mutual labels:  fuse, fuse-filesystem, filesystem
Infinit
The Infinit policy-based software-defined storage platform.
Stars: โœญ 363 (-54.11%)
Mutual labels:  fuse, filesystem, distributed
Ifuse
A fuse filesystem to access the contents of iOS devices
Stars: โœญ 433 (-45.26%)
Mutual labels:  fuse, fuse-filesystem
Google Drive Ocamlfuse
FUSE filesystem over Google Drive
Stars: โœญ 4,447 (+462.2%)
Mutual labels:  fuse, filesystem
Httpdirfs
A filesystem which allows you to mount HTTP directory listings, with a permanent cache. Now with Airsonic / Subsonic support!
Stars: โœญ 443 (-43.99%)
Mutual labels:  fuse-filesystem, filesystem
Dwarfs
A fast high compression read-only file system
Stars: โœญ 444 (-43.87%)
Mutual labels:  fuse-filesystem, filesystem
Exfat
Free exFAT file system implementation
Stars: โœญ 528 (-33.25%)
Mutual labels:  fuse, filesystem
Js Ipfs
IPFS implementation in JavaScript
Stars: โœญ 6,129 (+674.84%)
Mutual labels:  p2p, distributed

Contributors Forks Stargazers Issues GPL3 License Coveralls


Logo

distribyted

Torrent client with on-demand file downloading as a filesystem.

Report a Bug ยท Request Feature

Table of Contents

About The Project

Distribyted Screen Shot

Distribyted tries to make easier integrations with other applications among torrent files, presenting them as a standard filesystem.

We aim to use some compressed file characteristics to avoid download it entirely, just the parts that we'll need.

Also, if the file format is not supported, distribyted can stream and seek through the file if needed.

Note that distribyted is in alpha version, it is a proof of concept with a lot of bugs.

Use Cases

  • Play multimedia files on your favorite video or audio player. These files will be downloaded on demand and only the needed parts.
  • Explore TBs of data from public datasets only downloading the parts you need. Use Jupyter Notebooks directly to process or analyze this data.
  • Play your ROM backups directly from the torrent file. You can have virtually GBs in games and only downloaded the needed ones.

Supported Expandable File Formats

Distribyted can show some kind of files directly as folders, making it possible for applications read only the parts that they need. Here is a list of supported, to be supported and not supported formats.

Supported

  • zip: Able to uncompress just one file. The file is decompressed to a temporal file sequentially to make possible seek over it. The decompression stops if no one is reading it.

To Be Supported

  • tar: Seek to any file and inside that files using a modified standard library. Not useful on .tar.gz files.
  • 7zip: Similar to Zip. Need for a library similar to zip.
  • xz: Only worth it when the file is created using blocks. Possible library here and here.

Not Supported

  • gzip: As far as I know, it doesn't support random access.

Getting Started

Get the latest release from releases page or download the source code and execute make build.

Run the program: ./distribyted-[VERSION]-[OS]-[ARCH]

Defaults are good enough for starters, but you can change them. Here is the output of ./distribyted -help:

NAME:
   distribyted - Torrent client with on-demand file downloading as a filesystem.

USAGE:
   distribyted [global options] [arguments...]

GLOBAL OPTIONS:
   --config value      YAML file containing distribyted configuration. (default: "./distribyted-data/config.yaml") [$DISTRIBYTED_CONFIG]
   --http-port value   HTTP port for web interface (default: 4444) [$DISTRIBYTED_HTTP_PORT]
   --fuse-allow-other  Allow other users to acces to all fuse mountpoints. You need to add user_allow_other flag to /etc/fuse.conf file. (default: false) [$DISTRIBYTED_FUSE_ALLOW_OTHER]
   --help, -h          show help (default: false)

Prerequisites on windows

Download and install WinFsp.

Usage

After executing and load all torrent or magnet files, a web interface will be available here: http://localhost:4444 It contains information about the mounted routes and torrent files like download/upload speed, leechers, seeders...

You can also modify the configuration file and reload the server from here: http://localhost:4444/config .

Docker

Docker run example:

docker run \
  --rm -p 4444:4444 \
  --cap-add SYS_ADMIN \
  --device /dev/fuse \
  --security-opt apparmor:unconfined \
  -v /tmp/mountpoints:/distribyted-data/mountpoints:shared \
  -v /tmp/metadata:/distribyted-data/metadata \
  -v /tmp/config:/distribyted-data/config \
  distribyted/distribyted:latest

Docker compose example:

distribyted:
    container_name: distribyted
    image: distribyted/distribyted:latest
    restart: always
    ports:
      - "4444:4444/tcp"
    volumes:
      - /home/user/mountpoints:/distribyted-data/mountpoints:shared
      - /home/user/metadata:/distribyted-data/metadata
      - /home/user/config:/distribyted-data/config
    security_opt:
      - apparmor:unconfined
    devices:
      - /dev/fuse
    cap_add:
      - SYS_ADMIN

Configuration File

root

Config key Description
max-cache-size Size in MB for the cache. This is the maximum space used by distribyted to store torrent data. Less used torrent data will be discarded if this value is reached.
metadata-folder-name Folder where distribyted metadata will be stored.
mountPoints List of folders where torrents will be mounted as a filesystem. Possible configuration keys described here.

mountpoints

Config key Description
path Path where a new fuse mount will be initialized. On Windows you can use a drive letter (X: per example) or a folder path that does not exist.
torrents List of magnetUris or/and torrentPaths to be loaded on this fuse mount.

Contributing

Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the GPL3 license. See LICENSE for more information.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].