Skip to content

davidhowe/ChatGPTClone

Repository files navigation

💬 GPT Clone - Android Chat App with Voice Support (48 Hour Build Challenge)

A fully-featured ChatGPT clone built with Jetpack Compose, Kotlin, and Firebase Vertex AI. This app supports voice-based interaction, speech synthesis, chat persistence, and a responsive UI optimized for mobile use.


✨ Features

  • 🎙️ Voice-to-Text Chat: Record your voice and send messages using speech recognition.
  • 🗣️ Text-to-Speech Playback: Hear AI responses spoken back using synthesized audio.
  • 🔄 Smart State Machine: Manages user talking, silence detection, AI processing, and playback seamlessly.
  • 💾 Chat Persistence: Saves active chat state using Firebase or Room DB.
  • 🎨 Modern UI: Built with Jetpack Compose and Material 3 design components.
  • 🔐 Permission Handling: Granular audio permission management with rationale prompts.
  • 🧪 Amplitude Monitoring: Live volume level display for both recording and playback.

🛠️ Tech Stack

  • Jetpack Compose
  • Kotlin Coroutines & Flow
  • Hilt (Dependency Injection)
  • Firebase Vertex AI
  • Accompanist Permissions
  • Custom Audio Recorder & Playback Utils

About

A 48hr challenge to replicate ChatGPT.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages