DEV Community

April Smith
April Smith

Posted on

Building a Privacy AI Parent Chat with Ably AI Transport

DEV Weekend Challenge: Community

This is a submission for the DEV Weekend Challenge: Community

The Community

Parents today face a difficult choice: stay connected with their community on platforms like Facebook, WhatsApp, or Instagram or protect their family's privacy.

These Big Tech platforms:

  • Collect and monetize your family's data
  • Require phone numbers and personal information
  • Mix your private family life with public social media
  • Show ads based on your parenting discussions
  • Own your conversations

What I Built

Our Solution: Privacy First Parent Chat

Elite Parenting is a private, real-time chat platform built specifically for parent communities who want to stay connected without sacrificing their family's privacy.

The app is a private, an invite only chat for parent communities who want their conversations to stay theirs.

🔒 Privacy First

  • No phone numbers required, access via secure invite tokens
  • No Facebook, Google, or social media login
  • Invite only communities
  • No data mining

💬 ** Real-Time Community Features**

Smart Group Chat:

  • Real-time messaging powered by Ably Pub/Sub
  • See who's online right now with live presence
  • Typing indicators show when others are responding
  • Like/heart reactions to show support without cluttering the chat
  • Message history automatically loads when you join

Perfect for parent communities:

  • "Has anyone tried sleep training with a 2 years old?"
  • "Looking for pediatrician recommendations near downtown"
  • "Who's available for a playdate at the park this Saturday?"
  • "My toddler won't eat vegetables, please tell me I'm not alone 😅"

🤖 AI Parenting Assistant (The Game Changer)

This is where Elite Parenting truly shines. I've integrated a resumable AI assistant powered by Ably AI Transport, a technical innovation that makes AI conversations:

Resumable & Reliable:

  • AI responses survive tab reloads and network drops
  • If you close your browser mid-conversation, the AI picks up where it left off
  • No lost response and every token is preserved

Multi-Device Support:

  • Start a conversation on your phone while cooking
  • Continue it on your laptop after bedtime
  • The same AI conversation appears on all your devices

Privacy-Conscious Help:

  • Ask parenting questions without judgment
  • Get activity ideas for screen-free time
  • Summarize recent chat discussions you missed
  • Brainstorm solutions for common parenting challenges
  • Share helpful AI responses directly to the group chat

Example AI Conversations:

  • "What are some screen-free activities for toddlers?"
  • "Tips for getting kids to sleep earlier?"
  • "How do I handle tantrums in public?"
  • "Summarize what the group discussed about schools this week"

Demo

https://private-parents-chat.vercel.app/

message me for access token

Code

https://github.com/aralovelace/private-parents-chat

How I Built It

Vibe coded it with Claude and integrated the best technologies:

Ably AI Transport

Unlike traditional AI chat where HTTP streaming breaks when you reload the page, I use Ably AI Transport to stream AI responses through a real-time pub/sub channel. This
means:

  • Zero lost tokens, your every word is preserved and replayable
  • Multi-device magic, you have same conversation on phone + laptop simultaneously
  • Offline resilience that means if your network drops, you catch up automatically
  • Transparent streaming, you will seee each AI response token as it arrives
  • Human handoff ready, you can share your AI conversation context with others

Built on Modern, Reliable Stack:

  • Next.js 14: Fast, server-rendered React app
  • Ably: Enterprise-grade real-time infrastructure
  • Google Gemini 2.5: Advanced AI with natural, helpful responses
  • TypeScript: Type-safe, maintainable code
  • Tailwind CSS: Beautiful, responsive design

Top comments (0)