Skip to content

Previews

Galactus edited this page Oct 21, 2026 · 1 revision

Previews

Open the preview pane with Space or F9, or start Fūin with fuin --preview <file>. Previews are computed off the GUI thread by the Inspector (src/preview/Inspector.cpp); the same code backs the fuin_inspect MCP tool and the schema summaries in context packs.

Text, code and media

  • Code with syntax highlighting (KSyntaxHighlighting, if built with FUIN_WITH_SYNTAX).
  • Markdown rendered.
  • Images (with dimensions and format), video and PDF posters via KIO thumbnailers (install ffmpegthumbs, kdegraphics-thumbnailers, kimageformats for more formats).
  • Folders: item counts, project type detection (Python, Node, Rust, dbt, Airflow, CMake…) and the README rendered.
  • Binary files are detected and not shown as text.

Data files

Format Extensions What you get
CSV / TSV / PSV .csv (delimiter sniffed), .tsv, .psv schema, row count, nulls, min/max, first rows
JSON .json, .geojson an array of objects is shown as a table (schema, stats, first rows); anything else is pretty-printed
JSON Lines .jsonl, .ndjson schema and first rows
Parquet .parquet schema, row count, nulls and min/max read from the Parquet footer (no data scan), first rows

Parquet needs Apache Arrow/Parquet C++ at build time (FUIN_WITH_PARQUET=ON and the arrow package on Arch).

Table previews offer:

  • Copiar SQL — copies a DuckDB SQL snippet that queries the file;
  • Abrir en DuckDB — opens a terminal with the duckdb CLI on the file and runs SUMMARIZE (shown only if duckdb is installed);
  • Copiar esquema — copies the schema as Markdown (also for model files).

ML model files

Only headers are parsed; weights are never loaded.

Format Extensions What you get
safetensors .safetensors tensors, shapes, dtypes, parameter count
GGUF (v2/v3) .gguf architecture, context length, quantization, tensors, parameter count
ONNX .onnx header fields (IR version, opsets…), parameter count and dtypes
PyTorch / pickle .pt, .pth, .ckpt, .pkl identified but not deserialized (a pickle can execute code); prefer safetensors

The sidebar shows the Hugging Face cache (~/.cache/huggingface/hub) and Ollama models (~/.ollama/models) when those folders exist.

Secrets

Files that look like secrets (by name or content) get a 🔑 badge; see AI features.

Clone this wiki locally