Agent skill

whisper-lolo-audio-ingest

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.

Stars 0
Forks 0

Install this agent skill to your Project

npx add-skill https://github.com/Lofp34/whisper-lolo/tree/main/whisper-lolo-audio-ingest

SKILL.md

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

  1. Initialize MediaRecorder with a supported mime type.
  2. Start with MediaRecorder.start(timeslice) to emit chunks.
  3. On dataavailable, persist each chunk to IndexedDB.
  4. On stop, rehydrate chunks and assemble a final Blob.
  5. 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)

  1. Use upload() from @vercel/blob/client.
  2. Generate tokens via a server route using handleUpload.
  3. Persist blob_url and update status to uploaded after completion.
  4. Use onUploadProgress for 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 onUploadCompleted works locally only with a tunnel or VERCEL_BLOB_CALLBACK_URL.

References to consult

  • documentation/mediarecorder-mdn.md
  • documentation/web-dictaphone-mdn.md
  • documentation/idb-keyval.md
  • documentation/mediarecorder-examples-mozdevs.md
  • documentation/vercel-blob-client-uploads.md
  • documentation/vercel-blob-sdk.md
  • documentation/vercel-blob-examples.md

Expand your agent's capabilities with these related and highly-rated skills.

Lofp34/whisper-lolo

whisper-lolo-roadmap

Guide development of the whisper-lolo project based on specifications-projet.md. Use when planning or executing a sprint/PR, validating scope or constraints, or aligning architecture, statuses, and DoD for the Next.js + Vercel + Blob + Inngest + Whisper stack.

0 0
Explore
Lofp34/whisper-lolo

whisper-lolo-transcription-jobs

Implement or adjust background transcription jobs for whisper-lolo. Use when wiring Inngest events, handling long-running jobs, chunking before transcription, persisting transcripts, or maintaining the TranscriptionProvider abstraction.

0 0
Explore
mattpocock/skills

setup-pre-commit

Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-commit hooks, set up Husky, configure lint-staged, or add commit-time formatting/typechecking/testing.

111,310 9,758
Explore
mattpocock/skills

scaffold-exercises

Create exercise directory structures with sections, problems, solutions, and explainers that pass linting. Use when user wants to scaffold exercises, create exercise stubs, or set up a new course section.

111,310 9,758
Explore
mattpocock/skills

handoff

Compact the current conversation into a handoff document for another agent to pick up.

111,310 9,758
Explore
mattpocock/skills

obsidian-vault

Search, create, and manage notes in the Obsidian vault with wikilinks and index notes. Use when user wants to find, create, or organize notes in Obsidian.

111,310 9,758
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results