Yazi plugin to preview application/bittorrent files
Using the Yazi Package Manager:
ya pack -a kirasok/torrent-previewOr manually:
git clone https://github.com/kirasok/torrent-preview.yazi.git ~/.config/yazi/plugins/torrent-preview.yaziAdd this to your yazi.toml:
[[plugin.prepend_previewers]]
mime = "application/bittorrent"
run = "torrent-preview"Note
Yazi after v0.4 removes x- prefix from subtype, so even if file -i outputs application/x-bittorrent, you should use application/bittorrent (relevant issue)
