Skip to content

Add baby-buddy extension #17993

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions extensions/baby-buddy/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"root": true,
"extends": ["@raycast"]
}
13 changes: 13 additions & 0 deletions extensions/baby-buddy/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules

# Raycast specific files
raycast-env.d.ts
.raycast-swift-build
.swiftpm
compiled_raycast_swift

# misc
.DS_Store
4 changes: 4 additions & 0 deletions extensions/baby-buddy/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"printWidth": 120,
"singleQuote": false
}
11 changes: 11 additions & 0 deletions extensions/baby-buddy/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Baby Buddy Changelog

## [Initial Version] - {PR_MERGE_DATE}
- Initial version code
- Added "Show Baby Info" command to display children and their recent activities
- Added ability to view detailed information about each child
- Added support for viewing last feeding, sleep, and diaper change information
- Added "Active Timers" command to monitor and manage running timers
- Added ability to create new timers with custom start times
- Added ability to convert timers into Baby Buddy events (feeding, pumping, sleep, tummy time)
- Added AI tooling
66 changes: 66 additions & 0 deletions extensions/baby-buddy/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# Baby Buddy Raycast Extension

A Raycast extension for interacting with your [Baby Buddy](https://github.com/babybuddy/babybuddy) instance.

## Features

- View information about your children
- See last feeding, sleep, and diaper change times
- View detailed information about each child
- See daily totals for feedings, sleep, diapers, and tummy time
- Browse detailed activity history for each child
- View comprehensive statistics for each activity type
- Monitor and manage active timers
- Create new timers with custom start times
- Convert timers into Baby Buddy events (feeding, pumping, sleep, tummy time)
- Edit timer details including name and start time

## Setup

1. Install the extension
2. Configure your Baby Buddy URL and API key in the extension preferences
- The URL should be the base URL of your Baby Buddy instance (e.g., `https://baby.example.com`)
- You can generate an API key in Baby Buddy under Settings > API

## Commands

- **Show Baby Info**: Displays a list of your children with their recent activity information
- View detailed child information including age and daily activity totals
- Browse activity history for feedings, sleep, diaper changes, and tummy time
- **Active Timers**: Shows all currently running timers with the ability to:
- Edit timer details (name and start time)
- End timers and convert them to Baby Buddy events (feeding, pumping, sleep, tummy time)
- Delete timers that were started by mistake
- Reset timers to start them over
- Create new timers for various activities

## Timer Workflow

1. **Create a timer** for an activity (feeding, pumping, sleep, tummy time)
2. **End the timer** when the activity is complete
3. **Choose the activity type** that the timer was for
4. **Fill in details** specific to that activity (amount, notes, etc.)
5. The timer is automatically deleted and a proper Baby Buddy event is created

## AI Commands

Baby Buddy Raycast Extension includes natural language AI capabilities to make tracking and managing baby activities easier:

- **Log Activities with Natural Language**: Create records quickly using commands like:
- "Log a wet diaper for Emma at 2:30pm"
- "Record a 15-minute tummy time for Jacob"
- "Track 4oz bottle feeding for Sophia from 3:15pm to 3:30pm"
- "Log Emma slept from 7pm to 6am"

- **Quick Status Queries**: Get information instantly:
- "When was Emma's last feeding?"
- "How long did Jacob sleep today?"
- "Show me Sophia's diaper changes for today"
- "What was Emma's total sleep time yesterday?"

- **Weekly and Monthly Reports**: Generate summaries using natural language:
- "Summarize Jacob's feeding patterns this week"
- "Show me Emma's sleep trends for the month"
- "Generate a report of Sophia's diaper changes for the past 7 days"

The AI interprets your requests and interacts directly with your Baby Buddy instance, saving you time and making baby tracking more intuitive. If you only have one child, it shouldn't need their name. If you have multiple children but typically only use one, you can edit the extension in the Raycast settings and add a prompt to default to a child by their name (e.g. "If I need to provide a child name but did not, assume I mean Emma")
Binary file added extensions/baby-buddy/assets/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extensions/baby-buddy/metadata/baby-buddy-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extensions/baby-buddy/metadata/baby-buddy-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extensions/baby-buddy/metadata/baby-buddy-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading