Quick start guide for running the PIE Players demos with all features enabled.
- Bun >= 1.1.0 (package manager)
- Node.js >= 20 (for some dependencies)
- (Optional) AWS account for Text-to-Speech
- (Optional) Redis for TTS caching
bun installFor server-side Text-to-Speech with speech marks:
# Copy environment template
cp .env.example .env
# Edit .env and add your AWS credentials
# AWS_REGION=us-east-1
# AWS_ACCESS_KEY_ID=AKIA...
# AWS_SECRET_ACCESS_KEY=wJalr...Setup guide: docs/accessibility/aws-polly-setup-guide.md
bun run buildbun run dev:section- Navigate to Toolkit Preview → Text-to-Speech Demo
- Select provider (Server TTS or Browser TTS)
- Click "Speak" to hear sample text with word highlighting
Server TTS (requires AWS credentials):
- ✅ Millisecond-precise word highlighting
- ✅ High-quality neural voices
- ✅ Consistent across all browsers
Browser TTS (always available):
- ✅ Works offline
- ✅ No configuration needed
⚠️ Word highlighting unreliable (browser limitations)
Browse all PIE element types with various accessibility profiles:
- Navigate to Toolkit Preview
- Select an element type (Multiple Choice, Essay, etc.)
- Try different profiles (IEP, 504, ELL)
- Use accessibility tools (TTS, Calculator, Highlighter)
pie-players/
├── apps/
│ ├── item-demos/ # Item player demos
│ ├── section-demos/ # Section player demos
│ └── docs/ # Documentation site
├── packages/
│ ├── assessment-toolkit/ # Assessment runtime
│ ├── section-player/ # Section player component
│ ├── tts-server-polly/ # AWS Polly TTS (server)
│ ├── tts-client-server/ # TTS client (browser)
│ └── ... # Other packages
└── docs/ # Documentation
bun run dev:section # Run section demo
bun run dev:docs # Run documentation site
bun run dev:demo # Serve packages locallybun run build # Build all packages
bun run typecheck # Type check all packages
bun run check # Svelte check all packagesbun run test # Run all testsbun run lint # Lint all packages
bun run lint:fix # Fix linting issues
bun run format # Format codeSolution: Add AWS credentials to .env. See AWS Polly Setup Guide.
Workaround: Use Browser TTS (no credentials needed).
Solution: Rebuild packages:
bun run buildSolution:
- Stop dev server (Ctrl+C)
- Clean build artifacts:
bun run clean - Rebuild:
bun run build - Restart:
bun run dev:section
- Environment Setup - Environment variables
- AWS Polly Setup - TTS credentials
- TTS Architecture - Text-to-Speech system
- TTS Synchronization Best Practices - Runtime behavior details
- TTS Server API Integration - Server-side TTS
- Accessibility Catalogs - QTI 3.0 catalogs
- Check the docs/ directory for guides
- Look for
README.mdfiles in each package - Open an issue on GitHub
MIT