Set up your own speech to notes app
Voice to notes app using Whisper and LLaMA 3
recordings
: Stores audio file information and metadatatranscripts
: Manages transcriptions and their chunkssummaries
: Stores summaries and action items generated from transcriptssupabase/migrations/20240000000006_voice_to_notes.sql
http://localhost:3000/audio
to see it in action.
app/api/(apps)/audio/*
Key API routes:
app/api/(apps)/audio/upload/route.ts
: Uploads audio recordings to Cloudflare R2, returns a public URL, and updates the recordings
table. It also reduces the credits
of the user if you’ve defined paywall === true
in app/audio/toolConfig.ts
app/api/(apps)/audio/transcribe/route.ts
: Transcribes the audio recording using incredibly-fast-whisper
(Replicate) and stores the data in Supabase.app/api/(apps)/audio/summarize/route.ts
: Generates a short summary and a list of action points.app/api/(apps)/audio/delete/route.ts
: Deletes data from both Supabase and Cloudflare R2./app/(apps)/audio/*
Contains all front-end logic, including paywall checks and dynamic pages per recording.
/components/audio/*
Contains all front-end components unique to the audio app.