A voice-controlled baby tracking application that helps parents log and analyze their baby's daily activities, including feedings, diapers, sleep, and more.
- Voice-controlled logging with wake word detection ("hey baby")
- Support for multiple event types:
- Feeding (bottle, nursing, solids)
- Pumping
- Diaper changes
- Sleep/wake cycles
- Medical events
- Growth measurements
- Milestones
- Real-time event visualization
- Interactive analysis of patterns and trends
- Debug panel for troubleshooting
- Node.js 18+ or Bun 1.0+
- OpenAI API key for voice processing
-
Clone the repository:
git clone https://github.com/yourusername/babylogger.git cd babylogger -
Install dependencies:
bun install
-
Create a
.envfile in the root directory and add your OpenAI API key:VITE_OPENAI_API_KEY=your_openai_api_key_here
Start the development server:
bun devThe application will be available at http://localhost:3000.
- Click "Start Listening" to activate voice recognition
- Say "hey baby" to wake up the logger
- Speak your event (e.g., "bottle feeding 60ml of formula")
- Say "sleep" to put the logger back to sleep
- Use the analysis panel to ask questions about patterns
Examples of voice commands:
- "Bottle feeding 60ml of formula"
- "Nursing on left side for 15 minutes"
- "Wet diaper, medium volume"
- "Started sleeping in the crib"
- "Woke up, happy mood"
- "Temperature 98.6 Fahrenheit"
- "Weight 4.2 kilograms"
- "First smile milestone"
Build the application:
bun run buildPreview the production build:
bun run previewMIT