vibe-view command reference¶
Source commands on this page run from the separate vibe-view checkout.
Clone vibe-qc/vibe-view and follow
viewer setup. Its .venv, scripts/, and electron/ belong to that repository;
vibe-qc does not contain or install the viewer.
Every vibe-view command, grouped by what you are trying to do. Each command
takes --help for its exact option list.
The product and command are spelled vibe-view. The Python distribution and
import package are spelled vibeview. The distribution is not on PyPI yet,
so use the checkout installer or validated companion wheel from the getting-started guide,
not a bare pip install vibeview or pipx install vibeview.
Important
The legacy 2.15.2 wheel includes the demo, doctor,
formats, and persistent import commands below.
Run vibe-view --help to inspect any installed version.
Note
Which extra do I need? Most of this works on the base install
(pip install .). open, compare, serve and dashboard need
the browser stack ([viewer]); tui needs Textual ([tui]). Two more extras
widen what you can read rather than adding commands: [ase] for the long tail
of structure formats, and [smiles] for building a structure from a SMILES
string. [all] is every one of them. See
Getting started with vibe-view alone
for the install itself. Run a command whose extra is missing and vibe-view
names the extra and the exact install command.
From a source checkout, ./scripts/install.sh installs the base,
[viewer], and [tui] surfaces together into .venv; its updater
keeps that environment and the current Git branch current. Use
./scripts/update-desktop.sh when the source-backed Electron app
should be refreshed too; packaged desktop artifacts update separately where a
feed or replacement build is published.
Look at an archive¶
Command |
Does |
Needs |
|---|---|---|
|
Open one or more QVFs or supported loose files and launch the interactive viewer. Loose inputs are converted in memory. |
|
|
Open a QVF in the interactive terminal viewer. |
|
|
Print one frame of a QVF to the terminal and exit. |
base |
|
Launch the native Electron window from a source checkout. |
|
|
Open two |
|
|
Start a web-based QVF file browser for a directory. |
|
|
Render a grid preview of multiple QVF files. |
|
open takes --port, --host, --no-browser, -s/--section to start on a
named section, and --auto-compare when you pass several files. show takes
the terminal-rendering flags (--size, --mode, --plain,
--representation, --color-by, --rotate, --replicate, --isovalue,
--frame, --chart, --all, --info); see
Terminal mode. dashboard takes --cols,
--cell-size and --html.
Do not pass a directory to open. Use vibe-view serve DIRECTORY for the
browser file picker, or pass explicit files and shell globs. See
Input formats and interoperability for the accepted
loose inputs and their data-preservation limits.
Import data from another producer¶
Command |
Does |
Needs |
|---|---|---|
|
List built-in and plugin importers, extensions, preserved data kinds, and availability. |
base |
|
Convert loose files into persistent, validated QVF archives. |
base; a selected importer may require an extra |
One input writes a sibling .qvf unless -o/--output names a file. Multiple
inputs, or one directory, write one QVF per source into an output directory;
the default is ./vibe-view-imports.
vibe-view formats
vibe-view formats --json
vibe-view import molecule.xyz
vibe-view import density.cube -o density.qvf
vibe-view import ./results -o ./qvf-results/
vibe-view import calculation.data --from xyz -o calculation.qvf
Outputs are not replaced by default. --force permits an intentional
replacement. --from FORMAT selects an importer by the name printed by
formats. Each input is converted independently; this command does not merge
calculation sidecars. Import first before passing a loose file to QVF-only
commands such as show, tui, capture, validate, slice, or merge.
Render and export¶
Command |
Does |
Needs |
|---|---|---|
|
Render a section to PNG via the headless capture API. |
base |
|
Render animated sections (trajectory, reaction paths, vibrations, orbitals) to MP4/GIF. |
base |
|
Render a gallery of PNGs from many |
base |
|
Export geometry from a |
base |
|
Dump tabular data (frequencies, charges, MO energies) from a |
base |
export writes 12 formats via -f/--format: structure (xyz, cif,
cml, json, or a regenerated vibe-qc input script via py), meshes
(obj, gltf), scenes (pov, blend), and pages/figures (html,
svg, pdf). py reuses the QVF’s own provenance (method, basis,
functional) so the regenerated script reproduces the original
calculation, and carries the lattice so periodic files export a
PeriodicSystem script rather than silently degrading to molecular.
Rendering needs no browser, which is the point: this is the group to reach for
in a script, a CI job, or a figure pipeline. If a render fails complaining
about a display or a GL context, set PYVISTA_OFF_SCREEN=True.
Inspect, verify, compare¶
Command |
Does |
Needs |
|---|---|---|
|
Print detailed metadata and section summary for a |
base |
|
Validate QVF file integrity: schema, SHA-256 hashes, member presence. |
base |
|
Compare two |
base |
|
Compare multiple |
base |
|
Show aggregate statistics for all |
base |
|
Show recently opened QVF files. |
base |
info --short is a single line per archive, which is what you want in a loop.
validate is the one to run before you publish or hand on an archive: it
checks every member against the sha256 recorded in the manifest, so a
truncated download or a corrupted transfer is caught rather than half-rendered.
diff and batch-compare both take --json for scripting.
Transform archives¶
Command |
Does |
Needs |
|---|---|---|
|
Extract a subset of sections into a new |
base |
|
Combine sections from multiple |
base |
|
Build a supercell by replicating the unit cell Nx x Ny x Nz times. |
base |
|
Add hydrogen atoms to saturate all open valences. |
base |
slice is how you make a big archive small enough to email: keep the
structure and the one section your colleague needs and drop the volumetric
data. h-add writes <stem>_h.qvf unless you pass -o.
Work with the queue¶
Command |
Does |
Needs |
|---|---|---|
|
Fetch job outputs from vq and open their |
|
|
Show what vibe-qc needs to produce for specific visualizations. |
base |
|
Run a demo calculation and open it in vibe-view, the fastest path to a 3D molecule. |
|
vq-features answers the question that comes up constantly when a panel is
empty: what did the calculation have to write for this to render? Run it
with no argument for the list, or name a feature. quickstart runs a real
calculation, so unlike everything else on this page it needs vibe-qc
installed; see the vq Job Manager for the same loop
inside the viewer.
Setup and self-check¶
Command |
Does |
Needs |
|---|---|---|
|
Write and validate a deterministic water structure demo; optionally open it. |
base; |
|
Show common workflows; optionally copy bundled examples. |
base |
|
Manage vibe-view configuration. |
base |
|
Diagnose Python, packaged resources, optional modes, and source-desktop support. |
base |
|
Validate that headless PyVista capture can render a nonblank image. |
base |
demo is the no-input first-run path. It does not run a chemistry code and
does not need vibe-qc:
vibe-view demo
vibe-view demo -o water.qvf --open
vibe-view demo -o water.qvf --force
vibe-view demo --open --port 9876 --no-browser
Without --open, it prints browser, TUI, desktop, and headless next steps.
examples --copy DIRECTORY copies the installed examples without requiring a
source checkout; --force permits replacement. doctor --json and
formats --json provide machine-readable diagnostics.
capture-selftest is the first thing to run on a new headless machine: it
answers whether the offscreen renderer works at all, separately from whether
your archive is fine. A blank PNG from capture on a server usually means the
GL stack, not the data. On success it prints the pyvista and VTK versions it
rendered with; -o FILE keeps the test PNG instead of discarding it, and
--size WxH sets its resolution.
See also¶
Getting started with vibe-view alone, install and first run on Linux and macOS.
vibe-view: interactive viewer, the browser UI in depth.
Input formats and interoperability, other chemistry codes, import behavior, and the importer plugin contract.
Terminal mode, the full
showandtuisurface.Working with vibe-view, worked examples of the capture and export APIs from Python.
QVF and vibe-view, the section index.