Real-time conversation coaching through AI-powered social skills analytics.
speechapp/
├── src/
│ ├── components/ # Reusable UI components
│ │ ├── MetricsDisplay.js
│ │ ├── RealTimeFeedback.js
│ │ ├── VoiceWaveform.js
│ │ └── ReportCard.js
│ │
│ ├── services/ # Core services
│ │ ├── audioService.js
│ │ ├── geminiService.js
│ │ ├── elevenLabsService.js
│ │ ├── analysisService.js
│ │ └── feedbackService.js
│ │
│ ├── hooks/ # Custom React hooks
│ │ ├── useConversation.js
│ │ ├── useRealTimeFeedback.js
│ │ └── useAudioRecording.js
│ │
│ ├── utils/ # Utility functions
│ │ ├── storage.js
│ │ ├── audioProcessing.js
│ │ └── metrics.js
│ │
│ └── config/ # App configuration
│ ├── constants.js
│ ├── elevenLabsConfig.js
│ └── thresholds.js
│
├── backend/
│ ├── workers/ # Cloudflare Workers
│ │ ├── audio-processor.js
│ │ ├── insight-generator.js
│ │ └── wrangler.toml
│ │
│ └── cache/ # Cached audio responses
│ └── pregenerated-whispers.json
│
├── assets/ # Media files
│ ├── audio/
│ │ └── cached-feedback/
│ ├── images/
│ └── voices/
│
├── docs/ # Documentation
│ ├── API.md
│ └── DEMO.md
│
├── App.js # Main app entry
├── package.json # Dependencies
├── .env.example # Environment variables template
└── README.md # This file
- Node.js 16+
- React Native development environment
- Gemini API key (Get one here)
- ElevenLabs API key (Get one here)
- Cloudflare account (Sign up)
- Clone the repository:
git clone https://github.com/dillonpath/speech-app.git
cd speechapp- Install dependencies:
npm install- Set up environment variables:
cp .env.example .env
# Edit .env and add your API keys:
# GEMINI_API_KEY=your_key_here
# ELEVENLABS_API_KEY=your_key_here
# CLOUDFLARE_WORKER_URL=your_worker_url- Run the app:
iOS:
npm run iosAndroid:
npm run android- Install Wrangler CLI:
npm install -g wrangler- Login to Cloudflare:
wrangler login- Deploy workers:
cd backend/workers
wrangler deploy audio-processor.js
wrangler deploy insight-generator.js- Frontend: React Native
- Audio Processing: React Native Audio
- AI/ML: Gemini API (speech analysis), ElevenLabs (voice feedback)
- Real-Time Processing: Cloudflare Workers
- Storage: AsyncStorage (local)
- Speaking time distribution (you vs. other speaker)
- Interruption detection and counting
- Speaking pace tracking (words per minute)
- Real-time haptic feedback patterns
- Live metrics display
- Conversation report card (A-F grading)
- Speaking time visualization (pie charts)
- Interruption heatmap
- Key insights and behavioral patterns
- Personalized improvement suggestions
- Historical conversation tracking
main- Production-ready codebackend/gemini-integration- Gemini API workfrontend/*- Frontend feature branchesfeature/*- General feature branches
- Create a feature branch:
git checkout -b yourname/feature-name- Make your changes and commit:
git add .
git commit -m "Description of changes"- Push and create PR:
git push -u origin yourname/feature-name
# Then create PR on GitHubsrc/screens/ConversationScreen.js- Main recording interfacesrc/hooks/useConversation.js- Conversation state managementsrc/services/feedbackService.js- Real-time feedback logic
src/services/geminiService.js- Gemini API integrationbackend/workers/audio-processor.js- Real-time audio processingsrc/services/analysisService.js- Metrics calculation
src/config/thresholds.js- Feedback trigger thresholdssrc/config/elevenLabsConfig.js- Voice profiles
See social-xray-mvp.md for detailed hackathon timeline and feature breakdown.
- API Documentation - API endpoints and request/response formats
- Demo Script - Complete demo presentation guide
- MVP Plan - Full product requirements and timeline
- Frontend: React Native app, UI components, screens
- Backend: Gemini API integration, Cloudflare Workers, audio processing
- Design: Dashboard visualization, UX flow, presentation materials
- PM: Timeline management, demo preparation, pitch
MIT