All Projects → anacrolix → Confluence

anacrolix / Confluence

Licence: mpl-2.0
Torrent client as a HTTP service

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Confluence

Bt
BitTorrent library and client with DHT, magnet links, encryption and more
Stars: ✭ 2,011 (+1496.03%)
Mutual labels:  streaming, torrent, bittorrent, torrent-client
Put.io Adder
OS X put.io client that acts as handler for magnet: links and .torrent files, and adds them to your put.io download queue
Stars: ✭ 172 (+36.51%)
Mutual labels:  streaming, torrent, bittorrent
Biglybt Android
BiglyBT for Android, torrent client and remote control app
Stars: ✭ 180 (+42.86%)
Mutual labels:  torrent, bittorrent, torrent-client
simple-torrent-android
A torrent client library for Android that utilizes frostwire-jlibtorrent. It supports sequential and simultaneous downloads.
Stars: ✭ 85 (-32.54%)
Mutual labels:  torrent, bittorrent, torrent-client
Qbittorrent
qBittorrent BitTorrent client
Stars: ✭ 13,738 (+10803.17%)
Mutual labels:  torrent, bittorrent, torrent-client
Torrentpier
Main project repository
Stars: ✭ 166 (+31.75%)
Mutual labels:  torrent, bittorrent, torrent-client
mad-torrent
Delphi bittorrent protocol implementation
Stars: ✭ 30 (-76.19%)
Mutual labels:  torrent, bittorrent, torrent-client
Tribler
Privacy enhanced BitTorrent client with P2P content discovery
Stars: ✭ 3,915 (+3007.14%)
Mutual labels:  streaming, bittorrent, torrent-client
Ant
A lightweight, feature-rich, easy-to-use and nice-looking BitTorrent Client developed by golang, angular 7, and electron.
Stars: ✭ 292 (+131.75%)
Mutual labels:  torrent, bittorrent, torrent-client
Diffy
🎞️💓🍿 Love streaming - It's always best to watch a movie together ! 🤗
Stars: ✭ 37 (-70.63%)
Mutual labels:  torrent, streaming, bittorrent
Vlc Bittorrent
A bittorrent plugin for VLC.
Stars: ✭ 198 (+57.14%)
Mutual labels:  streaming, torrent, bittorrent
Webtorrent
⚡️ Streaming torrent client for the web
Stars: ✭ 25,554 (+20180.95%)
Mutual labels:  streaming, torrent, bittorrent
PeerflixServerZH
🚀 Peerflix Server(BT) 汉化、美化
Stars: ✭ 32 (-74.6%)
Mutual labels:  torrent, bittorrent, torrent-client
Torrent
Full-featured BitTorrent client package and utilities
Stars: ✭ 4,138 (+3184.13%)
Mutual labels:  streaming, torrent, bittorrent
Biglybt
Feature-filled Bittorrent client based on the Azureus open source project
Stars: ✭ 672 (+433.33%)
Mutual labels:  torrent, bittorrent, torrent-client
Peerflix Server
Streaming torrent client for Node.js with web ui.
Stars: ✭ 1,157 (+818.25%)
Mutual labels:  torrent, bittorrent
Antcolony
Nodejs实现的一个磁力链接爬虫 http://findit.keenwon.com (原域名http://findit.so )
Stars: ✭ 1,151 (+813.49%)
Mutual labels:  torrent, bittorrent
Bittorrent Tracker
🌊 Simple, robust, BitTorrent tracker (client & server) implementation
Stars: ✭ 1,184 (+839.68%)
Mutual labels:  torrent, bittorrent
Fragments
Moved to GNOME GitLab -> https://gitlab.gnome.org/haecker-felix/Fragments
Stars: ✭ 80 (-36.51%)
Mutual labels:  torrent, bittorrent
S
a go web freamwork for micro service, very very easy to create and deploy, with auto service registry and discover, high performance and based on http/2 no ssl
Stars: ✭ 67 (-46.83%)
Mutual labels:  microservice, service

confluence

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.

Installation

go get github.com/anacrolix/confluence

Android

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

Usage

$ 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.

Routes

There are several routes to interact with torrents:

  • GET /data?ih=<infohash in hex>&path=<display path of file declared in torrent info>. Note that this handler supports HTTP range requests for bytes. Response will block until the data is available.
  • GET /status. This fetches the textual status info page per anacrolix/torrent.Client.WriteStatus. Very useful for debugging.
  • GET /info?ih=<infohash in hex>. This returns the info bytes for the matching torrent. It's useful if the caller needs to know about the torrent, such as what files it contains. It will block until the info is available. The response is the full bencoded info dictionary per BEP 3.
  • /events?ih=<infohash in hex>. This is a websocket that emits frames with [confluence.Event] encoded as JSON for the torrent. The PieceChanged field for instance is set if the given piece changed state within the torrent.
  • GET /fileState?ih=<infohash in hex>&path=<display path of file declared in torrent info>. Returns file state encoded as JSON.
  • POST /metainfo?ih=<infohash in hex>. The request body is a bencoded metainfo, as typically appears in a .torrent file. The trackers and info bytes are applied to the torrent matching the info hash provided in the query. No fields in the metainfo are mandatory.
  • GET /metainfo?ih=<infohash in hex>. returns a .torrent file containing the hash info.

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

Example

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'
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].