<?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: kenedilichi1</title>
    <description>The latest articles on DEV Community by kenedilichi1 (@kenedilichi1).</description>
    <link>https://dev.to/kenedilichi1</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%2F986925%2F834262a4-b785-41fc-91e6-dcf709f7fe63.jpeg</url>
      <title>DEV Community: kenedilichi1</title>
      <link>https://dev.to/kenedilichi1</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kenedilichi1"/>
    <language>en</language>
    <item>
      <title>touch grass by command: building walkie, an offline AI that decides when you walk</title>
      <dc:creator>kenedilichi1</dc:creator>
      <pubDate>Sun, 11 Oct 2026 00:22:05 +0000</pubDate>
      <link>https://dev.to/kenedilichi1/touch-grass-by-command-building-walkie-an-offline-ai-that-decides-when-you-walk-3kb4</link>
      <guid>https://dev.to/kenedilichi1/touch-grass-by-command-building-walkie-an-offline-ai-that-decides-when-you-walk-3kb4</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week1-2026-10-05"&gt;Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;walkie&lt;/strong&gt; — a walk planner that decides for you, so you spend less time on a screen and more time outside.&lt;/p&gt;

&lt;p&gt;Most of us don't skip the walk because we're lazy. We skip it because "when should I go? how long? where to?" turns into ten minutes of checking the weather app, then it's dark. &lt;strong&gt;walkie removes the decision.&lt;/strong&gt; You configure your walk preferences once — time, length, pace — and after that a small AI model running on your laptop plans each day's walk:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;It picks a time&lt;/strong&gt; from today's forecast and daylight. Rain at 18:00? It moves you to 17:00.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It reminds you&lt;/strong&gt; at T-30, T-15 and T-5, each with a quote. Do nothing and the plan auto-approves — the default is that you go.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It builds a route&lt;/strong&gt;: a loop that starts and ends at your door, sized to today's duration, from an offline OpenStreetMap extract of your region.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It speaks the turns&lt;/strong&gt; — "turn right", paced to your walking pace, as one local text-to-speech file.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Your phone downloads everything over home WiFi&lt;/strong&gt;, you open the GPX in OsmAnd, start the audio, and &lt;strong&gt;put the phone in your pocket&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The screen is the shortest part of the experience: setup once, then it's a QR scan, a tap on OsmAnd, and walking.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;I took it outside on October 10.&lt;/strong&gt; A 1.8 km loop built from the local map, auto-approved for 17:30, notifications fired with quotes, the phone pulled &lt;code&gt;walk.gpx&lt;/code&gt; over WiFi (serve log: &lt;code&gt;GET /routes/walk.gpx 200&lt;/code&gt;), and OsmAnd's offline navigation ran the whole walk with no signal. Two honest findings from that walk went straight back into the code: I had recorded the screen for evidence, so screen time was n/a that walk, and a fresh user could finish the wizard with no route existing yet — that gap is exactly why the whole thing now runs behind a single command, &lt;code&gt;make&lt;/code&gt;, that fills every setup gap in order and builds today's walk.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;make
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;That's the whole interface. First time: it installs dependencies, pulls the AI model, downloads your region's map, opens a short wizard for your preferences, builds today's walk and opens a serve window with a QR code. Every later day the same command rebuilds only what changed.&lt;/p&gt;

&lt;p&gt;On your phone (same WiFi): scan the QR, download &lt;code&gt;walk.gpx&lt;/code&gt; + &lt;code&gt;walk_audio.mp3&lt;/code&gt;, import into OsmAnd, walk.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fq9077vs42ib2k8y5bvxy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fq9077vs42ib2k8y5bvxy.png" alt="walkie serve window showing today's route on a map, a QR code with the phone URL, the downloadable file list, and reminder notifications including the 17:30 auto-approval" width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The demo video:&lt;/strong&gt; the serve window with today's route, the reminder notifications (including the auto-approval), and the phone pulling &lt;code&gt;walk.gpx&lt;/code&gt; over WiFi — watch for the &lt;code&gt;GET /routes/walk.gpx 200&lt;/code&gt; in the terminal at the end.&lt;/p&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/YgV4LM7ZEuQ" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;
&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/kenedilichi1" rel="noopener noreferrer"&gt;
        kenedilichi1
      &lt;/a&gt; / &lt;a href="https://github.com/kenedilichi1/walkie" rel="noopener noreferrer"&gt;
        walkie
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;walkie&lt;/h1&gt;
&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;A walk planner that decides for you, so you spend less time on a screen and more time outside.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;You tell walkie once when you like to walk, for how long, and how. After that it
plans each day's walk for you: it picks the best time around the weather and
daylight, builds a walking loop from your door, and turns the directions into
spoken cues. Then you put the phone in your pocket and go.&lt;/p&gt;
&lt;p&gt;Everything runs on your own laptop with open-source AI. After setup, planning
and building a walk need no internet connection.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;How a day with walkie works&lt;/h2&gt;
&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;It picks a time.&lt;/strong&gt; walkie checks today's forecast and daylight, and a
small AI model running on your laptop picks your walk window. If rain or
heat is coming, it moves the walk.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It reminds you.&lt;/strong&gt; You get a reminder 30, 15 and 5 minutes before the…&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/kenedilichi1/walkie" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;p&gt;The open pieces are the core, not a wrapper:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://ollama.com/library/llama3.2" rel="noopener noreferrer"&gt;Llama 3.2 3B through Ollama&lt;/a&gt;&lt;/strong&gt; — one local call decides today's plan from today's inputs (proposal, weather, daylight)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://github.com/rhasspy/piper" rel="noopener noreferrer"&gt;Piper&lt;/a&gt;&lt;/strong&gt; — local text-to-speech for the spoken cues&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://github.com/gboeing/osmnx" rel="noopener noreferrer"&gt;OSMnx&lt;/a&gt; + OpenStreetMap extracts&lt;/strong&gt; — the offline route builder (one scan of a Geofabrik &lt;code&gt;.pbf&lt;/code&gt;, street graph cached)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Open-Meteo&lt;/strong&gt; for the forecast — no account, cached, with offline fallback
&lt;/li&gt;
&lt;/ul&gt;

&lt;pre data-lang="mermaid"&gt;&lt;code&gt;flowchart LR
    subgraph laptop["Your laptop"]
        walkie["walkie&amp;lt;br/&amp;gt;(CLI + windows)"]
        llm["Ollama&amp;lt;br/&amp;gt;local LLM"]
        tts["Piper TTS"]
        osm["OSM extract&amp;lt;br/&amp;gt;(offline map)"]
        out[("output/&amp;lt;br/&amp;gt;today's walk")]
        walkie --&amp;gt; llm
        walkie --&amp;gt; tts
        walkie --&amp;gt; osm
        walkie --&amp;gt; out
    end
    subgraph net["Internet (best-effort)"]
        meteo["Open-Meteo"]
        geo["Geofabrik + Hugging Face"]
        tiles["OSM map tiles"]
    end
    subgraph pocket["Your phone"]
        page["Browser page +&amp;lt;br/&amp;gt;OsmAnd (offline)"]
    end
    meteo -.-&amp;gt;|cached forecast| walkie
    geo -.-&amp;gt;|one-time download| walkie
    tiles -.-&amp;gt;|serve window| walkie
    out --&amp;gt;|HTTP on home WiFi| page&lt;/code&gt;&lt;/pre&gt;



&lt;p&gt;Setting expectations for what a laptop-sized model can do was the useful starting point for me — posts like &lt;a href="https://dev.to/alichherawalla/what-can-you-do-with-local-ai-on-a-16-gb-laptop-in-2026-4epl"&gt;What Can You Do With Local AI on a 16 GB Laptop in 2026?&lt;/a&gt; by Ali Chherawalla and &lt;a href="https://dev.to/rainytechlab/run-ai-locally-on-your-mac-with-ollama-chat-tools-rag-and-a-custom-model-real-numbers-from-a-4ngf"&gt;Run AI Locally on Your Mac with Ollama&lt;/a&gt; by rainytechlab.&lt;/p&gt;

&lt;p&gt;The most interesting engineering wasn't the LLM call — it was &lt;strong&gt;not trusting it&lt;/strong&gt;. One test run showed a requested 21:30/30-minute walk "planned" into 18:00–19:30/90 minutes: the model had drifted from its inputs. So every reply is validated against the input constraints before it's stored; drifted answers are rejected and the deterministic inputs win. The replay of that exact failure now sits in the repo's evidence folder as a regression test. The pipeline is otherwise staleness-driven — each stage rebuilds only when its inputs are newer — so a cron entry runs every minute for free. The gate is &lt;code&gt;ruff&lt;/code&gt; + &lt;code&gt;mypy --strict&lt;/code&gt; + 340 tests with a coverage floor.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Does Open Innovation Matter?
&lt;/h2&gt;

&lt;p&gt;For this project, open isn't a preference — &lt;strong&gt;it's the product requirements list&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;It runs where closed APIs can't.&lt;/strong&gt; The trailhead test (airplane mode on) still plans, builds the route, and speaks the cues: the weather fetch and Ollama both fail, and the full chain completes on cached inputs. A closed API is a network call; a closed TTS is a network call. Both would have died at "no signal" — the exact moment the app exists for.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Your location and walk plans never leave your laptop.&lt;/strong&gt; No account, no telemetry, no "send your day to a server you don't control."&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It costs nothing to run.&lt;/strong&gt; No API fees, no subscription — the model is a one-time 2 GB download.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It's yours to change.&lt;/strong&gt; The model, the prompts, and your preferences are local files. &lt;code&gt;ollama pull gemma3&lt;/code&gt;, edit one line of YAML, and the planner is a different brain. Try that with a hosted model's system prompt.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Where open beat closed most concretely: &lt;strong&gt;every component between "it's raining" and "turn right" is swappable local software&lt;/strong&gt;, so the same offline guarantees hold at setup, at home, and on the trail.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
      <category>python</category>
      <category>ai</category>
    </item>
  </channel>
</rss>
