A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/anacrolix/confluence below:

anacrolix/confluence: Torrent client as a HTTP service

Confluence is a torrent client as a HTTP service. This allows for easy use from other processes, languages, and machines, due to the ubiquity of HTTP. It makes use of anacrolix/torrent's download-on-demand torrenting, and custom data backend features to store data in a cache. You can then utilize the BitTorrent network with sensible defaults as though it were just regular HTTP.

go install github.com/anacrolix/confluence@latest
go get github.com/anacrolix/confluence

See https://github.com/arranlomas/Android-Confluence-Wrapper and https://github.com/arranlomas/confluence.

$ godo github.com/anacrolix/confluence -h
Usage:
  confluence [OPTIONS...]
Options:
  -addr                    (string)          HTTP listen address (Default: localhost:8080)
  -cacheCapacity           (tagflag.Bytes)   Data cache capacity (Default: 11 GB)
  -collectCamouflageData   (bool)
  -debugOnMain             (bool)            Expose default serve mux /debug/ endpoints over http
  -dht                     (bool)            Default: true
  -disableTrackers         (bool)            Disables all trackers
  -fileDir                 (string)          File-based storage directory, overrides piece storage
  -implicitTracker         ([]string)        Trackers to be used for all torrents
  -overrideTrackers        (bool)            Only use implied trackers
  -pex                     (bool)            Default: true
  -publicIp4               (net.IP)          Public IPv4 address
  -publicIp6               (net.IP)          Public IPv6 address
  -seed                    (bool)            Seed data
  -sqliteStorage           (*string)
  -tcpPeers                (bool)            Allow TCP peers (Default: true)
  -torrentGrace            (time.Duration)   How long to wait to drop a torrent after its last request (Default: 1m0s)
  -uPnPPortForwarding      (bool)            Port forward via UPnP
  -unlimitedCache          (bool)            Don't limit cache capacity
  -utpPeers                (bool)            Allow uTP peers (Default: true)

Confluence will announce itself to DHT, and wait for HTTP activity. Torrents are added to the client as needed. Without an active request on a torrent, it is kicked from the client after the torrent grace period. Its data however may remain in the cache for future uses of that torrent.

There are several routes to interact with torrents:

Wherever a ?ih=<infohash> query parameter is expected, it can also be substituted by a ?magnet=<magnet URI> parameter instead.

Running the following command from a shell will launch VLC and start playing the Sintel movie stream from its public torrent.

vlc 'http://localhost:8080/data?magnet=magnet:?xt=urn:btih:08ada5a7a6183aae1e09d831df6748d566095a10&path=Sintel.mp4'

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4