pediatric-ai-scribe-v3/.gitignore
ifedan-ed f8c75145af v18: Self-hosted Browser Whisper (zero CDN dependencies)
BREAKING FIX: Browser Whisper now fully self-contained

Previous issue:
- Loaded transformers.js from cdn.jsdelivr.net
- Downloaded models from cdn-lfs.huggingface.co
- Failed in corporate/clinical networks with firewall
- Stuck at "Initializing..." with no progress

Solution:
- Bundle transformers.js library (~876KB)
- Bundle Whisper tiny.en model (~42MB)
- Serve everything from local server
- Works in ANY network environment

Changes:
- whisperWorker.js: Load transformers from /models/ instead of CDN
- Dockerfile: Download models during Docker build
- Add download script for local dev
- Add comprehensive setup documentation

Docker image size: +~42MB (one-time cost, runtime benefit)

Tested: Works on unrestricted and firewalled networks
2026-03-31 20:02:11 +00:00

30 lines
323 B
Text

node_modules/
.env
.env.local
.env.production
data/
*.db
*.db-journal
*.db-wal
.DS_Store
Thumbs.db
*.log
npm-debug.log*
.vscode/
.idea/
*.swp
dist/
build/
# Android TWA
android/.gradle/
android/app/build/
android/build/
android/local.properties
android/captures/
android/.idea/
*.apk
*.aab
*.keystore
*.jks
public/models/