Skip to content

Add dad-joke-greeter trigger#76

Open
markarranz wants to merge 4 commits intotupleapp:mainfrom
markarranz:add-dad-joke-greeter
Open

Add dad-joke-greeter trigger#76
markarranz wants to merge 4 commits intotupleapp:mainfrom
markarranz:add-dad-joke-greeter

Conversation

@markarranz
Copy link
Copy Markdown

@markarranz markarranz commented Feb 26, 2026

Summary

  • Fetches a random dad joke from icanhazdadjoke.com and speaks it aloud via macOS say when someone joins your Tuple room
  • Routes audio to both local speakers and BlackHole 2ch so remote participants hear the joke through Tuple
  • Tracks room presence via room-joined / room-left so jokes only fire while you're in a room
  • Includes an interactive setup.sh that validates prerequisites (jq, BlackHole, aggregate audio device) and guides users through the one-time audio configuration
  • Optional ~/.tuple/tracked-rooms file to limit jokes to specific rooms

Files

File Purpose
config.json Trigger metadata
room-joined Main trigger — room guard, optional room filter, joke fetch + dual audio output
room-left Clears room state when you leave
setup.sh Interactive setup — prerequisite checks, mic selection, aggregate device walkthrough, API test
README.md Quick setup via script, full manual audio instructions, configuration docs
assets/icon.png 512x512 trigger icon

@github-actions
Copy link
Copy Markdown

github-actions bot commented Feb 26, 2026

Thanks for your contribution, @markarranz! 🎉

We've done some automated sense checks on your trigger, dad-joke-greeter. All looks great! Someone from Tuple will now manually review your trigger's code and get back to you.

@markarranz markarranz force-pushed the add-dad-joke-greeter branch 3 times, most recently from 94866e0 to ceb8b03 Compare February 26, 2026 22:13
Fetches a random dad joke and speaks it aloud when someone joins your
Tuple room. Routes audio to both local speakers and BlackHole 2ch so
remote participants hear the joke too.

Includes:
- room-joined/room-left triggers with room presence tracking
- Interactive setup script with mic selection and prerequisite checks
- Optional tracked-rooms file to limit jokes to specific rooms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant