molvis-0.1.0 is not a library.
molvis
A minimal framework for visualizing ORCA output (.out) files:
- Rust backend reads and parses ORCA text into
energy + coordinatesJSON - JavaScript frontend uses 3Dmol.js to render molecular structures and switch frames with a slider
Quick Start
Open http://127.0.0.1:3000
At startup, the backend reads and parses the ORCA output file from CLI input.
Optional server binding arguments:
Defaults:
-H/--host:127.0.0.1-p/--port:3000
Install
Current API
GET /api/data: returns the parsed frames/energy from the CLI-provided file
Project Structure
src/
main.rs # API + static file serving
parser.rs # ORCA text parsing logic
models.rs # data structures
web/
index.html
app.js
style.css
Suggested Next Steps
- Expand parser rules for different ORCA task types (optimization trajectory, frequency, scan, etc.)
- Add an energy curve on the frontend (
x=step,y=E) - Replace path-based reading with file upload endpoints (avoid unrestricted server-side file reads)