[LIVE] [qozara/ai-proxy] 3 endpoint(s)
Gemini
API Proxy/Gemini
2,317 characters
Status: [LIVE]
Endpoints found:
https://ai.qozara.org/api/v1
https://ai.qozara.org/api/v1/admin/users?action=register&email=user@example.com&secret=YOUR_ADMIN_SECRET`
https://ai.qozara.org/api/v1/admin/users?action=revoke&email=user@example.com&secret=YOUR_ADMIN_SECRET`
Source: https://github.com/qozara/ai-proxy
# 🌐 Generic Qozara AI Proxy (`ai.qozara.org`)
A unified, serverless edge AI gateway and isomorphic client SDK (`@qozara/ai-client`) designed for the Qozara ecosystem ([Quozen](https://github.com/qozara/Quozen), [Quomida](https://github.com/qozara/quomida)).
---
## 🏗️ Architectural Overview
The Qozara AI Proxy serves as the central intelligence edge for `*.qozara.org`. It decouples domain-specific client applications from LLM provider APIs and provides zero-server-persistence privacy via **Stateless BYOK Envelope Encryption**.
```mermaid
graph TB
subgraph Clients["Client Ecosystem (*.qozara.org)"]
QuozenApp["Quozen WebApp / CLI"]
QuomidaApp["Quomida WebApp / CLI"]
end
subgraph ProxyEdge["ai.qozara.org (Cloudflare Worker)"]
CORS["Dynamic Origin Validator (*.qozara.org + localhost)"]
KMS["Edge KMS (AES-256-GCM / 32-byte secret)"]
Gate["Tiered Auth & Quota Gate"]
Factory["Provider Factory (Google / Ollama / Extensible)"]
end
subgraph CacheAndKV["Rate Limiting & BYOS"]
Upstash["Upstash Redis (Sliding Window Quotas)"]
UserDrive[("User Personal Storage (Google Drive / RxDB)")]
end
subgraph LLMBackends["Intelligence Providers"]
Gemini["Google Generative AI (Gemini 2.0 Flash)"]
Ollama["Local Ollama Instance"]
CustomLLM["Future Qozara Self-Hosted Model"]
end
QuozenApp -->|"POST /encrypt & /chat"| CORS
QuomidaApp -->|"POST /encrypt & /chat"| CORS
QuozenApp -.->|"BYOS Persist Ciphertext"| UserDrive
CORS --> KMS
CORS --> Gate
Gate <--> Upstash
Gate --> Factory
Factory -->|"BYOK / Qozara Intelligence"| Gemini
Factory -->|"Local Dev Mode"| Ollama
Factory -.->|"Future Routing"| CustomLLM
```
---
## 🔐 Core Paradigms
### 1. "Qozara Intelligence" vs. Bring-Your-Own-Key (BYOK)
* **Qozara Intelligence (Team / Default — Mode 1A):** A managed, out-of-the-box edge AI tier powered by Gemini 2.0 Flash strict