concept-collection / stan-remote-sampling
stan-remote-sampling / README.md
1.8 KBPreviewCodeBlameHistoryRaw

stan-remote-sampling#

Compile and sample Stan models from the browser, with all computation remote:

Live app: https://concept-collection.github.io/stan-remote-sampling/

You need a wasm-exec client key (ck_...) to sample; it is stored in localStorage.

Notes#

Development#

npm install
npm run dev     # http://localhost:3000

Deployment to GitHub Pages is automatic on push to main (.github/workflows/deploy.yml).

History#

Built in stages: (1) in-browser sampling with one web worker per chain via tinystan (since removed — see git history), (2) a prototype proving Stan models compile to pure-WASI modules (now the stan-wasm-wasi repo), (3) this remote-only app.