file-extra-metadata
This is a Yazi plugin that replaces the default file previewer and spotter with extra information.
Important
Minimum version: yazi v25.5.28
Preview
Before:
After:
Requirements
- yazi >= 25.5.28
- Tested on Linux. For MacOS, Windows: some fields will shows empty values.
Installation
Install the plugin:
ya pkg add boydaihungst/file-extra-metadata
Create ~/.config/yazi/yazi.toml and add:
For yazi < v25.12.29 (29/12/2025) replace url with name
[plugin]
append_previewers = [
{ url = "*", run = "file-extra-metadata" },
]
# Setup keybind for spotter: https://github.com/sxyazi/yazi/pull/1802
append_spotters = [
{ url = "*", run = "file-extra-metadata" },
]
or
[plugin]
previewers = [
# ... the rest
# disable default file plugin { name = "*", run = "file" },
{ url = "*", run = "file-extra-metadata" },
]
# Setup keybind for spotter: https://github.com/sxyazi/yazi/pull/1802
spotters = [
# ... the rest
# Fallback
# { name = "*", run = "file" },
{ url = "*", run = "file-extra-metadata" },
]
Custom theme
Read more: https://github.com/sxyazi/yazi/pull/2391
Edit or add yazi/theme.toml:
[spot]
border = { fg = "#4fa6ed" }
title = { fg = "#4fa6ed" }
# Table.
tbl_cell = { fg = "#4fa6ed", reversed = true }
tbl_col = { fg = "#4fa6ed" }
For developer
If you want to combine this with other spotter/previewer:
require("file-extra-metadata"):render_table(job, { show_plugins_section = true })



