Skip to content

sot-tech/mochi

 
 

Repository files navigation

Mochi (source image: https://www.flaticon.com/free-icon/mochi_5392004)

Modified Chihaya (MoChi)

Build Status Docker Repository on Quay License

Modified version of Chihaya, an open source BitTorrent tracker written in Go.

Differences from the original project

  • Supports BittorrentV2 hashes (SHA-256 and hybrid SHA-256-to-160 BEP52, tested with qBittorrent);
  • Supports storage in middleware modules to persist useful data;
  • Supports KeyDB and PostgreSQL storages;
  • Metrics can be turned off (not enabled till it really needed);
  • Allows mixed peers: IPv4 requesters can fetch IPv6 peers or vice versa;
  • Contains some internal improvements.

Note: From time to time MoChi fetch modifications from Chihaya but is not fully compatible with original project (mainly in Redis storage structure), so it cannot be mixed with Chihaya (i.e. it is impossible create MoChi-Chihaya cluster).

Main goal

The main goal of made modifications is to create semi-private tracker like Hefur but with cluster support (allowed torrents limited by pre-existent list middleware and another directory middleware to limit registered torrents) and to maximize torrent swarm by providing maximum peers as possible (IPv4+IPv6).

Notice

Modifications made with particular purpose, so if you need pure tracker, with guaranteed stability, please, use the original project.

Developer(s) of this project (MoChi) do not declare themselves as authors of original project (Chihaya) and do not claim any other rights of original project.