Skip to content

v0.0.4

Choose a tag to compare

@frankdierolf frankdierolf released this 27 Sep 09:48
· 10 commits to main since this release

Speech-to-speech AI chat implementation using OpenAI Realtime Console.

🎤 Speech-to-Speech AI Chat

Working Implementation

🛠 Journey to Success

Initial Challenges

  • Multiple implementation attempts with various approaches
  • Troubleshooting WebRTC vs WebSocket configurations
  • API model naming and endpoint issues
  • Authentication and token generation complexities

Final Solution

  • Used OpenAI's official example as foundation
  • WebRTC implementation for optimal audio performance
  • Proper ephemeral token authentication
  • React + Vite + Express.js stack

📁 Project Structure

Clean Organization

  • Working implementation in /web/ directory
  • Trial attempts moved to /trials/ (gitignored)
  • Official OpenAI template successfully integrated
  • Ready for customization and feature development

🚀 Development Setup

cd web
npm install
cp .env.example .env
# Add your OpenAI API key to .env
npm run dev

🎯 Next Steps

With the foundation working, we can now:

  • Customize the React interface to our needs
  • Remove unnecessary template bloat
  • Add custom features and styling
  • Build the voice chat experience we envision

The speech-to-speech journey begins here! 🗣️✨