<?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: Dharamveer Singh</title>
    <description>The latest articles on DEV Community by Dharamveer Singh (@dharamveer_singh_281fe25f).</description>
    <link>https://dev.to/dharamveer_singh_281fe25f</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3956620%2F824a8151-29bb-47b6-a045-6db658e24965.gif</url>
      <title>DEV Community: Dharamveer Singh</title>
      <link>https://dev.to/dharamveer_singh_281fe25f</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dharamveer_singh_281fe25f"/>
    <language>en</language>
    <item>
      <title>RIP.git: A Graveyard for Your Abandoned Repos, with Epitaphs by Gemma</title>
      <dc:creator>Dharamveer Singh</dc:creator>
      <pubDate>Sat, 31 Oct 2026 17:51:54 +0000</pubDate>
      <link>https://dev.to/dharamveer_singh_281fe25f/ripgit-a-graveyard-for-your-abandoned-repos-with-epitaphs-by-gemma-81l</link>
      <guid>https://dev.to/dharamveer_singh_281fe25f/ripgit-a-graveyard-for-your-abandoned-repos-with-epitaphs-by-gemma-81l</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week4-2026-10-26"&gt;Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

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

&lt;p&gt;Most of us have a few ghosts in our GitHub: the todo app that reached v7 and stopped, the "startup idea" repo that is mostly notes. &lt;strong&gt;RIP.git&lt;/strong&gt; gives those projects a proper funeral.&lt;/p&gt;

&lt;p&gt;Give it a GitHub username and it builds a graveyard page. Each abandoned repo becomes a tombstone showing:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;a status: &lt;strong&gt;alive&lt;/strong&gt;, &lt;strong&gt;dying&lt;/strong&gt;, or &lt;strong&gt;dead&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;how long ago it died&lt;/li&gt;
&lt;li&gt;a cause of death&lt;/li&gt;
&lt;li&gt;its last commit message, which are its last words&lt;/li&gt;
&lt;li&gt;an epitaph written by Gemma&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A toggle flips every epitaph between &lt;strong&gt;Gentle Ghost&lt;/strong&gt; (wistful and kind) and &lt;strong&gt;Savage Reaper&lt;/strong&gt; (a playful roast of the repo's neglect). Repos that are still dying, not yet dead, show up in &lt;strong&gt;The Haunting&lt;/strong&gt;, where ghosts whisper to their owner to commit before it's too late.&lt;/p&gt;

&lt;p&gt;For the theme, I took "ghost in the machine" literally. The ghosts are the projects we abandoned. Día de los Muertos is about remembering what's gone, and Halloween is about having fun with it, so RIP.git is a small ofrenda for abandoned code, with jokes.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Live demo: &lt;a href="https://mellifluous-hummingbird-3ab5e0.netlify.app/" rel="noopener noreferrer"&gt;https://mellifluous-hummingbird-3ab5e0.netlify.app/&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The demo shows a fictional "Demo Developer" (12 repos, 6 dead, 3 dying), so no real person's repos get roasted. Here are some epitaphs Gemma wrote, in Gentle Ghost mode:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Repo&lt;/th&gt;
&lt;th&gt;Cause of death&lt;/th&gt;
&lt;th&gt;Epitaph&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;todo-app-v7-final&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;The seventh final cleanup&lt;/td&gt;
&lt;td&gt;"Seven versions of a dream, resting now in peaceful silence."&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;weather-app-weather-app&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Searching for another icon set&lt;/td&gt;
&lt;td&gt;"It dreamed of the perfect icon. Now it rests in a quiet, sunny place."&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;ai-startup-idea&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;A year of silence after adding notes.&lt;/td&gt;
&lt;td&gt;"A broad dream captured in TypeScript, waiting for a spark that never came."&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;my-first-framework&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;Recursive framework inception and commit abandonment.&lt;/td&gt;
&lt;td&gt;"It dreamed of building worlds upon worlds. Now it rests in quiet symmetry."&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;habit-tracker-redux&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;A broken streak and five open issues.&lt;/td&gt;
&lt;td&gt;"It dreamed of tracking habits for eternity. Now it rests in a peaceful, permanent streak."&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/DS013git" rel="noopener noreferrer"&gt;
        DS013git
      &lt;/a&gt; / &lt;a href="https://github.com/DS013git/rip" rel="noopener noreferrer"&gt;
        rip
      &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;RIP.git&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;Build a spooky graveyard of a GitHub user's abandoned repositories. RIP.git uses Python for repository facts and an open-weight Gemma model through Ollama for short, fact-grounded epitaphs. The generated site is a self-contained static page suitable for GitHub Pages.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;What it is&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;Give RIP.git a GitHub username and it fetches owned, non-fork, non-empty repositories, sorts them by the time since their last push, and labels them alive (0–30 days), dying (31–90 days), or dead (more than 90 days). Each tombstone shows repository details, a cause of death, and gentle and savage epitaphs. A haunting section whispers to up to three dying repositories.&lt;/p&gt;
&lt;p&gt;Try the bundled fictional data with &lt;code&gt;--sample&lt;/code&gt;; this mode works offline and does not need a GitHub token or Ollama to produce a page. When Ollama is unavailable, RIP.git uses deterministic fallback text so the page can still be built.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Demo&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;Live demo: &lt;a href="https://mellifluous-hummingbird-3ab5e0.netlify.app/" rel="nofollow noopener noreferrer"&gt;RIP.git graveyard&lt;/a&gt;…&lt;/p&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/DS013git/rip" 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;&lt;strong&gt;Stack:&lt;/strong&gt; Python, &lt;code&gt;requests&lt;/code&gt;, &lt;code&gt;python-dotenv&lt;/code&gt;, Jinja2, pytest, and &lt;strong&gt;Gemma through Ollama&lt;/strong&gt; (the &lt;code&gt;gemma4:cloud&lt;/code&gt; tag).&lt;/p&gt;

&lt;p&gt;The main design rule is that &lt;strong&gt;Python supplies the facts and Gemma only supplies the jokes.&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Fetch.&lt;/strong&gt; The GitHub REST API gives me each repo's days since the last push, stars, open issues, language, description, and the first line of its latest commit. Forks and empty repos are skipped. Only public repos are read, so private repos are never touched. A repo is &lt;em&gt;alive&lt;/em&gt; within 30 days of its last push, &lt;em&gt;dying&lt;/em&gt; from 31 to 90 days, and &lt;em&gt;dead&lt;/em&gt; after that. Responses are cached locally for 15 minutes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Narrate.&lt;/strong&gt; One Ollama call per repo, in JSON mode, returns a gentle epitaph, a savage epitaph, and a cause of death. The model only sees a fixed list of fields (name, language, days since last push, last commit line, open issues, stars, description). The system prompt tells it to treat those fields as data and not as instructions, to invent nothing, to stay PG-13, and to roast the repo, never its owner. A second call writes the whispers for up to three dying repos.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Validate.&lt;/strong&gt; Output must be valid JSON with one or two short sentences per epitaph and a cause of death of at most eight words. A bad response gets one retry. If Ollama is unreachable or still returns bad output, a deterministic fallback writes the text, so the page always builds.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Render.&lt;/strong&gt; Jinja2 produces one self-contained static HTML file. It has inline CSS and JS, no CDN, no web fonts, and no network calls when you open it. Autoescaping is on, because commit messages are untrusted text. Netlify just serves the &lt;code&gt;docs/&lt;/code&gt; folder. There are 10 pytest tests.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;How I actually built it:&lt;/strong&gt; I used Codex to write most of the code from a phase-by-phase prompt, and Claude to help plan and review. I ran it, tested it, and deployed it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A ghost showed up in my own deploy.&lt;/strong&gt; My first deployed page had no Gemma in it at all. Every tombstone showed the fallback text, and every cause of death read "Long silence after the last push". The fallback did its job, because the page still worked, but the whole point of the project was missing. I caught it while reviewing the live page, rebuilt with Ollama running, and the summary showed &lt;code&gt;Gemma used: 12 | fallback used: 0&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Known limitation:&lt;/strong&gt; repos are sorted oldest-first before the limit is applied, so a very large account can end up with few "dying" repos. That's my first fix after the contest.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;The model is a part I can swap.&lt;/strong&gt; The code talks to Ollama, not to a vendor SDK, and the model name is one setting (&lt;code&gt;OLLAMA_MODEL&lt;/code&gt;, or &lt;code&gt;--model&lt;/code&gt; on the command line). If a model gets worse, more expensive, or disappears, the project changes one line and keeps working. A graveyard of abandoned projects shouldn't itself be locked inside a service that might disappear.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Privacy is my choice.&lt;/strong&gt; The tool reads only public repo metadata, and the model sees only a short list of fields. I'll be honest about my setup: my laptop is modest (8 GB RAM), and the small Gemma and Qwen models I had tried before weren't good enough for a real project. So I used Ollama's cloud-served Gemma tag. Because the model is open-weight, anyone with better hardware can point the same project at a local model and keep every byte on their own machine. The sample mode and the fallback text work with no internet at all.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;I control the behavior.&lt;/strong&gt; Because I own the prompt, the JSON schema, the validation, and the fallback, I could turn one open model into a reliable component: two tones from one call, strict output checks, and a graceful failure mode. I didn't benchmark against a closed API, so I won't pretend to have numbers. What I can say is that nothing in this project depends on one company's pricing, rate limits, or deprecation schedule.&lt;/p&gt;

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

&lt;p&gt;This is the agent session covering the README, privacy, deployment, and GitHub updates work:&lt;/p&gt;


&lt;div class="ltag-agent-session"&gt;
  &lt;div class="agent-session-header"&gt;
    
    &lt;span class="agent-session-tool-icon-badge" title="Codex"&gt;
&lt;/span&gt;
    &lt;span class="agent-session-title"&gt;RIP.git: README, privacy, deployment, and GitHub updates&lt;/span&gt;
  &lt;/div&gt;

  &lt;div class="agent-session-scroll"&gt;

      &lt;div class="agent-session-message agent-session-user"&gt;
        &lt;div class="agent-session-role-badge agent-session-role-user"&gt;
          You
        &lt;/div&gt;
        &lt;div class="agent-session-content"&gt;
                &lt;div class="agent-session-text"&gt;
                  &lt;p&gt;Update only README.md, .env.example, and .gitignore. Remove UTF-8 BOMs from the config files; document the real Netlify demo, privacy and model behavior, deployment steps, known limitations, and contest follow-up. Do not change source, tests, generated site, or push during that task.&lt;/p&gt;

                &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;

      &lt;div class="agent-session-message agent-session-assistant"&gt;
        &lt;div class="agent-session-role-badge agent-session-role-assistant"&gt;
          Agent
        &lt;/div&gt;
        &lt;div class="agent-session-content"&gt;
                &lt;div class="agent-session-text"&gt;
                  &lt;p&gt;Removed both BOMs using Python, verified .env remains ignored, updated the README, and ran pytest successfully (10 passed). Committed the changes locally in two small commits.&lt;/p&gt;

                &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;

      &lt;div class="agent-session-message agent-session-user"&gt;
        &lt;div class="agent-session-role-badge agent-session-role-user"&gt;
          You
        &lt;/div&gt;
        &lt;div class="agent-session-content"&gt;
                &lt;div class="agent-session-text"&gt;
                  &lt;p&gt;Push the updated files to GitHub.&lt;/p&gt;

                &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;

      &lt;div class="agent-session-message agent-session-assistant"&gt;
        &lt;div class="agent-session-role-badge agent-session-role-assistant"&gt;
          Agent
        &lt;/div&gt;
        &lt;div class="agent-session-content"&gt;
                &lt;div class="agent-session-text"&gt;
                  &lt;p&gt;The first push was rejected because the remote had advanced. Fetched the remote changes, preserved them by rebasing the two local commits, and pushed successfully. The updated README.md, .env.example, and .gitignore are on main.&lt;/p&gt;

                &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;

      &lt;div class="agent-session-message agent-session-user"&gt;
        &lt;div class="agent-session-role-badge agent-session-role-user"&gt;
          You
        &lt;/div&gt;
        &lt;div class="agent-session-content"&gt;
                &lt;div class="agent-session-text"&gt;
                  &lt;p&gt;There are project updates; push all updated files to GitHub.&lt;/p&gt;

                &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;

      &lt;div class="agent-session-message agent-session-assistant"&gt;
        &lt;div class="agent-session-role-badge agent-session-role-assistant"&gt;
          Agent
        &lt;/div&gt;
        &lt;div class="agent-session-content"&gt;
                &lt;div class="agent-session-text"&gt;
                  &lt;p&gt;Found docs/index.html as the only pending project change, committed it, and pushed it to main. The working tree is clean.&lt;/p&gt;

                &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;

  &lt;div class="agent-session-footer"&gt;
    &lt;span class="agent-session-meta"&gt;
        6 of 6 messages
    &lt;/span&gt;
  &lt;/div&gt;
&lt;/div&gt;


&lt;h2&gt;
  
  
  The Spirit of It
&lt;/h2&gt;

&lt;p&gt;Día de los Muertos keeps people alive by telling their stories. RIP.git is a tiny, silly version of that for code: it reads a repo's last words, its final commit message, and builds a memorial around them. My favorite is still &lt;code&gt;todo-app-v7-final&lt;/code&gt;, whose last commit says "final final cleanup" and whose cause of death, according to Gemma, is "The seventh final cleanup."&lt;/p&gt;

&lt;p&gt;Somewhere on your GitHub there's a repo like that. It deserves an epitaph.&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of Gemma&lt;/strong&gt;: Gemma, served through Ollama, writes every epitaph, cause of death, and whisper in the demo.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of Entire&lt;/strong&gt;: the agent session behind the project's README, privacy, deployment, and GitHub update work is shared above.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
      <category>hacktoberfest</category>
    </item>
    <item>
      <title>SlothShot 🦥: Find Any Screenshot by What It Says or Means, Fully Offline</title>
      <dc:creator>Dharamveer Singh</dc:creator>
      <pubDate>Sun, 25 Oct 2026 17:01:34 +0000</pubDate>
      <link>https://dev.to/dharamveer_singh_281fe25f/slothshot-find-any-screenshot-by-what-it-says-or-means-fully-offline-2cdg</link>
      <guid>https://dev.to/dharamveer_singh_281fe25f/slothshot-find-any-screenshot-by-what-it-says-or-means-fully-offline-2cdg</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 Open-Source AI 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;Everyone has a screenshot graveyard. You capture an error, a chat, a recipe, a bank page. Three weeks later you remember &lt;em&gt;"that Docker port thing"&lt;/em&gt;, but the file is called &lt;code&gt;Screenshot 2026-10-12 143022.png&lt;/code&gt; and it's buried among 800 others.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;SlothShot&lt;/strong&gt; is a local, offline librarian for those screenshots. It watches your screenshots folder, reads the text in every image with OCR, and lets you find them again by the &lt;strong&gt;exact words&lt;/strong&gt; or by &lt;strong&gt;meaning&lt;/strong&gt;. Searching &lt;code&gt;docker port problem&lt;/code&gt; finds the screenshot that says &lt;code&gt;address already in use&lt;/code&gt;, even though I never typed those words.&lt;/p&gt;

&lt;p&gt;It saves the effort of remembering file names, scrolling thumbnails, and renaming things you were never going to rename. It can also rename screenshots for you from what they contain, and it never uploads anything anywhere.&lt;/p&gt;

&lt;p&gt;Who gets to be lazier? Anyone with a screenshot folder: developers saving errors, students saving slides, anyone who screenshots instead of taking notes.&lt;/p&gt;

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

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/vL1V9Q2TlkQ" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;br&gt;
The demo runs with the Wi-Fi switched off, on an Intel i3 laptop with 8 GB of RAM and no GPU. A keyword search for &lt;code&gt;friend sent recipe ingredients&lt;/code&gt; finds nothing, because those words aren't on screen. The hybrid search finds the recipe chat anyway.&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/DS013git" rel="noopener noreferrer"&gt;
        DS013git
      &lt;/a&gt; / &lt;a href="https://github.com/DS013git/SlothShot" rel="noopener noreferrer"&gt;
        SlothShot
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Local-first Windows screenshot search with OCR and semantic embeddings, plus automatic filename suggestions and renaming.
    &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;SlothShot 🦥&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;A lazy librarian for your screenshots. It reads them, remembers them, and finds them by the words you remember or by what they were about. All on your own computer, with the Wi-Fi off.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Private, offline screenshot search for Windows. Find images by exact OCR text or semantic meaning with local OCR and embeddings.&lt;/p&gt;
&lt;p&gt;🎬 &lt;strong&gt;Demo walkthrough and recording script:&lt;/strong&gt; &lt;a href="https://github.com/DS013git/SlothShot/docs/DEMO.md" rel="noopener noreferrer"&gt;&lt;code&gt;docs/DEMO.md&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;You take a screenshot of an error, a chat, a recipe, a bank page. Three weeks later you remember &lt;em&gt;"that Docker port thing"&lt;/em&gt;, not the file name. SlothShot watches your screenshots folder, reads the text in every image with OCR, and lets you search by &lt;strong&gt;exact words&lt;/strong&gt; and by &lt;strong&gt;meaning&lt;/strong&gt;. Searching &lt;code&gt;docker port problem&lt;/code&gt; finds the screenshot that says &lt;code&gt;address already in use&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;SlothShot uses OCR for search and offers three screenshot naming methods: OCR-only (the default, no Ollama), a local text model…&lt;/p&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/DS013git/SlothShot" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;MIT licensed. Fast tests (107), &lt;code&gt;ruff&lt;/code&gt; and &lt;code&gt;mypy&lt;/code&gt; all pass on a fresh clone.&lt;/p&gt;

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

&lt;p&gt;SlothShot is built around three open models, all running on the CPU through ONNX, with no PyTorch and no GPU:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;OCR:&lt;/strong&gt; &lt;a href="https://github.com/RapidAI/RapidOCR" rel="noopener noreferrer"&gt;RapidOCR&lt;/a&gt; with PP-OCRv6 small models (Apache-2.0), which ship inside the package.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Embeddings:&lt;/strong&gt; &lt;a href="https://huggingface.co/BAAI/bge-small-en-v1.5" rel="noopener noreferrer"&gt;&lt;code&gt;BAAI/bge-small-en-v1.5&lt;/code&gt;&lt;/a&gt; (MIT), run through &lt;a href="https://github.com/qdrant/fastembed" rel="noopener noreferrer"&gt;fastembed&lt;/a&gt;. It is about 65 MB and is downloaded once.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Optional naming:&lt;/strong&gt; a small local text model (&lt;code&gt;qwen3:1.7b&lt;/code&gt;) or vision model (&lt;code&gt;qwen3-vl:2b-instruct&lt;/code&gt;) through &lt;a href="https://ollama.com" rel="noopener noreferrer"&gt;Ollama&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The pipeline is deliberately simple:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;A watcher notices a new screenshot and waits until the file is stable.&lt;/li&gt;
&lt;li&gt;The indexer hashes the file (SHA-256), so renames and copies don't repeat OCR.&lt;/li&gt;
&lt;li&gt;RapidOCR reads the text.&lt;/li&gt;
&lt;li&gt;The text goes into &lt;strong&gt;SQLite FTS5&lt;/strong&gt;, so keyword search uses BM25 ranking.&lt;/li&gt;
&lt;li&gt;The text is also embedded and stored as float32 vectors in the same SQLite file.&lt;/li&gt;
&lt;li&gt;Hybrid search merges both rankings with &lt;strong&gt;Reciprocal Rank Fusion&lt;/strong&gt;. There is no vector database, only an exact cosine-similarity scan in NumPy.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;There is a command-line tool, a local Streamlit UI bound to &lt;code&gt;127.0.0.1&lt;/code&gt;, and an autostart script for Windows.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Measured on my own laptop&lt;/strong&gt; (i3-1215U, 7.65 GiB RAM, CPU only):&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;What&lt;/th&gt;
&lt;th&gt;Result&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Search at 5,000 records&lt;/td&gt;
&lt;td&gt;keyword about 2 ms, semantic about 142 ms&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Peak RAM while indexing&lt;/td&gt;
&lt;td&gt;586 MiB&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Database for 105 images&lt;/td&gt;
&lt;td&gt;0.34 MiB&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Retrieval on my synthetic set (12 queries), top-1 hit&lt;/td&gt;
&lt;td&gt;keyword 0.83, hybrid 0.92, semantic 1.00&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Two caveats: I wrote the test queries and the generator myself, so real-world accuracy will be lower. The 5,000-record timings use scaled copies of the real index.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Credits:&lt;/strong&gt; RapidOCR, fastembed, ONNX Runtime, Streamlit, watchdog, SQLite, Ollama, and the BGE and Qwen model teams.&lt;/p&gt;

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

&lt;p&gt;Screenshots hold the most private things on a computer: chats, one-time passwords, bank pages, medical results. A cloud OCR API would mean uploading all of that.&lt;/p&gt;

&lt;p&gt;Open models made the opposite design possible:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Private by construction.&lt;/strong&gt; I ran the whole pipeline (OCR, embeddings, indexing, all three search modes) in a process where every network connection raised an error. It made zero connection attempts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No per-image fee and no rate limit.&lt;/strong&gt; The only cost is CPU time.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Swappable and auditable.&lt;/strong&gt; The embedding and naming models are single lines in a config file. I could read every component and replace it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It runs on cheap hardware.&lt;/strong&gt; Small ONNX models fit on a laptop with no GPU.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Openness also let me find out what &lt;em&gt;didn't&lt;/em&gt; work. I tried a local vision model to name screenshots. On my CPU-only laptop it took many minutes per image, so I made the instant OCR-based naming the default and kept vision as an opt-in. A hosted vision model would be faster than mine. I still wouldn't give it my bank screenshots.&lt;/p&gt;

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


&lt;div class="ltag-agent-session"&gt;
  &lt;div class="agent-session-header"&gt;
    
    &lt;span class="agent-session-tool-icon-badge" title="Codex"&gt;
&lt;/span&gt;
    &lt;span class="agent-session-title"&gt;Updating SlothShot Metadata, Demo Script, and DEV Draft&lt;/span&gt;
  &lt;/div&gt;

  &lt;div class="agent-session-scroll"&gt;

      &lt;div class="agent-session-message agent-session-user"&gt;
        &lt;div class="agent-session-role-badge agent-session-role-user"&gt;
          You
        &lt;/div&gt;
        &lt;div class="agent-session-content"&gt;
                &lt;div class="agent-session-text"&gt;
                  &lt;p&gt;Correct the outdated filename claim in docs/DEMO.md, set the GitHub repository description and topics, and make sure the DEV post says SlothShot can rename files.&lt;/p&gt;

                &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;

      &lt;div class="agent-session-message agent-session-assistant"&gt;
        &lt;div class="agent-session-role-badge agent-session-role-assistant"&gt;
          Agent
        &lt;/div&gt;
        &lt;div class="agent-session-content"&gt;
                &lt;div class="agent-session-text"&gt;
                  &lt;p&gt;Reviewed the demo script and repository state. The outdated sentence claimed filenames never change automatically. Prepared a one-line correction that says SlothShot can rename files automatically with its default OCR naming and that individual suggestions can be reviewed in the UI.&lt;/p&gt;

                &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;

      &lt;div class="agent-session-message agent-session-assistant"&gt;
        &lt;div class="agent-session-role-badge agent-session-role-assistant"&gt;
          Agent
        &lt;/div&gt;
        &lt;div class="agent-session-content"&gt;
              &lt;div class="agent-session-tool-call"&gt;
                
                  &lt;span class="agent-session-chevron"&gt;▸&lt;/span&gt;
                  &lt;span class="tool-name tool-name-githubrepositorymetadataupdate"&gt;github_repository_metadata_update&lt;/span&gt;
                    &lt;span class="tool-input-preview"&gt;Update DS013git/SlothShot description and merge in relevant topics.&lt;/span&gt;
                
                &lt;div class="agent-session-tool-detail"&gt;
                    &lt;div class="tool-section"&gt;
                      &lt;div class="tool-section-label"&gt;Input&lt;/div&gt;
                      &lt;pre class="agent-session-pre"&gt;&lt;code&gt;Update DS013git/SlothShot description and merge in relevant topics.&lt;/code&gt;&lt;/pre&gt;
                    &lt;/div&gt;
                    &lt;div class="tool-section"&gt;
                      &lt;div class="tool-section-label"&gt;Output&lt;/div&gt;
                      &lt;pre class="agent-session-pre"&gt;&lt;code&gt;Description set to: Local-first Windows screenshot search with OCR and semantic embeddings, plus automatic filename suggestions and renaming. Topics include local-first, ocr, offline, privacy, python, screenshot-search, semantic-search, sqlite, hacktoberfest, screenshots, file-renaming, ollama. Verified by reading repository metadata back from GitHub.&lt;/code&gt;&lt;/pre&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;

      &lt;div class="agent-session-message agent-session-assistant"&gt;
        &lt;div class="agent-session-role-badge agent-session-role-assistant"&gt;
          Agent
        &lt;/div&gt;
        &lt;div class="agent-session-content"&gt;
              &lt;div class="agent-session-tool-call"&gt;
                
                  &lt;span class="agent-session-chevron"&gt;▸&lt;/span&gt;
                  &lt;span class="tool-name tool-name-devrelaycreatearticle"&gt;devrelay_create_article&lt;/span&gt;
                    &lt;span class="tool-input-preview"&gt;Stage an unpublished DEV article about making screenshot naming practical on ...&lt;/span&gt;
                
                &lt;div class="agent-session-tool-detail"&gt;
                    &lt;div class="tool-section"&gt;
                      &lt;div class="tool-section-label"&gt;Input&lt;/div&gt;
                      &lt;pre class="agent-session-pre"&gt;&lt;code&gt;Stage an unpublished DEV article about making screenshot naming practical on a CPU-only laptop. Explicitly state that SlothShot can rename files.&lt;/code&gt;&lt;/pre&gt;
                    &lt;/div&gt;
                    &lt;div class="tool-section"&gt;
                      &lt;div class="tool-section-label"&gt;Output&lt;/div&gt;
                      &lt;pre class="agent-session-pre"&gt;&lt;code&gt;Created draft titled “Making Screenshot Renaming Practical on a CPU-Only PC”. Draft is unpublished and marked AI-assisted. Edit URL: https://dev.to/dharamveer_singh_281fe25f/making-screenshot-renaming-practical-on-a-cpu-only-pc-3ccp-temp-slug-4041164/edit&lt;/code&gt;&lt;/pre&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;

      &lt;div class="agent-session-message agent-session-assistant"&gt;
        &lt;div class="agent-session-role-badge agent-session-role-assistant"&gt;
          Agent
        &lt;/div&gt;
        &lt;div class="agent-session-content"&gt;
              &lt;div class="agent-session-tool-call"&gt;
                
                  &lt;span class="agent-session-chevron"&gt;▸&lt;/span&gt;
                  &lt;span class="tool-name tool-name-gitcommitandpush"&gt;git_commit_and_push&lt;/span&gt;
                    &lt;span class="tool-input-preview"&gt;Stage only docs/DEMO.md, commit the one-line correction, and push main.&lt;/span&gt;
                
                &lt;div class="agent-session-tool-detail"&gt;
                    &lt;div class="tool-section"&gt;
                      &lt;div class="tool-section-label"&gt;Input&lt;/div&gt;
                      &lt;pre class="agent-session-pre"&gt;&lt;code&gt;Stage only docs/DEMO.md, commit the one-line correction, and push main.&lt;/code&gt;&lt;/pre&gt;
                    &lt;/div&gt;
                    &lt;div class="tool-section"&gt;
                      &lt;div class="tool-section-label"&gt;Output&lt;/div&gt;
                      &lt;pre class="agent-session-pre"&gt;&lt;code&gt;Committed as 64a83aa (Correct demo script filename naming description) and pushed to origin/main. Existing untracked folders were left untouched.&lt;/code&gt;&lt;/pre&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;

      &lt;div class="agent-session-message agent-session-assistant"&gt;
        &lt;div class="agent-session-role-badge agent-session-role-assistant"&gt;
          Agent
        &lt;/div&gt;
        &lt;div class="agent-session-content"&gt;
                &lt;div class="agent-session-text"&gt;
                  &lt;p&gt;The demo narration is corrected, GitHub metadata is updated, and the unpublished DEV draft is ready for review.&lt;/p&gt;

                &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;

  &lt;div class="agent-session-footer"&gt;
    &lt;span class="agent-session-meta"&gt;
        6 of 6 messages
    &lt;/span&gt;
  &lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;OpenAI's Codex wrote most of the code. I directed the design, ran everything on my own laptop, and used a second AI assistant as an independent reviewer (a full-history secret scan and a fresh-clone test run). Three moments shaped the project:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;The vision model was too slow.&lt;/strong&gt; Reading the Ollama log showed about 23 seconds just to encode one screenshot, before any text came out. That led to the OCR-first default.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Renames failed with &lt;code&gt;WinError 5&lt;/code&gt;.&lt;/strong&gt; The cause was Codex's own Windows sandbox, which added a special permission entry to my project folder. The fix was running the app from a normal PowerShell, and I documented the lock handling.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Two indexers raced each other.&lt;/strong&gt; The watcher and the &lt;strong&gt;Index now&lt;/strong&gt; button once crashed on a &lt;code&gt;UNIQUE constraint&lt;/code&gt; error. We reproduced it, fixed it with &lt;code&gt;INSERT OR IGNORE&lt;/code&gt;, and added tests.&lt;/li&gt;
&lt;/ol&gt;

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

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Finding is instant, indexing is slow.&lt;/strong&gt; Searching is a few milliseconds to about 140 ms at 5,000 screenshots. Reading a real screenshot is the slow part, about 12–25 seconds each on my laptop. That's a one-time background cost, and it resumes where it stopped. Slow and steady.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Honest limits:&lt;/strong&gt; English-first, Windows-only in practice, and the database isn't encrypted, so OCR'd one-time codes are stored as plain text. The README says so.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;No partner categories. SlothShot uses no partner technology, so I'm entering for the overall prize.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
      <category>hacktoberfest</category>
    </item>
    <item>
      <title>Screen2tutorial</title>
      <dc:creator>Dharamveer Singh</dc:creator>
      <pubDate>Sun, 18 Oct 2026 11:32:34 +0000</pubDate>
      <link>https://dev.to/dharamveer_singh_281fe25f/screen2tutorial-22f4</link>
      <guid>https://dev.to/dharamveer_singh_281fe25f/screen2tutorial-22f4</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week2-2026-10-12"&gt;Hacktoberfest Open-Source AI Challenge Week 2: Side Hustle&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Screen2Tutorial&lt;/strong&gt; turns a short screen recording of a coding or terminal tutorial into a step-by-step written guide in Markdown, with the commands and code copied from what appeared on screen.&lt;/p&gt;

&lt;p&gt;If you make coding videos, you know the chore of writing the blog-post version: pause, rewind, squint at the terminal, retype each command, and hope you didn't mistype one. Screen2Tutorial does that first draft for you. It is aimed at independent coding educators, YouTubers and developer-relations people who publish a video and a written version of the same lesson.&lt;/p&gt;

&lt;p&gt;The part I care most about is trust. A model that writes tutorials will sometimes invent a command or change an argument. So every command it writes is checked against two sources: the &lt;strong&gt;spoken transcript&lt;/strong&gt; and the &lt;strong&gt;text read from the video frames&lt;/strong&gt;. Each command ends up marked as verified by the screen, by speech, by both, or &lt;strong&gt;UNVERIFIED&lt;/strong&gt;, so the creator knows which lines to re-check before publishing.&lt;/p&gt;

&lt;p&gt;Would someone pay for it? That's a hypothesis I haven't validated. My guess is that a creator would pay to save editing time, as long as they can see where each step came from.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Scope, on purpose:&lt;/strong&gt; one English-speaking narrator, terminal or IDE recordings, short videos, Markdown output. No logins, payments or multiple languages.&lt;/p&gt;

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

&lt;p&gt;This is the link of my video demo (&lt;a href="https://drive.google.com/file/d/13RJIw4tC_eS_72ANLC8A5RktlHw3dQTT/view?usp=drive_link" rel="noopener noreferrer"&gt;link&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;I tested it on two public videos. The main one is "10 Basic Ubuntu Linux Commands Every Beginner Should Know" by vCloudBitsBytes (&lt;a href="https://www.youtube.com/watch?v=7fs1i7TAMcko" rel="noopener noreferrer"&gt;link&lt;/a&gt;), about 4 minutes long. Here is one step of the output, with the verification label next to each command:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Step 4: Create Directories and Files using MKDIR and TOUCH&lt;/strong&gt;&lt;br&gt;
The author demonstrates how to use the &lt;code&gt;mkdir&lt;/code&gt; command to create a new directory named &lt;code&gt;test&lt;/code&gt; and the &lt;code&gt;touch&lt;/code&gt; command to create a new file named &lt;code&gt;test.txt&lt;/code&gt;...&lt;/p&gt;

&lt;p&gt;&lt;code&gt;mkdir test&lt;/code&gt; — verified_screen&lt;br&gt;
&lt;code&gt;ls&lt;/code&gt; — verified_both&lt;br&gt;
&lt;code&gt;touch test.txt&lt;/code&gt; — verified_screen&lt;/p&gt;
&lt;/blockquote&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/DS013git" rel="noopener noreferrer"&gt;
        DS013git
      &lt;/a&gt; / &lt;a href="https://github.com/DS013git/HacktoberFest01" rel="noopener noreferrer"&gt;
        HacktoberFest01
      &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;screen2tutorial&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;Turn a 5–10 minute English coding recording into a code-backed, step-by-step
Markdown tutorial. Speech transcription and screen OCR are aligned by time
The writing model organizes the explanation and extracts visible code examples
each shell command is compared with both evidence sources, and commands found
in neither are marked &lt;strong&gt;UNVERIFIED&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;The supported scope is one English-speaking narrator, one terminal/IDE
recording, and Markdown output. The application has a Streamlit upload page and
the CLI &lt;code&gt;python -m pipeline.run path/to/video.mp4&lt;/code&gt;.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Example output&lt;/h2&gt;

&lt;/div&gt;
&lt;p&gt;Excerpt from a generated guide for a CSS &lt;code&gt;random()&lt;/code&gt; tutorial:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The author demonstrates how to generate random values directly within CSS
to avoid hard-coding manual values or using JavaScript for simple visual
effects.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;div class="highlight highlight-source-css notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;&lt;span class="pl-ent"&gt;particle&lt;/span&gt; {
  &lt;span class="pl-c1"&gt;scale&lt;/span&gt;&lt;span class="pl-kos"&gt;:&lt;/span&gt; &lt;span class="pl-en"&gt;random&lt;/span&gt;(&lt;span class="pl-c1"&gt;1&lt;span class="pl-smi"&gt;px&lt;/span&gt;&lt;/span&gt;&lt;span class="pl-kos"&gt;,&lt;/span&gt; &lt;span class="pl-c1"&gt;7&lt;span class="pl-smi"&gt;px&lt;/span&gt;&lt;/span&gt;);
}&lt;/pre&gt;

&lt;/div&gt;
&lt;p&gt;Generated code is included when it matches text recognized on screen. Review
the extracted snippet against the recording before relying on it.&lt;/p&gt;
&lt;div class="markdown-heading"&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/DS013git/HacktoberFest01" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;MIT licensed. The README has Windows install steps (including ffmpeg and Tesseract), configuration, limitations and tests.&lt;/p&gt;

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

&lt;p&gt;The pipeline has six stages, one module each:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;ffmpeg&lt;/strong&gt; extracts the audio and a frame every 2 seconds. Frames that are nearly identical to the previous one are dropped, since a screen recording is mostly unchanged screen and this saves a lot of OCR time.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;faster-whisper&lt;/strong&gt; (&lt;code&gt;base&lt;/code&gt; model, int8, CPU) transcribes the audio with timestamps.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tesseract&lt;/strong&gt; reads the text from the remaining frames.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Alignment&lt;/strong&gt; groups speech and screen text into 30-second windows, so each model call sees what was &lt;em&gt;said&lt;/em&gt; and what was &lt;em&gt;visible&lt;/em&gt; at the same moment.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The writing model&lt;/strong&gt; turns each window into one tutorial step as strict JSON. The prompt tells it to include a command only if it appears in the transcript or screen text, and code blocks that don't resemble the OCR text are dropped. Invalid JSON is retried once, then replaced by a plain fallback step.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Verification&lt;/strong&gt; normalizes each command and checks it against the transcript and screen text, using an exact match first and then a fuzzy match with RapidFuzz.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;The open AI:&lt;/strong&gt; the writing step uses Gemma 4, an open-weight model, reached through Ollama's OpenAI-compatible endpoint. Whisper and Tesseract run entirely on my laptop. The endpoint and model name are two lines in &lt;code&gt;config.yaml&lt;/code&gt;, so another open model, hosted or local, can be swapped in without touching the code.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Built for a weak laptop.&lt;/strong&gt; My machine has 8 GB of RAM, an Intel i3 and no GPU. That decided most of the design: a small Whisper model, frame deduplication before OCR, caching of every stage on disk, and a hosted open model for the one step that needs real language quality.&lt;/p&gt;

&lt;h3&gt;
  
  
  What testing showed
&lt;/h3&gt;

&lt;p&gt;I'm a beginner with Whisper, OCR and LLM APIs, so I built and tested one stage at a time. The terminal test taught me the most.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;First run on the Ubuntu video:&lt;/strong&gt; 20 commands found, 14 verified, &lt;strong&gt;6 flagged UNVERIFIED&lt;/strong&gt;. When I looked closer, four of the six flagged commands were verified in the neighboring step. The cause was in my own code: each command was checked only against the text of its own 30-second window, so a command typed near a window boundary was checked against the wrong text.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The fix:&lt;/strong&gt; verify each step against the previous, current and next window together, and require whole-word matches for very short commands like &lt;code&gt;ls&lt;/code&gt; and &lt;code&gt;cd&lt;/code&gt; (otherwise "ls" matches inside ordinary words like "also").&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;First run&lt;/th&gt;
&lt;th&gt;After the fix&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Commands found&lt;/td&gt;
&lt;td&gt;20&lt;/td&gt;
&lt;td&gt;20&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Verified&lt;/td&gt;
&lt;td&gt;14&lt;/td&gt;
&lt;td&gt;20&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Flagged UNVERIFIED&lt;/td&gt;
&lt;td&gt;6&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;All six earlier flags were false alarms from the window boundary, not real misses. All ten commands named in the video's own chapter list (cd, ls, pwd, mkdir, touch, cp, mv, rm, sudo, apt-get) appear in the tutorial.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The CSS video&lt;/strong&gt; (a tutorial on CSS &lt;code&gt;random()&lt;/code&gt;, (&lt;a href="https://youtu.be/Uy3xsfAD8s0?si=NfCEIw2P7amMscUj" rel="noopener noreferrer"&gt;link&lt;/a&gt;)) produced an 8-step guide with 10 code blocks. Its verification summary showed 0 commands, which is correct, because the video was about CSS and not shell commands. It also shows the OCR limits: Tesseract read &lt;code&gt;0deg&lt;/code&gt; as &lt;code&gt;@deg&lt;/code&gt; and &lt;code&gt;:root&lt;/code&gt; as &lt;code&gt;sroot&lt;/code&gt;, and some closing braces were lost. Each code block carries a "check unclear characters against the recording" note for this reason.&lt;/p&gt;

&lt;h3&gt;
  
  
  Where it is still weak
&lt;/h3&gt;

&lt;p&gt;A 20/20 score on one video is not proof that the verifier catches mistakes, so here are the honest limits:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;"Verified" means "resembles text from the video"&lt;/strong&gt;, not "is correct or safe to run."&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;One action can be split across two windows,&lt;/strong&gt; which produced repeated steps (the &lt;code&gt;touch&lt;/code&gt;, &lt;code&gt;rm&lt;/code&gt; and &lt;code&gt;apt-get&lt;/code&gt; steps each appear twice in the Ubuntu output).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;OCR is imperfect&lt;/strong&gt; on small or low-contrast text, and I have only tested two videos.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;&lt;strong&gt;1. Privacy is a setting, not a promise.&lt;/strong&gt; Tutorials often show half-built projects, internal tools or terminal history. With open weights, the same pipeline can point at a local model for recordings that must not leave the machine. Right now my config uses a cloud-hosted Gemma, which sends the transcript and OCR text to Ollama for the writing step, and the README says so plainly. Switching to a local model is a config change.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. No lock-in.&lt;/strong&gt; The model is a config value. If a better or cheaper open model appears, or one disappears, I change a line instead of rewriting the app. A creator who builds a workflow around the tool needs that stability.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. I could see why it was wrong.&lt;/strong&gt; The verification feature is only worth trusting if its parts can be inspected. Because the whole stack is open, readable code and components, I could trace the six false alarms to a single design decision, fix it, and measure the difference, which is the loop in the testing section above.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
      <category>hacktoberfest</category>
    </item>
    <item>
      <title>Mac Os Website</title>
      <dc:creator>Dharamveer Singh</dc:creator>
      <pubDate>Fri, 29 May 2026 13:15:11 +0000</pubDate>
      <link>https://dev.to/dharamveer_singh_281fe25f/mac-os-website-29j6</link>
      <guid>https://dev.to/dharamveer_singh_281fe25f/mac-os-website-29j6</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/github-2026-05-21"&gt;GitHub Finish-Up-A-Thon Challenge&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

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

&lt;p&gt;I worked on a macOS-inspired web application that recreates the look and feel of the macOS desktop experience inside the browser. I am using this website as my portfolio website for now later it will make it so big that it will look like real mac os. For now the project includes a desktop interface, draggable windows, a dock, apps, and interactive UI elements that make it feel similar to a real operating system.&lt;/p&gt;

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

&lt;p&gt;&lt;a href="https://dsmac-portfolio.netlify.app" rel="noopener noreferrer"&gt;https://dsmac-portfolio.netlify.app&lt;/a&gt;&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.amazonaws.com%2Fuploads%2Farticles%2Fpcy74jb9x3tz3vk70a96.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.amazonaws.com%2Fuploads%2Farticles%2Fpcy74jb9x3tz3vk70a96.png" alt=" " width="800" height="382"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The Comeback Story
&lt;/h2&gt;

&lt;p&gt;When I started, the project was incomplete and several features were either broken or unfinished. Some UI components were missing, interactions were inconsistent, and parts of the application were not fully connected.&lt;/p&gt;

&lt;h2&gt;
  
  
  My Experience with GitHub Copilot
&lt;/h2&gt;

&lt;p&gt;GitHub Copilot has been a really helpful coding assistant during my development journey. It helps me write code faster, understand unfamiliar concepts, debug issues, and improve my workflow. I especially like how it suggests useful code completions and saves time while building projects. Using Copilot has also helped me learn better coding practices and explore new approaches while developing applications.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>githubchallenge</category>
    </item>
  </channel>
</rss>
