Skip to content

About

Have a molecular design idea that you want to quickly prototype on your browser?

Resources

Stars

5 stars

Watchers

0 watching

Forks

Repository files navigation

ProteinDesignSpace (denovo.run)

A browser-native WebGPU node-graph workbench for de novo protein design, inverse folding, structure prediction, and biophysical evaluation.

Run generative, inverse-folding, folding, and scoring models directly on your local GPU inside the browser via WebGPU — zero server compute, zero conda environments, zero local installs, and zero sequence/structure uploads (except optional user-confirmed ColabFold MSA lookups).

🌐 Live Workbench: https://denovo.run · 🤗 WebGPU Weight Mirrors: huggingface.co/ramithuh · ⚙️ Standalone WebGPU Ports: denovo-webgpu-models


ProteinDesignSpace visual workflow canvas and live Mol* 3D viewer

Visual DAG workflow canvas with typed ports, live Mol* 3D structure viewport, and parameter inspector — running locally on WebGPU.


Story & Inspiration

When I first started this, I kind of gave up since models at the time weren't great at writing WebGPU kernels. Seeing Martin Steinegger and Sergey Ovchinnikov's pioneering WebGPU implementations ([1], [2], [3]) recently inspired me to pick it back up—and denovo.run grew out of that push.


Highlights

  • Visual DAG Workflow Canvas (@xyflow/svelte): Build linear or branched protein design pipelines with typed ports, auto-wiring (+ Add Block / /), and live intermediate peeking.
  • 25 Composable Local WebGPU Blocks across structure generation, sequence design, structure prediction, property prediction, and 3D evaluation — see MODELS_AND_CREDITS.md for the full list of models, licenses, and citations.
  • Natural-Language Workflow Planner: Describe a pipeline in plain English (+ Describe) to draft or edit graphs directly on the canvas.
  • Reproducible & Shareable: Compact #p= / #g= URLs, editable YAML/JSON recipes, diffusion trajectory playback, and a multi-round Campaign Inspector.

ProteinDesignSpace + Add Block catalog

See MODELS_AND_CREDITS.md for all 25 blocks, upstream weights, licenses, and paper citations.


Self-Host on Your Own GPU (Zero Python)

Want to offload heavy GPU models and large folds (>512 aa) to a remote workstation or cluster GPU (RTX 5090, DGX Spark, HPC node) while keeping the UI, CPU blocks, and 3D Mol* viewer fast in your laptop browser? Clone and run the zero-Python WebGPU host server on the GPU machine:

# On the GPU machine (Node.js 22+)
git clone https://github.com/ramithuh/ProteinDesignSpace.git
cd ProteinDesignSpace
npm --prefix web ci && npm --prefix web run build
npm install --no-save playwright-core && npx playwright-core install chromium

# Start privately on loopback with a Bearer token
export DENOVO_API_TOKEN="dnv_$(openssl rand -hex 18)"
echo "API token: $DENOVO_API_TOKEN"
HOST=127.0.0.1 PORT=8790 DENOVO_API_TOKEN="$DENOVO_API_TOKEN" node server/selfhost-server.mjs

Then connect from your laptop via SSH port forwarding (or Tailscale Serve HTTPS):

# On your laptop (cluster / HPC)
ssh -L 8790:127.0.0.1:8790 user@gpu-node

Open http://127.0.0.1:8790, switch the top-right toggle to Self-Hosted (remote machine), leave URL blank, paste your token once, and click Sign in.

Heads up — fast-moving repo: denovo.run ships new models, WebGPU kernel speedups, and fixes frequently. If you self-host, run git pull && npm --prefix web ci && npm --prefix web run build and restart node server/selfhost-server.mjs regularly to stay in sync with https://denovo.run (your cached model weights are preserved).

See server/README.md for Tailscale HTTPS setup, weight cache directory (DENOVO_DATA_DIR), Ubuntu 24.04 AppArmor troubleshooting, and all server environment variables.


Development

cd web && npm install && npm run dev   # dev server at http://localhost:5173
cd web && npm test && npm run check    # offline Vitest suite & svelte-check

Model weights are never bundled in web/build/ — sharded safetensors stream on demand from Hugging Face and cache locally. To add a new block, see ADDING_A_METHOD.md.


Credits

Huge thanks to Martin Steinegger (alphafold2-webgpu) and Sergey Ovchinnikov (localfold, rfd4-proteina-webgpu) for pioneering browser-native WebGPU protein models, to the Ben Murrell Lab (webProteinMPNN), and to all the open-source protein science authors whose models power this workbench.

For the full table of models, upstream repositories, licenses, and paper citations, see MODELS_AND_CREDITS.md.


License

The ProteinDesignSpace (denovo.run) workbench code is licensed under the MIT License — and unofficially under the Ice-Cream-Ware License: if we meet someday and denovo.run saved you a conda install or helped design a protein, you can buy me an ice cream in return 🍦

Vendored third-party inference engines under web/static/vendor/ (such as LocalFold under Beer-Ware, FoldFlow 2 under CC BY-NC 4.0, and NVIDIA Research components) and model weights downloaded at runtime are not covered by this license and remain subject to their respective upstream licenses.

About

Have a molecular design idea that you want to quickly prototype on your browser?

Resources

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages