Yazi plugin to preview application/bittorrent
files
git clone https://github.com/kirasok/torrent-preview.yazi.git ~/.config/yazi/plugins/torrent-preview.yazi
Add 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)