What You Will Build
You will scaffold one of the published demo apps with@elata-biosciences/create-elata-demo.
Pick the template that matches your goal:
rppg-web-demo: camera-based pulse/rPPG appeeg-web-demo: browser EEG processing app with synthetic dataeeg-web-ble-demo: browser Muse-compatible EEG app over Web Bluetooth
Why Start Here
This is the recommended default because it gives you:- a working app structure
- pinned compatible package versions
- a reference implementation you can compare your own app against
Step 1: Choose A Template
Use this decision table:| If you want to… | Choose |
|---|---|
| Try camera-based biosignal features without hardware | rppg-web-demo |
| Explore EEG processing in the browser without a headset | eeg-web-demo |
| Connect to a Muse-compatible device from Chrome or Edge | eeg-web-ble-demo |
rppg-web-demo.
Step 2: Scaffold The App
Default template:--template in an interactive terminal, the CLI now prompts you
to choose a template. In non-interactive runs, it still falls back to the rPPG
starter.
If you use npm instead:
Step 3: Install And Run
Step 4: Confirm What You Have
Once the app starts, verify the expected behavior:rppg-web-demo: asks for camera access and starts a pulse-style sessioneeg-web-demo: loads EEG processing in the browser and shows synthetic-data-driven outputeeg-web-ble-demo: presents a browser BLE flow for supported Muse-compatible devices
Step 5: Understand The Generated App
Each scaffolded app gives you:- a minimal Vite + React shell
- Elata packages already wired in
- a
README.mdwith template-specific notes - a
buildscript so you can confirm the app compiles cleanly
Common Gotcha: Scaffolding Inside Another pnpm Workspace
If you create my-app inside another repository that already has a
pnpm-workspace.yaml, pnpm install may attach to the parent workspace
instead of the generated app.
If that happens, run:
Where To Go Next
- Want to build on top of the scaffolded starter: create-elata-demo reference
- Want to integrate EEG into an existing app: Add EEG To An Existing Browser App
- Want live Muse-compatible headset streaming: Stream Muse-Compatible EEG Over Web Bluetooth
- Want camera-based rPPG in an existing app: Add Camera-Based rPPG To An Existing Browser App