Skip to content

kirasok/epub-preview.yazi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

epub-preview.yazi

Yazi plugin to preview application/epub+zip files

Show case

Requirements

Installation

Linux/MacOS

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

or with ya-pack

ya pack -a kirasok/epub-preview

Usage

Add this to your yazi.toml:

[[plugin.prepend_previewers]]
mime = "application/epub+zip"
run = "epub-preview"

Troubleshooting when no preview is shown

  • Make sure that the epub-thumbnailer is installed and available in your PATH. A command like this should work:

    gnome-epub-thumbnailer [something.epub] [output.png]
  • Check your yazi.toml: If there is another previewer with zip file handling, epub-preview might be overwritten, e.g.: with the definition blow, ouch will run, not epub-preview:

    [[plugin.prepend_previewers]]
    mime = "application/*zip" 
    run = "ouch" 
  • Check Yazi log file (see yazi.rs where to find it)

About

yazi plugin to preview epub files

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages