A modern Android chat application that enables users to interact with multiple AI assistants powered by ChatGPT. Each AI assistant can be configured with different roles and personalities, providing a unique conversational experience.
- 🤖 Multiple AI Assistants with customizable roles
- 💬 Real-time chat interface
- 🎨 Modern Material Design UI
- 📱 Native Android implementation using Kotlin
- 💾 Local message history storage
- 🔄 Smooth message synchronization
- ⚡ Efficient message rendering with RecyclerView
- Language: Kotlin
- Minimum SDK: 24 (Android 7.0)
- Target SDK: 34 (Android 14)
- Architecture: MVVM (Model-View-ViewModel)
- UI Framework: Android Views + Jetpack Compose
- Dependencies:
- AndroidX Core KTX
- AndroidX Lifecycle
- AndroidX Compose
- OkHttp for network requests
- Room for local database
- ViewBinding for view handling
- Clone the repository:
git clone https://github.com/salehelsayed/ChatApp.git
-
Open the project in Android Studio
-
Create a
secrets.properties
file in the root directory with your OpenAI API key:
OPENAI_API_KEY=your_api_key_here
- Build and run the project
app/src/main/java/com/example/windsurf/
api/
- ChatGPT service integrationadapters/
- RecyclerView adaptersdata/
- Database and preferences managementmodels/
- Data modelsui/theme/
- UI themingviewmodels/
- ViewModels for MVVM architecture
- Android Studio Arctic Fox or newer
- JDK 11
- OpenAI API key
- Android device or emulator running Android 7.0 (API 24) or higher
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details
Saleh - [email protected]
Project Link: https://github.com/salehelsayed/ChatApp