@@ -5,7 +5,7 @@ A real browser demo that uses Vite to bundle AACProcessors for browser use.
55## Features
66
77- ✅ ** Real file processing** - Upload and process actual AAC files
8- - ✅ ** All browser-compatible processors** - Tests Dot, OPML, OBF/OBZ, Gridset, ApplePanels, AstericsGrid
8+ - ✅ ** All browser-compatible processors** - Tests Dot, OPML, OBF/OBZ, Gridset, Snap, TouchChat, ApplePanels, AstericsGrid
99- ✅ ** Interactive UI** - Drag & drop files, view pages and buttons
1010- ✅ ** Text-to-speech** - Click SPEAK buttons to hear messages (browser speech API)
1111- ✅ ** Navigation** - Click NAVIGATE buttons to jump between pages
@@ -43,7 +43,7 @@ If you need a no-build browser check, use the browser test page served by:
43431 . ** Upload a file**
4444 - Drag & drop an AAC file onto the upload area
4545 - Or click to open file picker
46- - Supported formats: .dot, .opml, .obf, .obz, .gridset, .plist, .grd
46+ - Supported formats: .dot, .opml, .obf, .obz, .gridset, .sps, .spb, .ce, . plist, .grd
4747
48482 . ** Process the file**
4949 - Click "Process File" button
@@ -57,7 +57,7 @@ If you need a no-build browser check, use the browser test page served by:
57574 . ** Run compatibility tests**
5858 - Click "Run Compatibility Tests"
5959 - See test results in the left panel
60- - Tests all 6 browser-compatible processors
60+ - Tests all browser-compatible processors
6161
6262## Supported File Types
6363
@@ -67,6 +67,8 @@ If you need a no-build browser check, use the browser test page served by:
6767| OPML | .opml | OpmlProcessor |
6868| OBF/OBZ | .obf, .obz | ObfProcessor |
6969| Gridset | .gridset | GridsetProcessor |
70+ | Snap | .sps, .spb | SnapProcessor |
71+ | TouchChat| .ce | TouchChatProcessor |
7072| Apple | .plist | ApplePanelsProcessor |
7173| Asterics | .grd | AstericsGridProcessor |
7274
@@ -102,10 +104,15 @@ export default defineConfig({
102104
103105This allows direct TypeScript import without pre-building.
104106
105- ### Import Example
107+ ### Import Example (with SQLite WASM)
106108
107109``` typescript
108- import { getProcessor } from ' aac-processors' ;
110+ import { configureSqlJs , getProcessor } from ' aac-processors' ;
111+ import sqlWasmUrl from ' sql.js/dist/sql-wasm.wasm?url' ;
112+
113+ configureSqlJs ({
114+ locateFile : () => sqlWasmUrl
115+ });
109116
110117// Get processor for file type
111118const processor = getProcessor (' .obf' );
0 commit comments