<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: G K</title>
    <description>The latest articles on DEV Community by G K (@ikoft1).</description>
    <link>https://dev.to/ikoft1</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3990263%2F5599321e-9a46-4c8c-b6ba-dfaacee7ad80.jpg</url>
      <title>DEV Community: G K</title>
      <link>https://dev.to/ikoft1</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ikoft1"/>
    <language>en</language>
    <item>
      <title>I built a free AI nutrition tracker as a solo dev — here's what I learned</title>
      <dc:creator>G K</dc:creator>
      <pubDate>Thu, 18 Jun 2026 06:24:09 +0000</pubDate>
      <link>https://dev.to/ikoft1/i-built-a-free-ai-nutrition-tracker-as-a-solo-dev-heres-what-i-learned-1c29</link>
      <guid>https://dev.to/ikoft1/i-built-a-free-ai-nutrition-tracker-as-a-solo-dev-heres-what-i-learned-1c29</guid>
      <description>&lt;p&gt;What I built&lt;br&gt;
goNutriTrack is a free multilingual PWA nutrition tracker. The idea was simple: make meal logging so fast that people actually stick with it.&lt;br&gt;
You can log meals by:&lt;/p&gt;

&lt;p&gt;📸 Photo — Claude Vision identifies ingredients automatically&lt;br&gt;
🎤 Voice — say "200g chicken and rice", AI parses it&lt;br&gt;
📷 Barcode scan — OpenFoodFacts database&lt;br&gt;
🔍 Text search — OpenFoodFacts + USDA&lt;/p&gt;

&lt;p&gt;Plus: AI Coach, workout tracking, weight tracking, water tracking, PDF export. Works in 5 languages (Greek, English, German, French, Spanish).&lt;br&gt;
The stack&lt;/p&gt;

&lt;p&gt;Frontend: React + Vite PWA&lt;br&gt;
Backend: Cloudflare Workers (proxy for Anthropic API)&lt;br&gt;
Database: Supabase&lt;br&gt;
AI: Anthropic Claude (Vision + Haiku for voice parsing)&lt;br&gt;
Hosting: Cloudflare Pages&lt;/p&gt;

&lt;p&gt;No server, no Docker, no DevOps. Everything serverless.&lt;br&gt;
Technical challenges&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;iOS PWA white screen
The hardest bug. When users add the app to Home Screen on iOS, sometimes it opens to a blank white page. The fix was switching the Service Worker navigation handler from network-first to cache-first (stale-while-revalidate), so iOS always has something to show immediately.&lt;/li&gt;
&lt;li&gt;Offline queue
Supabase calls fail when offline. I built a localStorage queue that stores pending inserts/deletes and syncs automatically when the connection returns — without the user noticing anything.&lt;/li&gt;
&lt;li&gt;Vite + PWA build pipeline
The Service Worker cache name needs to change on every deploy to force updates. I wrote a Vite plugin that patches the SW file during config() (not buildStart) to avoid race conditions with vite-plugin-pwa.&lt;/li&gt;
&lt;li&gt;AI meal recognition accuracy
Claude Vision is good but not perfect. The solution was making every recognized item editable before saving — users can adjust portions and correct names. This turned a potential frustration into a feature.
What I learned
Ship early. I spent weeks polishing before showing anyone. The first real users found issues in 10 minutes that I had missed for months.
PWA on iOS is still painful. Safe area insets, white screens, push notifications not working — Apple makes this hard on purpose.
Solo means every decision is yours. That's both the best and worst part.
What's next
Looking for honest feedback — especially on the AI logging accuracy and anything that feels broken.
Try it free: gonutritrack.com&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>showdev</category>
      <category>webdev</category>
      <category>react</category>
      <category>ai</category>
    </item>
  </channel>
</rss>
