Android app that turns a Pixel 10 into a free AI API server by leveraging the Tensor G5's on-device AI capabilities through an embedded HTTP server. Key components: - Dual AI backend: Gemini Nano (ML Kit Prompt API) + MediaPipe LLM fallback - OpenAI-compatible REST API (chat/completions, completions, models, health) - NanoHTTPD embedded server with CORS support and SSE streaming - Foreground service with wake lock for persistent background operation - Material Design 3 dashboard with live request logging All inference runs entirely on-device — zero cloud costs, full offline capability. https://claude.ai/code/session_01GvqMLSMmfMR8uz66BFVXX2
11 lines
249 B
Prolog
11 lines
249 B
Prolog
# Pixel10 AI API Server - ProGuard Rules
|
|
|
|
# Keep NanoHTTPD server
|
|
-keep class fi.iki.elonen.** { *; }
|
|
|
|
# Keep MediaPipe classes
|
|
-keep class com.google.mediapipe.** { *; }
|
|
|
|
# Keep Gson serialization models
|
|
-keep class com.pixel10.ai.server.** { *; }
|