← Back to list

whisper-lolo-audio-ingest
by Lofp34
⭐ 0🍴 0📅 Jan 3, 2026
SKILL.md
name: whisper-lolo-audio-ingest description: Build or modify the browser-side recording and upload pipeline for whisper-lolo. Use when implementing MediaRecorder + IndexedDB chunking, assembling audio blobs, or configuring Vercel Blob client uploads with progress and callbacks.
Whisper Lolo Audio Ingest
Overview
Implement long-form browser recording with chunked storage in IndexedDB and direct uploads to Vercel Blob, without serverless upload limits.
Recording workflow
- Initialize MediaRecorder with a supported mime type.
- Start with
MediaRecorder.start(timeslice)to emit chunks. - On
dataavailable, persist each chunk to IndexedDB. - On stop, rehydrate chunks and assemble a final Blob.
- Clear stored chunks after a successful upload.
Storage guidance
- Do not keep full audio in RAM; always store chunks in IndexedDB.
- Use idb-keyval for simple storage of Blob chunks.
- Guard against empty chunks; some browsers emit zero-size data.
Upload workflow (client uploads)
- Use
upload()from@vercel/blob/client. - Generate tokens via a server route using
handleUpload. - Persist
blob_urland update status touploadedafter completion. - Use
onUploadProgressfor UX feedback on large files.
Non-negotiable constraints
- Never upload audio via a Next.js API route.
- Do not wait for transcription inside HTTP requests.
- Chunk before transcription; upload only after assembly.
Common pitfalls
- Check
MediaRecorder.isTypeSupported()before selecting mime type. - Resume/pause should not break chunk order in IndexedDB.
- Ensure
onUploadCompletedworks locally only with a tunnel orVERCEL_BLOB_CALLBACK_URL.
References to consult
documentation/mediarecorder-mdn.mddocumentation/web-dictaphone-mdn.mddocumentation/idb-keyval.mddocumentation/mediarecorder-examples-mozdevs.mddocumentation/vercel-blob-client-uploads.mddocumentation/vercel-blob-sdk.mddocumentation/vercel-blob-examples.md
Score
Total Score
50/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon