Beacon Studio is a SvelteKit + Tauri application for Beacon data exploration.
Install dependencies:
npm installRun the web app in development mode:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --openRun the desktop app (Tauri) in development mode:
npm run tauri:devBuild the web app (static output):
npm run buildBuild the web app for a subdirectory deployment (example: beacon-wod.maris.nl/studio):
BASE_PATH=//studio npm run build$env:BASE_PATH="/studio"; npm run buildUse // to prevent path lookup issues in bash.
Telemetry is off by default. Set STUDIO_TELEMETRY=on to send usage events to beacon-datalake.org:
STUDIO_TELEMETRY=on npm run build$env:STUDIO_TELEMETRY="on"; npm run buildA build without STUDIO_TELEMETRY=on sends nothing, and the settings page shows no telemetry settings.
Build downloadable desktop executables (Tauri):
npm run tauri:buildPreview the web production build locally:
npm run previewnpm run check
npm run lint- Static web output is generated in
build/. BASE_PATHis read bysvelte.config.jsand should be set for subdirectory hosting.STUDIO_TELEMETRYis read byvite.config.ts. Only the valueonturns telemetry on.
The Beacon SDK comes from npm as @maris-development/beacon-client. npm install installs it with the other dependencies.
Its source is in the beacon repository, in beacon-clients/beacon-ts.