[LIVE] [nawzaysfinah/chatbot-android] 2 endpoint(s)
ChatGPT
API Proxy/ChatGPT
2,171 characters
Status: [LIVE]
Endpoints found:
https://openrouter.ai/api/v1/chat/completions
https://openrouter.ai/api/v1/chat
Source: https://github.com/nawzaysfinah/chatbot-android
# chatbot-android 🤖
> A native Android LLM chatbot in Kotlin — connects to OpenRouter's free API tier and displays responses in styled chat bubbles.




---
## Why This Exists
Most LLM integration examples are web-based. This project fills the gap for students learning **native Android development** — showing how to wire up a real LLM API call from Kotlin, handle async HTTP, parse JSON responses, and render them in a proper chat UI using standard Android components.
No React Native, no Flutter. Pure Kotlin, `RecyclerView`, `OkHttp`, and an OpenRouter API key — the essentials you'd use in any production Android app that talks to an AI backend.
---
## Screenshots
| Home screen | Chat in action |
|---|---|
|  |  |
---
## How It Works
```
User types message
│
â–¼
MainActivity.kt builds JSON request body
{ model: "mistralai/mistral-7b-instruct", messages: [...] }
│
â–¼
OkHttp POST → https://openrouter.ai/api/v1/chat/completions
│
â–¼
JSON response parsed → assistant message extracted
│
â–¼
ChatAdapter appends message to RecyclerView
User messages → right-aligned green bubble
AI responses → left-aligned white bubble
```
The full conversation history is maintained in memory and sent with each request, giving the model context for multi-turn conversations.
---
## Tech Stack
| Component | Technology |
|---|---|
| Language | Kotlin |
|