molvis-0.4.0 is not a library.
molvis
A minimal viewer for ORCA output (.out) files.
- Rust backend reads and parses ORCA text into
energy + coordinatesJSON - JavaScript frontend uses
3Dmol.jsto render molecular structures and switch frames with a slider
Install
From crates.io (published package):
From local source (not published yet):
Installed binary run
Develop (run from source)
Open http://127.0.0.1:3000
Frontend JS loading
The frontend loads two browser libraries:
3Dmol-min.jsfor 3D molecular renderingplotly.min.jsfor interactive energy trend chart
Default behavior: local first, CDN fallback.
- If
web/3Dmol-min.js/web/plotly.min.jsexist, local files are used. - If local files are absent, it automatically falls back to CDN.
Optional offline mode: place these files under web/ and they will be used first:
web/3Dmol-min.jsweb/plotly.min.js
You can fetch them with:
Use --force to re-download:
Note for intranet / no-internet environments
- If external CDN access is blocked, 3D viewer or trend chart may fail to load.
- In that case, provide local files under
web/(recommended), or allowlist the CDN domains in your network policy. - If only one library fails to load, the other feature can still work (for example, 3D works but chart fails, or vice versa).