A collection of Svelte components for Mol*-based visualizations
The components are designed to be used in a Svelte or SvelteKit application. They could be also be used in any framework that supports Web Components (later).
This package is still in early development, and the API is not stable. Until it reaches version 1.0.0, breaking changes may be introduced in any versions.
Pin your dependencies if you're bold enough to use it! (and drop me a message, I'd really love to hear about it!).
https://0gust1.github.io/molstar-svelte/
See the dedicated Get started page.
Feel free to initiate a discussion in the Repository Discussions or Repository Issues.
Install the dependencies...
# we use npm ci to install the pinned dependencies from package-lock.json
npm ci
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
Everything inside src/lib
is part of the library, everything inside src/routes
is used to generate the documentation/showcase/e2e website.
To build the library:
npm run package
To build the library and create a production version of the documentation/showcase app:
npm run build
You can preview the production build with npm run preview
.
Website/doc deployment is done through github actions, on push on master
Publishing is done through github actions, on release creation on master
.
molstar-svelte
is licensed under the MIT License.
Mol*:
David Sehnal, Sebastian Bittrich, Mandar Deshpande, Radka Svobodová, Karel Berka, Václav Bazgier, Sameer Velankar, Stephen K Burley, Jaroslav Koča, Alexander S Rose:
Mol* Viewer: modern web app for 3D visualization and analysis of large biomolecular structures, Nucleic Acids Research, 2021; 10.1093/nar/gkab31.
In memory of Jaroslav Koča.