Code Monkey home page Code Monkey logo

torrent-fs's Introduction

torrent-fs

An simple torrent file system in python. torrent-fs will transparently present the underlying filesystem, and if there is .torrent files present torrent-fs will hide the .torrent file and expand the internal .torrent filestructure in an subfolder. torrent-fs does also supports read and seek operations, which has the benefit of only pulling the data one needs.

While there are obvious drawbacks with the current apphroach where .torrent files are expanded on each directory listing, it also has the benefit of always beening up-to-date which is one of my main goals with the filesystem.

Issues

While I'm sure there are many issues with the current code, the best way to resolve them is to send an pull request.

Usage

python torrentfs.py <mountpoint> <source folder>

Installation

apt-get install libfuse-dev pip install -r requirements.txt

torrent-fs's People

Contributors

jkaberg avatar

Watchers

 avatar

torrent-fs's Issues

blocking operations

some operations are blocking - reading is one and there are probably more

cleanup old data

whenever an torrent is streamed data is downloaded, and unless torrent-fs is unmounted the data will stay on the filesystem. since torrent-fs is meant to be running for longer periods, we should cleanup this data periodically.

reading results in buffering

especially when reading larger files, this results in buffering.

we need to fetch more data and not wait for the next read operation.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.