wolfsonliu/dsh-file-explorer-preview-molstar
wolfsonliu★ 0JavaScriptLast synced: 2026-08-15
Mol* 3D structure viewer for DSH Web — interactive previews of .cif, .pdb, and small-molecule/docking files. | DSH Web 的 Mol* 3D 结构查看器 —— 交互式预览 .cif/.pdb 及小分子/对接文件。
README excerpt
dsh-file-explorer-preview-molstar 中文 English A DSH Web plugin that adds a Mol\ 3D structure viewer to dsh-file-explorer, overriding its plain previews for protein-structure and small-molecule files. Select a .cif / .pdb (or any supported format below) in the file explorer and the preview panel renders an interactive 3D model instead of raw text. Screenshots Dark theme Light theme Features - 3D structure viewer built on molstar ( PluginContext + a minimal canvas — no full Mol\ UI). - Representation presets : Auto / Cartoon / Ball & Stick / Molecular surface. - Coloring by default / chain / entity, reset camera , spin toggle , and a dark/light background that follows DSH's data-ds-dark-theme . - Status bar with the format badge and atom/residue/chain counts. - Localized toolbar/status copy (中文 / English). - Large & binary files : for files over the core's 2 MiB text cap, and for .bcif , the plugin fetches raw bytes through the core's fileExplorer.readRawFile (see Dependencies). Supported formats Extension Format cif mmcif mcif mmCIF bcif BinaryCIF pdb ent PDB pdbqt PDBQT pqr PQR sdf sd SDF mol MOL mol2 MOL2 xyz XYZ gro GRO Install From the Git repository From source Dependencies This…
View full README on GitHub →