- Install @mintplex-labs/piper-tts-web as UI dependency - Create usePiperTts hook with prewarm/speak/stop/status/progress (VOICE-01, VOICE-02) - tts.stored() checks IndexedDB cache to skip re-download - tts.download() with progress callback for visible download progress - tts.predict() returns WAV blob URL for CPU-safe WASM synthesis - Create TtsButton component showing download progress during prewarm - TtsButton shows Volume2/VolumeX icons for idle/speaking states |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| components.json | ||
| index.html | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| vite.config.ts | ||
| vitest.config.ts | ||
@paperclipai/ui
Published static assets for the Paperclip board UI.
What gets published
The npm package contains the production build under dist/. It does not ship the UI source tree or workspace-only dependencies.
Typical use
Install the package, then serve or copy the built files from node_modules/@paperclipai/ui/dist.