Giter VIP home page Giter VIP logo

greedy-torrent's Introduction

Greedy Torrent

CI GHCR

Download your favourite Linux ISO's in peace knowing that the powers that be will not mistake you for one of those filthy pirates.

Only Receive Never Send

  • Breaking the law is bad mmmk...
  • You shouldn't be sharing files with strangers on the internet, kids.
  • Don't disappoint your Big Brother now ๐Ÿ‘€

This is a dockerized static qbittorrent-nox that is built against a patched version of libtorrent with the function body of bt_peer_connection::write_piece commented into a no_op.

This function is responsible for sending blocks of a file to a remote peer, as well as some bookkeeping around stats and alerts.

This way 0 bytes of file data are ever sent back to peer connections, handshakes and other protocol communications are unaffected and the client chugs along happily in this state.

I wanna give mad props to qbittorrent-nox-static for providing a god tier build script that builds a statically compiled version of qbittorrent-nox, works with most architectures and includes and out of the box way to apply patches.

Uses

libtorrent: v2.0.9
qBittorrent: release-4.5.4

How to use

BYO qBittorrent.conf & data.
~/.config/qBittorrent/ and ~/.local/share/qBittorrent/ live in the /config mount.
The /downloads mount is obvious.
Set the PUID and PGID to a user:group with read+write permissions on the volumes.

example docker-compose.yml:

---
version: "3"
services:
  greedy-torrent:
    build: .
    image: ghcr.io/bradyslot/greedy-torrent:latest
    hostname: greedy-torrent
    container_name: greedy-torrent
    volumes:
      - /example:/config
      - /example:/downloads
    environment:
      - PGID=1000
      - PUID=1000
    ports:
      - 8080:8080
      - 6881:6881
      - 6881:6881/udp
    restart: unless-stopped

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.