A collection of devcontainer features and pre-built images for molecular science development, providing ready-to-use development environments for Python, Rust, visualization, and machine learning workflows.
The easiest way to get started is using our pre-built images:
CPU Image:
{
"image": "ghcr.io/molcrafts/devcontainers/images/molcrafts-cpu:latest"
}CUDA Image (requires NVIDIA GPU):
{
"image": "ghcr.io/molcrafts/devcontainers/images/molcrafts-cuda:latest",
"runArgs": ["--gpus", "all"]
}Compose your own environment by selecting specific features:
{
"image": "mcr.microsoft.com/devcontainers/base:ubuntu-24.04",
"features": {
"ghcr.io/molcrafts/devcontainers/features/molpy:latest": {
"installJupyter": true
},
"ghcr.io/molcrafts/devcontainers/features/molrs:latest": {}
}
}.
├── features/
│ ├── src/ # Feature definitions
│ │ ├── molpy/ # Python + Anaconda + Jupyter
│ │ ├── molrs/ # Rust toolchain + wasm-pack
│ │ ├── molvis/ # Node.js + visualization tools
│ │ ├── molexp/ # Task graph framework
│ │ └── molnex/ # PyTorch (CPU/CUDA)
│ └── test/ # Feature tests
├── images/
│ ├── molcrafts-cpu/ # Complete CPU environment
│ └── molcrafts-cuda/ # Complete CUDA environment
└── .github/workflows/ # CI/CD pipelines
Individual features that can be combined. See features/README.md for details:
- molpy: Python development with Anaconda and Jupyter
- molrs: Rust development with WebAssembly support
- molvis: Visualization tools (Node.js + Python)
- molexp: Task graph framework (Python 3.12+)
- molnex: ML training with PyTorch (CPU or CUDA)
Pre-built complete environments. See images/README.md for details:
- molcrafts-cpu: All features with CPU-only PyTorch
- molcrafts-cuda: All features with CUDA-enabled PyTorch
# Test all features
devcontainer features test ./features
# Test specific feature
devcontainer features test --features molnex ./features# Test image builds
cd images/molcrafts-cpu
devcontainer build --workspace-folder ../.. --image-name test:localAll components are automatically published to GitHub Container Registry when changes are pushed to the master branch:
- Features:
ghcr.io/molcrafts/devcontainers/features/<feature-name>:latest - Images:
ghcr.io/molcrafts/devcontainers/images/<image-name>:latest
This repository uses 6 separate CI/CD workflows:
- feature-test.yaml: Tests all features
- feature-validate.yml: Validates feature schemas
- feature-release.yaml: Publishes features to ghcr.io
- image-test.yaml: Tests image builds
- image-validate.yml: Validates image configurations
- image-release.yaml: Builds and publishes images to ghcr.io
See LICENSE file for details.