English | Русский

OpenRouter::client — Android application for communicating with neural networks via the OpenRouter.ai service.
The project was developed for educational purposes to strengthen skills.
- Sending requests to a neural network through the OpenRouter API
- Selecting and saving favorite AI models from the OpenRouter catalog
- Switching context mode (using chat history in the request)
- Saving message history as a chat
- Using a custom API key
- Clearing chat history
The project is built according to the principles of Clean Architecture and divided into layers:
- Presentation (UI, Activity, Fragments, ViewModels)
- Domain (UseCases, Entities, Repository interfaces)
- Data (Room, Retrofit, Repositories, Mappers)
- DI (Component, Modules, Scope, Qualifiers)
The MVVM pattern is implemented (ViewModel + Flow).
Dependency Injection is handled via Hilt.
- Kotlin, Android SDK, Coroutines, Flow, ViewBinding
- Room (storing chat history and favorite AI models)
- Retrofit2 (network requests to the OpenRouter API)
- Hilt (dependency injection)
- Markwon (markdown rendering)
- Clone the repository:
git clone git@github.com:Nu11Object/open-router-android-client.git
cd open-router-android-client-
Build the project and run the application.
-
Add your OpenRouter API key:
- Go to OpenRouter.ai and register.
- Create a new API key in profile settings.
- Specify it in the application settings:


