Developer Builds Voice-First AI Fitness Journal Using Groq, Firebase, and PWA Stack
A solo developer created Trainlog, a voice-first sports journal app that lets users record a brief spoken workout summary, which is then transcribed and analyzed by AI to extract structured metrics like fatigue, intensity, and emotions. The app was built using React 19, Firebase, Tailwind, Zod, and Groq's Whisper and Llama 3 models, deliberately avoiding complex agentic frameworks in favor of a simpler, more reliable architecture. To prevent AI errors from corrupting logged data, the developer implemented a human-in-the-loop step where users can review and edit transcriptions before analysis, with Zod schema validation catching any malformed AI outputs server-side. Rather than building separate native apps, the developer used a Progressive Web App approach with vite-plugin-pwa to deliver an installable, mobile-first experience across iOS and Android from a single codebase. Daily push notification reminders were also integrated via Firebase Cloud Messaging and a Vercel Cron Job to prompt users who had not logged a session that day.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in