Skip to main content
Known issue: the repository’s create-elata-demo 0.12.1 has a packaging blocker and fails to start without sibling workspace metadata. Verify a fixed release before using it. For now, follow Add rPPG to an existing app to set up the SDK in your own web app instead. See What’s live.

What it is

@elata-biosciences/create-elata-demo generates a working Vite + React app wired to the Elata SDK. It’s the fastest way to a running app, and a known-good baseline before you integrate the SDKs into your own project.

Templates

Building for Elata? pulse-game shows the full Elata pattern: the app runs in an iframe and talks to a host over the metrics bridge.

Usage

Without --template, the CLI asks you to pick one when run interactively, and uses rppg-demo otherwise. If you leave out the project directory, it asks for a name.

What you get

Every generated app includes:
  • a Vite + React + TypeScript app
  • Elata packages pinned to a compatible set of versions
  • a template-specific README.md
  • npm run dev: start the dev server
  • npm run build: type-check and build to dist/
  • npm run build:zip: build and write app.zip, ready to upload to Elata

Inside another pnpm workspace

If you scaffold inside an existing pnpm workspace that doesn’t include the new folder, install and run it outside the workspace:

Scaffolder or example apps?


Next

Your First App

Scaffold and run a starter app

Choose A Package

Package decision guide

Publish on Elata

Upload your app