<?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: Hexafox</title>
    <description>The latest articles on DEV Community by Hexafox (@hexafox).</description>
    <link>https://dev.to/hexafox</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%2F4159729%2Fa998ebe4-017a-4de1-8f10-5333cbfc4ac6.png</url>
      <title>DEV Community: Hexafox</title>
      <link>https://dev.to/hexafox</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hexafox"/>
    <language>en</language>
    <item>
      <title>GrassRoots: A Local Gemma Agent That Tells Developers to Touch Grass</title>
      <dc:creator>Hexafox</dc:creator>
      <pubDate>Sun, 11 Oct 2026 13:24:28 +0000</pubDate>
      <link>https://dev.to/hexafox/grassroots-a-local-gemma-agent-that-tells-developers-to-touch-grass-eec</link>
      <guid>https://dev.to/hexafox/grassroots-a-local-gemma-agent-that-tells-developers-to-touch-grass-eec</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;
  
  
  The problem: our best ideas happen indoors
&lt;/h2&gt;

&lt;p&gt;A developer can spend an entire day inside a code editor, surrounded by notifications, dashboards, and "just one more task." I wanted to build a small intervention that does the opposite of most productivity software: it makes the screen moment shorter and sends the person away from it.&lt;/p&gt;

&lt;p&gt;That became &lt;strong&gt;GrassRoots&lt;/strong&gt;, a lightweight Windows desktop assistant that uses a local open-weight model to suggest the next small action—preferably one that happens outside.&lt;/p&gt;

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

&lt;p&gt;GrassRoots is a Tkinter app with a deliberately simple loop:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Click &lt;strong&gt;Run AI Check-In Now&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;The app checks the current time.&lt;/li&gt;
&lt;li&gt;During outdoor break windows, it asks Gemma for a short, creative outdoor micro-task and plays an alert.&lt;/li&gt;
&lt;li&gt;During workspace hours, it asks for a quick ergonomics or hydration reminder.&lt;/li&gt;
&lt;li&gt;During quiet hours, it stays dormant.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The important part is that the generated suggestion is short enough to act on immediately. Not a 20-step wellness plan—just something like taking a short walk, looking for three different leaves, or stepping outside for fresh air.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Gemma runs locally
&lt;/h2&gt;

&lt;p&gt;The app sends prompts to &lt;strong&gt;Gemma 2B through Ollama on &lt;code&gt;localhost&lt;/code&gt;&lt;/strong&gt;. There is no hosted AI API in the loop, no account token, and no routine habit data sent to a server.&lt;/p&gt;

&lt;p&gt;That choice matters for this project. A screen-time and wellbeing assistant should not need to upload a person's schedule or daily routine just to generate a sentence. Local inference also keeps the experiment affordable, inspectable, and easy to modify: swap the model, change the prompts, or adjust the time windows in a small Python file.&lt;/p&gt;

&lt;p&gt;This is my entry for the &lt;strong&gt;Best Use of Gemma&lt;/strong&gt; category.&lt;/p&gt;

&lt;h2&gt;
  
  
  How it works
&lt;/h2&gt;

&lt;p&gt;The core request is intentionally ordinary Python:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;OLLAMA_URL&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;http://localhost:11434/api/generate&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;
&lt;span class="n"&gt;MODEL_NAME&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;gemma:2b&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;

&lt;span class="c1"&gt;# The app chooses "outdoor" or "indoor" from the current hour.
# Gemma then returns one short, actionable suggestion.
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The interface uses only Python's standard library: Tkinter for the window, &lt;code&gt;urllib&lt;/code&gt; for the local HTTP request, &lt;code&gt;datetime&lt;/code&gt; for the time-aware behavior, and &lt;code&gt;winsound&lt;/code&gt; for Windows notifications. If Ollama is unavailable, the app uses a safe fallback reminder instead of failing silently.&lt;/p&gt;

&lt;p&gt;The current version is intentionally small and transparent. The check-in is user-triggered, so the user stays in control rather than being trapped in an aggressive notification loop.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it yourself
&lt;/h2&gt;

&lt;p&gt;Requirements:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Windows with Python 3&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://ollama.com/" rel="noopener noreferrer"&gt;Ollama&lt;/a&gt; installed&lt;/li&gt;
&lt;li&gt;The Gemma model available locally:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;ollama run gemma:2b
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then clone the project and run:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;python touch_grass.py
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The complete source, README, and screenshots are available in the &lt;a href="https://github.com/vizansh/hacktoberfest-2026/tree/master/GrassRoots" rel="noopener noreferrer"&gt;GrassRoots folder on GitHub&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why open innovation matters here
&lt;/h2&gt;

&lt;p&gt;A closed API could generate the same sentence, but it would change the trust model. With an open-weight model running locally, the user can inspect the prompts, see exactly where inference happens, run the project without a cloud subscription, and adapt it for a different routine or model.&lt;/p&gt;

&lt;p&gt;For a wellbeing tool, that is not just a technical preference. Privacy is part of the user experience. The most helpful AI intervention may be the one that quietly runs on a laptop and then gets out of the way.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I would build next
&lt;/h2&gt;

&lt;p&gt;The next iteration could add a real background scheduler, configurable local routines, accessibility options, and an optional offline activity log. I would also like to test whether shorter prompts and different break windows lead to more real-world follow-through—not more time spent staring at the app.&lt;/p&gt;

&lt;p&gt;For now, GrassRoots has one job: make the next break easier to take.&lt;/p&gt;

&lt;p&gt;What is your favorite low-friction way to get away from the screen—and which open model are you experimenting with this Hacktoberfest?&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
      <category>ai</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Language Map: Helping a Friend Learn French Through the Languages He Already Knows</title>
      <dc:creator>Hexafox</dc:creator>
      <pubDate>Mon, 05 Oct 2026 00:30:50 +0000</pubDate>
      <link>https://dev.to/hexafox/language-map-helping-a-friend-learn-french-through-the-languages-he-already-knows-pih</link>
      <guid>https://dev.to/hexafox/language-map-helping-a-friend-learn-french-through-the-languages-he-already-knows-pih</guid>
      <description>&lt;h1&gt;
  
  
  Language Map: Helping a Friend Learn French Through the Languages He Already Knows
&lt;/h1&gt;

&lt;p&gt;Priyansh had already spent time learning Spanish with Duolingo and wanted to move toward French. The problem was that a new course path treats him like a complete beginner. It does not show which patterns transfer from languages he has already seen, or where French actually differs.&lt;/p&gt;

&lt;p&gt;So I built &lt;strong&gt;Language Map&lt;/strong&gt; for him: a small local-first language-learning prototype that compares languages instead of hiding their relationships.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it does
&lt;/h2&gt;

&lt;p&gt;Language Map currently has three focused views:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Words&lt;/strong&gt;: enter a word and compare English, Latin, French, Portuguese, Spanish, and Italian with translations, root clues, prefixes, suffixes, and etymology context.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Phrases&lt;/strong&gt;: enter a short sentence and see how translations differ in vocabulary and sentence structure.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Across time&lt;/strong&gt;: rewrite a short formal passage into current internet language as a playful bonus feature.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The interface is intentionally simple. It is meant to help a learner ask, “What do I already know, and what changed here?” rather than restart an entire curriculum.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Gemma and local inference mattered
&lt;/h2&gt;

&lt;p&gt;The app uses the open-weight &lt;strong&gt;Gemma&lt;/strong&gt; model through a local &lt;strong&gt;Ollama&lt;/strong&gt; server. Prompts and learner text stay on the user's machine, the model can be replaced, and the prototype does not require a paid hosted language API.&lt;/p&gt;

&lt;p&gt;That choice also made experimentation practical. I could shape structured JSON responses for word and phrase comparisons, test the interface quickly, and keep the project usable on a laptop without building a cloud service first.&lt;/p&gt;

&lt;p&gt;The model is not treated as an authority. Historical etymology is easy for a language model to get confidently wrong, so the app supplies a small reviewed and paraphrased dataset with source links. Gemma explains that evidence, while the UI presents the result as a clue rather than a proven fact.&lt;/p&gt;

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

&lt;p&gt;The most important design decision was narrowing the scope. A full language course would have been too large and too easy to fake as a demo. A focused comparison tool made the friend story concrete and made the prototype testable.&lt;/p&gt;

&lt;p&gt;I also learned that “similar-looking” is not the same as “same origin.” The project therefore separates model-generated comparisons from the smaller evidence-backed etymology dataset and documents the limitation clearly.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/vizansh/hacktoberfest-2026/tree/master/Language%20Map" rel="noopener noreferrer"&gt;Source code and setup instructions&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/vizansh/hacktoberfest-2026/releases/tag/v1.0.0" rel="noopener noreferrer"&gt;Demo video release asset&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The app runs locally with FastAPI, Ollama, and the gemma4:e2b model. A GPU is strongly preferred for a responsive interactive experience; CPU-only runs are supported but can be noticeably slower, especially for phrase comparisons and longer requests. The repository includes smoke tests for the page routes and input validation.&lt;/p&gt;

&lt;h2&gt;
  
  
  Limitations and next steps
&lt;/h2&gt;

&lt;p&gt;This is a prototype, not a complete language-learning product. It currently depends on a local Ollama model, the curated etymology dataset is intentionally small, and model explanations still need human checking. Next I would expand the evidence-backed dataset, improve sentence alignment, and test the tool with Priyansh directly.&lt;/p&gt;

&lt;p&gt;I built this for the Hacktoberfest 2026 &lt;strong&gt;Build for a Friend&lt;/strong&gt; challenge because Priyansh's real learning history shaped the feature choices. The goal was not to replace a course; it was to make the knowledge he already has useful when he starts the next language.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;AI assistance was used during development and in preparing this write-up.&lt;/em&gt;&lt;br&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%2Fh3u497wdz4jz78cz2ofp.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%2Fh3u497wdz4jz78cz2ofp.png" alt=" " width="800" height="603"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>hf26challenge</category>
      <category>gemma</category>
      <category>devchallenge</category>
      <category>weekendchallenge</category>
    </item>
    <item>
      <title>First Hacktoberfest</title>
      <dc:creator>Hexafox</dc:creator>
      <pubDate>Sat, 03 Oct 2026 12:38:53 +0000</pubDate>
      <link>https://dev.to/hexafox/first-hacktoberfest-43h</link>
      <guid>https://dev.to/hexafox/first-hacktoberfest-43h</guid>
      <description>&lt;p&gt;my first time here on the hacktoberfest or any serious online coding event tbh... pretty excited... LET'S GO!!!&lt;/p&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>opensource</category>
      <category>python</category>
    </item>
  </channel>
</rss>
