Skip to content

Replace aria2c with libtorrent #1193

@kelson42

Description

@kelson42

We want to use more BitTorrent to allow Kiwix users to download and share efficiently ZIM files (and reduce our bandwidth costs).

Traditionally the plan has been to rely on Metalink/Mirrorbrain and aria2c to do that. But:

  • It has been implemented only on Kiwix-Desktop/libkiwix because we had difficulties with libaria2c (aria2c binary instrumentation)
  • BiTorrent Seeding has not been implemented
  • Server side BitTorrent infrastructure (superseeder + Tracker) was not ready

Now we have the server side infrastructure and we clearly need to have a library to handle BitTorrent download/seeding. We could probably use libaria2c but:

  • libaria2c is not as easy as libtorrent.
  • libaria2c supports metalinks which is ultimatively maybe not something we need anymore because of Webseeds

This issue superseeds #1172

Sub-issues

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions