solorice/config/yazi/plugins/torrent-preview.yazi
2025-07-16 15:34:40 +03:00
..
LICENSE Use dotter 2024-08-28 09:02:07 +03:00
main.lua Update 2025-07-16 2025-07-16 15:34:40 +03:00
README.md Update 2025-02-24 2025-04-16 13:46:48 +03:00

torrent-preview.yazi

Yazi plugin to preview application/bittorrent files

show case

Requirements

Installation

Linux/MacOS

Using the Yazi Package Manager:

ya pack -a kirasok/torrent-preview

Or manually:

git clone https://github.com/kirasok/torrent-preview.yazi.git ~/.config/yazi/plugins/torrent-preview.yazi

Usage

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)