DEV Community

Cover image for How I built an AI Coding Mentor (KODA) entirely on a $150 Android phone πŸ“±πŸ―
Harun - solo dev
Harun - solo dev

Posted on

How I built an AI Coding Mentor (KODA) entirely on a $150 Android phone πŸ“±πŸ―

Most people think you need a $2,000 MacBook and a CS degree to build an AI-powered developer tool.

I’m 12 years old. I build entirely on a POCO C55 Android phone. And I just launched KODA, an AI coding mentor that helps beginners debug, learn, and build projects.

Here is the exact, no-BS tech stack and architecture that makes it possible on low-end hardware.


🧠 The Brain: Groq + Fallback Chains

Running heavy local LLMs on a phone is impossible. So, KODA uses a smart fallback chain:

  1. Primary: Send the prompt to a fast, cheap API (like Groq or OpenRouter).
  2. Fallback: If the API fails or times out (which happens), it gracefully catches the error and routes to a secondary provider.
  3. Telemetry: Every request logs the model_served in my database so I know exactly what’s working and what’s failing. No more "silent failures."

πŸ—„οΈ The Backbone: Supabase

I don’t have the budget or knowledge to manage a custom backend server. Enter Supabase.

  • Auth: Handles global users (from India to Japan to China) seamlessly.
  • PostgreSQL + RLS: Row Level Security is my best friend. It ensures that while anyone can read public submissions, only authenticated admins can update champion statuses or view private logs.
  • Mobile Dashboard: The Supabase web dashboard works flawlessly on my phone’s browser, letting me manage the database on the go.

🎨 The Face: Mobile-First Vanilla Stack

No heavy React bundles. No complex build pipelines eating up my free hosting minutes.

  • Frontend: Vanilla HTML, CSS, and JavaScript.
  • Hosting: Optimized for speed and zero build-minute waste.
  • UX: Dark mode, large touch targets, and smooth animations designed specifically for a 5.5-inch screen.

🐯 Why I Built This

I kept seeing beginners get stuck on syntax errors for 3 hours. I built KODA because I believe learning to code should be about making mistakes and fixing them, not staring at a blank screen in frustration.

And I built it on a $150 phone to prove that constraints breed creativity. You don't need the best gear. You just need to start.


πŸš€ Try It & Join the Dojo

Want to test KODA or see how I manage my error logs?

Questions about architecture? Drop them below. I read every single comment. πŸ”₯

buildinpublic #ai #webdev #supabase #genalpha

Top comments (0)