<?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: Freddy Haug</title>
    <description>The latest articles on DEV Community by Freddy Haug (@freddy_haug_d75c053adc9d2).</description>
    <link>https://dev.to/freddy_haug_d75c053adc9d2</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%2F1836744%2Fa817ed89-e243-4975-bafc-a1e5be5ba1c5.jpg</url>
      <title>DEV Community: Freddy Haug</title>
      <link>https://dev.to/freddy_haug_d75c053adc9d2</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/freddy_haug_d75c053adc9d2"/>
    <language>en</language>
    <item>
      <title>Darkroom Heist: turning a darkroom timer into a daily safe-cracking game</title>
      <dc:creator>Freddy Haug</dc:creator>
      <pubDate>Mon, 09 Nov 2026 18:12:24 +0000</pubDate>
      <link>https://dev.to/freddy_haug_d75c053adc9d2/darkroom-heist-turning-a-darkroom-timer-into-a-daily-safe-cracking-game-3g11</link>
      <guid>https://dev.to/freddy_haug_d75c053adc9d2/darkroom-heist-turning-a-darkroom-timer-into-a-daily-safe-cracking-game-3g11</guid>
      <description>&lt;p&gt;I bought an old &lt;strong&gt;GraLab darkroom timer&lt;/strong&gt;: a big analog dial built for timing photo prints under a red safelight. The first time I turned that knob I thought: &lt;em&gt;this is a safe dial.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The plan is to gut it into a game controller (encoder behind the dial, a Pico inside, the toggle as a button). But before soldering anything, I wanted to know if the game was actually fun. So I built it for the web first.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;🔐 &lt;strong&gt;Play it:&lt;/strong&gt; &lt;a href="https://haugf.com/vault" rel="noopener noreferrer"&gt;haugf.com/vault&lt;/a&gt;. A new vault every night at midnight.&lt;/p&gt;
&lt;/blockquote&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%2Fpslhl2rq9youe553cy2o.jpg" 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%2Fpslhl2rq9youe553cy2o.jpg" alt="The loop: feel the thunk, freeze when the door opens, get your print" width="800" height="573"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The game in 10 seconds
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;3 tumblers, 60 seconds.&lt;/strong&gt; Turn slowly and feel for the &lt;em&gt;thunk&lt;/em&gt;: one click heavier than the rest, plus a buzz on your phone. Then lock it in.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The guard.&lt;/strong&gt; You hear footsteps, the door opens, and you &lt;strong&gt;freeze&lt;/strong&gt;. Move while he's looking and you're spotted (−10s). Three strikes and you're busted.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Daily, like Wordle.&lt;/strong&gt; Everyone gets the same vault. Your first run is the official one, and after that it's practice.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Design before code
&lt;/h2&gt;

&lt;p&gt;My one rule: &lt;strong&gt;mock it first, then build it.&lt;/strong&gt; The times I jumped straight to code were the times I redid work.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;One phone screen, no scrolling.&lt;/strong&gt; LOCK sits in the thumb zone.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Stay in the darkroom.&lt;/strong&gt; Black, safelight red. Run out of time and your print burns.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Make it shareable.&lt;/strong&gt; Wordle's grid is why people post it, so this has one:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;🫆 Darkroom Heist #1
💰 38.2s · Safecracker
🟥🟥🟩
🟩
💰
haugf.com/vault
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;🟩 crack · 🟥 bad lock · 🔦 spotted · 💰 the final crack&lt;/p&gt;

&lt;h2&gt;
  
  
  How it's built
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;One HTML file.&lt;/strong&gt; No framework, no build step.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Piece&lt;/th&gt;
&lt;th&gt;How&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Daily vault&lt;/td&gt;
&lt;td&gt;Date-seeded RNG, so everyone gets the same vault and there's no server&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Dial&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;&amp;lt;canvas&amp;gt;&lt;/code&gt; with touch drag, mouse wheel and arrow keys&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Sound&lt;/td&gt;
&lt;td&gt;All synthesized with Web Audio, no audio files&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Haptics&lt;/td&gt;
&lt;td&gt;&lt;code&gt;navigator.vibrate&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Hosting&lt;/td&gt;
&lt;td&gt;S3 + CloudFront&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;iOS gotcha:&lt;/strong&gt; the sound didn't start until your first LOCK press, because iOS only unlocks Web Audio after a tap. The fix is to unlock it on &lt;em&gt;any&lt;/em&gt; touch with a silent buffer.&lt;/p&gt;

&lt;h2&gt;
  
  
  Launching it at a hackathon
&lt;/h2&gt;

&lt;p&gt;I was coaching &lt;strong&gt;MakeCU&lt;/strong&gt; (Columbia's hackathon) and told the room to play for a shirt. CloudFront logs from the first weekend:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;57&lt;/strong&gt; visitors, &lt;strong&gt;86&lt;/strong&gt; game loads&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;40 of 57&lt;/strong&gt; on iPhone&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;48&lt;/strong&gt; came from links tapped in group chats&lt;/li&gt;
&lt;li&gt;Sunday, with no hackathon push: &lt;strong&gt;26 new players&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;What playtesters told me:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;em&gt;Too much scrolling.&lt;/em&gt; → the one-screen layout&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;Text highlights while dragging.&lt;/em&gt; → turned off selection everywhere but the share text&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;Caught while holding still.&lt;/em&gt; → still open: lifting your finger should count as frozen&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;Make the right number more obvious.&lt;/em&gt; → Easy and Hard modes are in mockups&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  A global leaderboard: Today's Crew
&lt;/h2&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%2Fmarydyg4fp5g0i4kuyce.jpg" 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%2Fmarydyg4fp5g0i4kuyce.jpg" alt="Today's Crew leaderboard next to the BANG easter egg" width="800" height="764"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Sample board for illustration.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The backend is tiny:&lt;/strong&gt; one Python Lambda behind a function URL, plus one DynamoDB table keyed by vault and device. It costs pennies.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Never block sharing.&lt;/strong&gt; You always see your result first. You go on the board under three random letters, and you can tap your row any day to sign your real initials.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No bad words in three letters.&lt;/strong&gt; There's a blocklist, checked in the game &lt;em&gt;and&lt;/em&gt; on the server. Try one and you get an Easter egg: muzzle flash, gunshot, &lt;strong&gt;BANG.&lt;/strong&gt;, and your letters get shot out.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What's next
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Fair freezing&lt;/li&gt;
&lt;li&gt;Easy / Hard modes&lt;/li&gt;
&lt;li&gt;Real art by Ally&lt;/li&gt;
&lt;li&gt;The actual GraLab controller, on a screen at &lt;strong&gt;Wonderville&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;New vault every night. &lt;strong&gt;Come crack it:&lt;/strong&gt; &lt;a href="https://haugf.com/vault" rel="noopener noreferrer"&gt;haugf.com/vault&lt;/a&gt;&lt;/p&gt;

</description>
      <category>gamedev</category>
      <category>javascript</category>
      <category>aws</category>
      <category>webdev</category>
    </item>
    <item>
      <title>I built an AI field guide that works with the internet off, live on stream</title>
      <dc:creator>Freddy Haug</dc:creator>
      <pubDate>Mon, 09 Nov 2026 10:40:40 +0000</pubDate>
      <link>https://dev.to/freddy_haug_d75c053adc9d2/i-built-an-ai-field-guide-that-works-with-the-internet-off-live-on-stream-42fn</link>
      <guid>https://dev.to/freddy_haug_d75c053adc9d2/i-built-an-ai-field-guide-that-works-with-the-internet-off-live-on-stream-42fn</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week3-2026-10-19"&gt;Hacktoberfest 2026 DEV Challenge, Week 3: Slow and Steady&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Field Kit&lt;/strong&gt; is an offline reference for the outdoors. Your PC is the box: it runs a small open model and a search index over about 19,000 Simple English Wikipedia articles. Any phone on the same Wi-Fi opens the app in its browser. After a one-time download, nothing leaves the machine.&lt;/p&gt;

&lt;p&gt;It has three tools:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Field Notes:&lt;/strong&gt; ask a question, get a streamed answer with numbered sources from the offline library.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Reference:&lt;/strong&gt; semantic search and an article reader for the whole pack.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Survey:&lt;/strong&gt; take a photo of a plant, bug or mushroom. A small vision model guesses what it is, then looks the guess up in the same library so you can check it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It's for the moments your usual AI tools can't help: a trail with no signal, a cabin, a power or network outage, or anyone who would rather their questions didn't leave their house.&lt;/p&gt;

&lt;p&gt;That's the "slow and steady" part. It isn't the fastest or smartest AI you can use. It's the one that's still there when everything else is down, quietly doing the looking-up for you.&lt;/p&gt;

&lt;p&gt;I built it live in a two-hour MLH stream for Hacktoberfest on October 19.&lt;/p&gt;

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

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Home&lt;/th&gt;
&lt;th&gt;Field Notes&lt;/th&gt;
&lt;th&gt;Reference&lt;/th&gt;
&lt;th&gt;Survey&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&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%2Ftg2jkcp18kxmecn3ts6q.jpg" alt="Home screen: offline status, a library of 19,236 articles, an ask box and a legend of tools" width="750" height="1624"&gt;&lt;/td&gt;
&lt;td&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%2Fagvhxnh5kfphhs99zgcs.jpg" alt="Field Notes: a step-by-step answer about treating a bee sting" width="750" height="1624"&gt;&lt;/td&gt;
&lt;td&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%2Fzurygscjst9g7gcx1muz.jpg" alt="Reference: offline search results for poisonous berries" width="750" height="1624"&gt;&lt;/td&gt;
&lt;td&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%2Fx0hywuw03g5jpzgqy9bl.jpg" alt="Survey: a flower photo, the model's best guess, a safety warning and matching articles" width="750" height="1624"&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&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/Haugf" rel="noopener noreferrer"&gt;
        Haugf
      &lt;/a&gt; / &lt;a href="https://github.com/Haugf/offline-knowledge-box" rel="noopener noreferrer"&gt;
        offline-knowledge-box
      &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;Field Kit — Offline Knowledge Box&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;An open-source, fully offline question-answering box, built live on stream for Hacktoberfest 2026
A small &lt;strong&gt;open-weight model&lt;/strong&gt; answers from a &lt;strong&gt;local knowledge pack&lt;/strong&gt; built from Simple English
Wikipedia. It runs &lt;strong&gt;natively on Windows&lt;/strong&gt; (no Docker, no WSL, no Ollama): Python + transformers
on the GPU, with a phone-first web UI in the &lt;em&gt;Field Kit&lt;/em&gt; style (US-map palette: map paper
public-land mint, forest ink, road red for danger only).&lt;/p&gt;
&lt;p&gt;Your PC is the box: it runs the models and the search. Any phone on the same Wi‑Fi opens the UI in
its browser. Running the model on the phone itself is a goal for a future stream.&lt;/p&gt;
&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Home&lt;/th&gt;
&lt;th&gt;Field Notes&lt;/th&gt;
&lt;th&gt;Reference&lt;/th&gt;
&lt;th&gt;Survey&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a rel="noopener noreferrer" href="https://github.com/Haugf/offline-knowledge-box/docs/screenshots/home.jpg"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FHaugf%2Foffline-knowledge-box%2FHEAD%2Fdocs%2Fscreenshots%2Fhome.jpg" alt="Home screen: offline status, library of 19,236 articles, ask box and a legend of tools" width="200"&gt;&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a rel="noopener noreferrer" href="https://github.com/Haugf/offline-knowledge-box/docs/screenshots/field-notes.jpg"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FHaugf%2Foffline-knowledge-box%2FHEAD%2Fdocs%2Fscreenshots%2Ffield-notes.jpg" alt="Field Notes: a step-by-step answer to how to treat a bee sting" width="200"&gt;&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a rel="noopener noreferrer" href="https://github.com/Haugf/offline-knowledge-box/docs/screenshots/reference.jpg"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FHaugf%2Foffline-knowledge-box%2FHEAD%2Fdocs%2Fscreenshots%2Freference.jpg" alt="Reference: search results for poisonous berries from the offline library" width="200"&gt;&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a rel="noopener noreferrer" href="https://github.com/Haugf/offline-knowledge-box/docs/screenshots/survey.jpg"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2FHaugf%2Foffline-knowledge-box%2FHEAD%2Fdocs%2Fscreenshots%2Fsurvey.jpg" alt="Survey: a flower photo with the best guess, a safety warning and matching library articles" width="200"&gt;&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Status, ask box, tools&lt;/td&gt;
&lt;td&gt;Answers with sources&lt;/td&gt;
&lt;td&gt;Offline Wikipedia search&lt;/td&gt;
&lt;td&gt;Identify by photo&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;How it works&lt;/h2&gt;

&lt;/div&gt;

  &lt;div class="js-render-enrichment-target"&gt;
    &lt;div class="render-plaintext-hidden"&gt;
      &lt;pre&gt;flowchart LR
    subgraph Phone["Phone browser"]
        UI["Field Kit web UI"]
    end
    subgraph PC["Your PC: the box"]
        API["server.py&amp;lt;br/&amp;gt;FastAPI"]
        RAG["Retrieval&amp;lt;br/&amp;gt;MiniLM&lt;/pre&gt;…&lt;/div&gt;
&lt;/div&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/Haugf/offline-knowledge-box" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;One command on Windows:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="p"&gt;.&lt;/span&gt;\&lt;span class="n"&gt;run&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ps1&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;On first run it sets up a Python environment, builds the knowledge pack (a few minutes on a GPU), and prints the address to open from your phone.&lt;/p&gt;

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

&lt;p&gt;The stack is deliberately small: &lt;strong&gt;FastAPI&lt;/strong&gt;, &lt;strong&gt;Hugging Face transformers&lt;/strong&gt; on the GPU, &lt;strong&gt;sentence-transformers&lt;/strong&gt; for search, and one HTML file for the UI. Four files do the work: &lt;code&gt;server.py&lt;/code&gt;, &lt;code&gt;ingest.py&lt;/code&gt;, &lt;code&gt;run.ps1&lt;/code&gt; and &lt;code&gt;static/index.html&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The knowledge pack.&lt;/strong&gt; &lt;code&gt;ingest.py&lt;/code&gt; streams Simple English Wikipedia (&lt;code&gt;wikimedia/wikipedia&lt;/code&gt;, &lt;code&gt;20231101.simple&lt;/code&gt;) from the Hugging Face Hub. It splits 20,000 articles into about 60,000 chunks and embeds them with &lt;code&gt;all-MiniLM-L6-v2&lt;/code&gt;. The result is two files on disk: the vectors and the chunks.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Answering.&lt;/strong&gt; A question gets embedded and matched against the chunks. The best four go to the chat model, which streams its answer back to the phone with &lt;code&gt;[1]&lt;/code&gt;-style citations. Every answer links to the articles it used.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Survey.&lt;/strong&gt; The phone shrinks the photo to 1024 px before sending it. On the PC, &lt;a href="https://huggingface.co/HuggingFaceTB/SmolVLM2-2.2B-Instruct" rel="noopener noreferrer"&gt;SmolVLM2 2.2B&lt;/a&gt; answers in a fixed &lt;code&gt;NAME / SCIENTIFIC / FEATURES&lt;/code&gt; format, and that name is searched in the library. A title match is marked &lt;strong&gt;EXACT MATCH&lt;/strong&gt;; everything else is &lt;strong&gt;RELATED&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;One model on the GPU at a time.&lt;/strong&gt; My stream PC has an RTX 3070 with 8 GB. Rather than fight for memory, the server keeps either the chat model or the vision model loaded and swaps when you switch tools.&lt;/p&gt;

&lt;h3&gt;
  
  
  Things that went sideways (and stayed in)
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;I dropped my own plan.&lt;/strong&gt; I'd prepped a Docker + Ollama setup with GPU, laptop and Pi-like tiers. On the day, running Python natively on Windows with transformers was simpler and more direct, so the Docker stack came out of the repo during the build. Planning helped anyway: I knew exactly what the end state should be.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A library bug.&lt;/strong&gt; SmolVLM2 failed on every image under transformers 5.x. The model groups image tokens by its vision patch size (14) instead of tokens per image tile (81). &lt;code&gt;server.py&lt;/code&gt; patches &lt;code&gt;inputs_merger&lt;/code&gt; until it's fixed upstream. Debugging that on stream was the best ten minutes of the session.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The vision model is confidently wrong sometimes.&lt;/strong&gt; In testing, a Christmas cactus came back as "rose" with full confidence. That's why every Survey result carries a warning (&lt;em&gt;"An educated guess, not a fact. Never eat or handle anything because an app named it."&lt;/em&gt;) and links the library article so you can compare for yourself.&lt;/p&gt;

&lt;h3&gt;
  
  
  Performance
&lt;/h3&gt;

&lt;p&gt;Measured on the stream PC (RTX 3070, 8 GB) on October 19:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Measure&lt;/th&gt;
&lt;th&gt;SmolLM2 135M&lt;/th&gt;
&lt;th&gt;SmolLM2 1.7B&lt;/th&gt;
&lt;th&gt;SmolVLM2 2.2B (Survey)&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Speed (median of 5 questions)&lt;/td&gt;
&lt;td&gt;30.1 tok/s&lt;/td&gt;
&lt;td&gt;45.0 tok/s&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Time to first words&lt;/td&gt;
&lt;td&gt;2.3 s&lt;/td&gt;
&lt;td&gt;2.4 s&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Full answer&lt;/td&gt;
&lt;td&gt;4.7 s&lt;/td&gt;
&lt;td&gt;7.2 s&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;First photo (loads the model)&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;16.6 s&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Each photo after (median of 4)&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;1.6 s&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Yes, the 135M model is &lt;em&gt;slower&lt;/em&gt; per token than the 1.7B. It's so small that Python overhead on each token, not the GPU, sets the pace. Bigger isn't always slower.&lt;/p&gt;

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

&lt;p&gt;For an offline tool, open isn't a nice-to-have. It's the whole thing working.&lt;/p&gt;

&lt;p&gt;A closed API can't answer when the network is down. A model you can download can, but how open it is still matters, so part of the stream was a segment called &lt;strong&gt;"How open is open?"&lt;/strong&gt;. It walked through the range from closed APIs to open weights under a restrictive license, open weights under a permissive license, and fully open models with published weights, training data and training code.&lt;/p&gt;

&lt;p&gt;Field Kit defaults to the fully open end:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Model&lt;/th&gt;
&lt;th&gt;Used for&lt;/th&gt;
&lt;th&gt;Openness&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;SmolLM2 135M / 1.7B&lt;/td&gt;
&lt;td&gt;Chat (default 1.7B)&lt;/td&gt;
&lt;td&gt;Fully open&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SmolVLM2 2.2B&lt;/td&gt;
&lt;td&gt;Photo ID&lt;/td&gt;
&lt;td&gt;Fully open&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Llama 3.1 8B&lt;/td&gt;
&lt;td&gt;Optional chat&lt;/td&gt;
&lt;td&gt;Open weights (Llama license, gated)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Fully open matters for three reasons here:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;You can share the whole box.&lt;/strong&gt; Anyone can clone it and run it without asking permission.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;You can see what it learned.&lt;/strong&gt; For a tool people might use to look up first aid or wild plants, being able to inspect the training data is a real safety property, not trivia.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;You can grow it.&lt;/strong&gt; The next step is a first-aid and survival pack, and maybe a fine-tuned model published back to the Hub for the next person.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Everything else in the path is open too: transformers, sentence-transformers, FastAPI, and Wikipedia under CC BY-SA, credited in the app.&lt;/p&gt;

&lt;h2&gt;
  
  
  My Agent Session
&lt;/h2&gt;

&lt;p&gt;I planned this project with Claude over the week before the stream, then built it live myself.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What the agent did:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Picked the idea with me.&lt;/strong&gt; I asked for Hacktoberfest ideas tied to open-weight AI and chose the offline knowledge box from the list.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Turned it into a plan.&lt;/strong&gt; That meant a day-by-day build week, a stream run of show, and a setup checklist.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Wrote a starter repo:&lt;/strong&gt; Docker Compose with GPU and "Pi-like" tiers, a Hugging Face ingest script, a retrieval API and a benchmark script.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Made the "How open is open?" slides&lt;/strong&gt; for the stream segment, in MLH colors.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Drafted this post&lt;/strong&gt; from the repo I actually pushed.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;What happened on stream:&lt;/strong&gt; I threw most of the starter repo away. Running transformers natively on Windows was simpler than Docker plus Ollama on my machine, so Field Kit's code was written during the build. What survived from planning was the &lt;em&gt;shape&lt;/em&gt;: the end state, the checkpoints, the cited-answer flow and the open-models angle.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The lesson:&lt;/strong&gt; an agent is great at getting you to the starting line with a clear picture of the finish. The live build, the bug hunting and the judgment calls were still mine, and that's the part that made a good stream.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Lazy Payoff
&lt;/h2&gt;

&lt;p&gt;Set it up once while you're online. After that it sits on your PC and answers from your phone with no signal, no API key and no bill. The next stream moves it fully onto the phone (WebGPU + transformers.js), so you won't even need the PC.&lt;/p&gt;

&lt;p&gt;Want to help? The README lists good first issues, from fixing a mislabeled header to getting small models to cite their sources more reliably. A Spanish Wikipedia pack would be a great first PR.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prize Categories
&lt;/h2&gt;

&lt;p&gt;None. I'm only entering the overall challenge.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Safety: Field Kit is a reference tool, not medical or emergency advice. Answers come from a small model and a partial encyclopedia, so check anything important.&lt;/em&gt;&lt;/p&gt;

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