<?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: jesroff rouk</title>
    <description>The latest articles on DEV Community by jesroff rouk (@jesroff_rouk_c8dec56cb964).</description>
    <link>https://dev.to/jesroff_rouk_c8dec56cb964</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%2F4166722%2F3c1a1982-b4b0-4efb-bb67-24275d5a13ec.png</url>
      <title>DEV Community: jesroff rouk</title>
      <link>https://dev.to/jesroff_rouk_c8dec56cb964</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jesroff_rouk_c8dec56cb964"/>
    <language>en</language>
    <item>
      <title>SlothSort: A Local AI That Cleans Your Downloads Folder So You Don’t Have To</title>
      <dc:creator>jesroff rouk</dc:creator>
      <pubDate>Sun, 25 Oct 2026 12:58:53 +0000</pubDate>
      <link>https://dev.to/jesroff_rouk_c8dec56cb964/slothsort-a-local-ai-that-cleans-your-downloads-folder-so-you-dont-have-to-5aoh</link>
      <guid>https://dev.to/jesroff_rouk_c8dec56cb964/slothsort-a-local-ai-that-cleans-your-downloads-folder-so-you-dont-have-to-5aoh</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;&lt;strong&gt;SlothSort&lt;/strong&gt; is a lazy file tidier that runs entirely on your own machine. Point it at the folder you keep ignoring (mine is Downloads) and a local open-weight model reads each file's name and a snippet of its contents, decides where it belongs, and can even give it a clean name. Files older than 90 days get archived by year.&lt;/p&gt;

&lt;p&gt;We all have a folder full of &lt;code&gt;final_v2_REAL.pdf&lt;/code&gt; and &lt;code&gt;IMG_2231.jpg&lt;/code&gt;, and we all keep promising to sort it "this weekend." SlothSort does that chore so you never have to.&lt;/p&gt;

&lt;p&gt;It's built to be safe enough to trust with a messy folder:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Dry run by default.&lt;/strong&gt; Nothing moves until you pass &lt;code&gt;--apply&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;One-command undo.&lt;/strong&gt; Every run is logged, so &lt;code&gt;--undo&lt;/code&gt; puts everything back.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sloth mode.&lt;/strong&gt; &lt;code&gt;--watch&lt;/code&gt; checks the folder every few minutes and otherwise does nothing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Graceful fallback.&lt;/strong&gt; If the model isn't running, it falls back to simple extension rules instead of crashing.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It's one Python file with zero dependencies. No &lt;code&gt;pip install&lt;/code&gt;, no web app, no accounts.&lt;/p&gt;

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


&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
    &lt;div class="c-embed__content"&gt;
      &lt;div class="c-embed__body flex items-center justify-between"&gt;
        &lt;a href="https://res.cloudinary.com/depvcf8fx/video/upload/nd72l9av0ltbbc9mhtyz.mp4" rel="noopener noreferrer" class="c-link fw-bold flex items-center"&gt;
          &lt;span class="mr-2"&gt;res.cloudinary.com&lt;/span&gt;
          

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


&lt;p&gt;Here's what a run looks like:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;SlothSort looking at /home/me/Downloads [model: llama3.2:3b]
  IMG_2231.jpg          -&amp;gt;  Images/IMG_2231.jpg
  notes_final_v2.txt    -&amp;gt;  Documents/meeting-notes-q3-planning.txt
  setup.exe             -&amp;gt;  Installers/setup.exe
  taxes.pdf             -&amp;gt;  Archive/2024/Documents/taxes.pdf

Dry run: 4 file(s) would move. Add --apply to do it.
&lt;/code&gt;&lt;/pre&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/jesroffrouk" rel="noopener noreferrer"&gt;
        jesroffrouk
      &lt;/a&gt; / &lt;a href="https://github.com/jesroffrouk/slothsort" rel="noopener noreferrer"&gt;
        slothsort
      &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;SlothSort&lt;/h1&gt;
&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;A lazy, fully local file tidier powered by an open-weight model.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Your Downloads folder is a mess. You know it, and you keep putting it off. SlothSort does it for you: a local LLM reads each file's name and a snippet of its contents, decides where it belongs, and (optionally) gives it a clean name. Old files get archived by year.&lt;/p&gt;

&lt;p&gt;Everything runs on your machine. No cloud, no API keys, no internet required. It's a single Python file that uses only the standard library, so there is nothing to &lt;code&gt;pip install&lt;/code&gt;.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Built for the DEV Hacktoberfest Week 3 challenge: &lt;em&gt;Slow and Steady&lt;/em&gt;.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Features&lt;/h2&gt;
&lt;/div&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Local AI sorting:&lt;/strong&gt; uses any open-weight model served by &lt;a href="https://ollama.com" rel="nofollow noopener noreferrer"&gt;Ollama&lt;/a&gt; (default: &lt;code&gt;llama3.2:3b&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dry run by default:&lt;/strong&gt; nothing moves until you pass &lt;code&gt;--apply&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;One-command undo:&lt;/strong&gt; every run is logged, so &lt;code&gt;--undo&lt;/code&gt; puts files back.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Smart renaming:&lt;/strong&gt; &lt;code&gt;--rename&lt;/code&gt; lets the model suggest clean…&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/jesroffrouk/slothsort" 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;Open pieces:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://ollama.com" rel="noopener noreferrer"&gt;Ollama&lt;/a&gt;&lt;/strong&gt; for local inference, serving an open-weight model on &lt;code&gt;localhost&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Llama 3.2 3B&lt;/strong&gt; as the default model. It's small enough to run on a laptop, and &lt;code&gt;--model&lt;/code&gt; swaps in any other open-weight model (Gemma, Qwen, Mistral) without code changes.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;How it's wired together:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;SlothSort scans the target folder (non-recursive) and skips hidden files, half-downloaded files (&lt;code&gt;.crdownload&lt;/code&gt;, &lt;code&gt;.part&lt;/code&gt;), and anything modified in the last two minutes.&lt;/li&gt;
&lt;li&gt;For each file, it sends the model the filename, an extension hint, and the first ~600 characters of text-like files.&lt;/li&gt;
&lt;li&gt;The model replies with JSON, &lt;code&gt;{"category": "...", "new_name": "..."}&lt;/code&gt;, using Ollama's JSON mode at temperature 0 so results are consistent.&lt;/li&gt;
&lt;li&gt;If the model returns an invalid category or errors on a file, that file falls back to a simple extension rule. A flaky model never breaks the run.&lt;/li&gt;
&lt;li&gt;Files move (or are just listed in a dry run), name collisions get a numeric suffix so nothing is overwritten, and a log is saved so &lt;code&gt;--undo&lt;/code&gt; works.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;It talks to Ollama over its plain HTTP API using only Python's standard library, so the whole tool stays one file you can read in five minutes.&lt;/p&gt;

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

&lt;p&gt;Downloads folders are full of invoices, ID scans, tax documents, and private notes. A closed API would mean uploading all of that to someone else's servers just to decide which folder it goes in. That's a bad trade for a chore this small.&lt;/p&gt;

&lt;p&gt;Running an open-weight model locally changed what was possible:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Privacy:&lt;/strong&gt; your files never leave your machine. There is no "trust us" step.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Offline:&lt;/strong&gt; it works on a plane, on bad Wi-Fi, or with no internet at all.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No bill:&lt;/strong&gt; a tidier that checks every few minutes would rack up API calls forever. Locally, after the one-time download, it costs only electricity.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No lock-in:&lt;/strong&gt; the model is one flag. If a better open model comes out, you switch with &lt;code&gt;--model&lt;/code&gt;. Nobody can deprecate it, reprice it, or change its behavior under you.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hybrid by design:&lt;/strong&gt; the open model adds the smarts, but the tool still works without it. That kind of fallback is hard to build when your core logic lives behind someone else's API.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
    </item>
    <item>
      <title>Local Receipt Extractor</title>
      <dc:creator>jesroff rouk</dc:creator>
      <pubDate>Sun, 18 Oct 2026 16:13:39 +0000</pubDate>
      <link>https://dev.to/jesroff_rouk_c8dec56cb964/local-receipt-extractor-33bj</link>
      <guid>https://dev.to/jesroff_rouk_c8dec56cb964/local-receipt-extractor-33bj</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;A small command-line tool that reads receipt and invoice images and returns clean, structured data: vendor, date, total, currency, and expense category.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Who would pay for it:&lt;/strong&gt; freelancers and small-business owners who spend every quarter digging through photos and screenshots of receipts before tax season. A bookkeeper handling several clients' receipts could use it too.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The problem it solves:&lt;/strong&gt; manual data entry is slow and tedious, and receipts contain client names and payment details that people don't want to upload to a cloud service. This tool turns a folder of messy images into structured data, and everything stays on the user's machine.&lt;/p&gt;

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


&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
    &lt;div class="c-embed__content"&gt;
      &lt;div class="c-embed__body flex items-center justify-between"&gt;
        &lt;a href="https://res.cloudinary.com/depvcf8fx/video/upload/nd72l9av0ltbbc9mhtyz.mp4" rel="noopener noreferrer" class="c-link fw-bold flex items-center"&gt;
          &lt;span class="mr-2"&gt;res.cloudinary.com&lt;/span&gt;
          

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


&lt;p&gt;Example output:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nl"&gt;"file"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"receipt_01.jpg"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"vendor"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"Starbucks"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"date"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"2024-03-12"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"total"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mf"&gt;8.45&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"currency"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"USD"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nl"&gt;"category"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"meals"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&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/jesroffrouk" rel="noopener noreferrer"&gt;
        jesroffrouk
      &lt;/a&gt; / &lt;a href="https://github.com/jesroffrouk/receiptext" rel="noopener noreferrer"&gt;
        receiptext
      &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;Local Receipt Extractor&lt;/h1&gt;
&lt;/div&gt;

&lt;p&gt;A tiny script that reads receipt images with an open-weight vision model running &lt;strong&gt;locally via Ollama&lt;/strong&gt; and returns structured data: vendor, date, total, currency, and expense category.&lt;/p&gt;

&lt;p&gt;No cloud API, no per-page fees, and receipts never leave your machine.&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Setup&lt;/h2&gt;
&lt;/div&gt;

&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;&lt;span class="pl-c"&gt;&lt;span class="pl-c"&gt;#&lt;/span&gt; 1. Install Ollama: https://ollama.com&lt;/span&gt;
ollama pull qwen2.5vl:7b

&lt;span class="pl-c"&gt;&lt;span class="pl-c"&gt;#&lt;/span&gt; 2. Install dependencies&lt;/span&gt;
pip install ollama pydantic&lt;/pre&gt;

&lt;/div&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Usage&lt;/h2&gt;

&lt;/div&gt;

&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;python receipt_extract.py receipt.jpg
python receipt_extract.py ./receipts --csv results.csv
python receipt_extract.py ./receipts --model gemma3:4b&lt;/pre&gt;

&lt;/div&gt;
&lt;p&gt;Example output (one JSON line per receipt):&lt;/p&gt;
&lt;div class="highlight highlight-source-json notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;{&lt;span class="pl-ent"&gt;"file"&lt;/span&gt;: &lt;span class="pl-s"&gt;&lt;span class="pl-pds"&gt;"&lt;/span&gt;receipt.jpg&lt;span class="pl-pds"&gt;"&lt;/span&gt;&lt;/span&gt;, &lt;span class="pl-ent"&gt;"vendor"&lt;/span&gt;: &lt;span class="pl-s"&gt;&lt;span class="pl-pds"&gt;"&lt;/span&gt;Starbucks&lt;span class="pl-pds"&gt;"&lt;/span&gt;&lt;/span&gt;, &lt;span class="pl-ent"&gt;"date"&lt;/span&gt;: &lt;span class="pl-s"&gt;&lt;span class="pl-pds"&gt;"&lt;/span&gt;2024-03-12&lt;span class="pl-pds"&gt;"&lt;/span&gt;&lt;/span&gt;, &lt;span class="pl-ent"&gt;"total"&lt;/span&gt;: &lt;span class="pl-c1"&gt;8.45&lt;/span&gt;, &lt;span class="pl-ent"&gt;"currency"&lt;/span&gt;: &lt;span class="pl-s"&gt;&lt;span class="pl-pds"&gt;"&lt;/span&gt;USD&lt;span class="pl-pds"&gt;"&lt;/span&gt;&lt;/span&gt;, &lt;span class="pl-ent"&gt;"category"&lt;/span&gt;: &lt;span class="pl-s"&gt;&lt;span class="pl-pds"&gt;"&lt;/span&gt;meals&lt;span class="pl-pds"&gt;"&lt;/span&gt;&lt;/span&gt;}&lt;/pre&gt;

&lt;/div&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Why open models?&lt;/h2&gt;

&lt;/div&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Privacy:&lt;/strong&gt; receipts contain client names and payment details; nothing is uploaded.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cost:&lt;/strong&gt; free to run, no per-receipt charges.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Offline:&lt;/strong&gt; works with no internet after the model is downloaded.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Swappable:&lt;/strong&gt; change the model…&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/jesroffrouk/receiptext" 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;ul&gt;
&lt;li&gt;
&lt;strong&gt;Ollama&lt;/strong&gt; runs the model locally.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Qwen2.5-VL (7B)&lt;/strong&gt;, an open-weight vision model, reads the receipt image directly, with no separate OCR step.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Pydantic&lt;/strong&gt; defines the output schema, and Ollama's structured output forces the model to return valid JSON that matches it, so there's no fragile text parsing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Python&lt;/strong&gt;, in a single script of about 80 lines.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Usage is one line:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;python receipt_extract.py ./receipts &lt;span class="nt"&gt;--csv&lt;/span&gt; results.csv
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The model is a command-line flag (&lt;code&gt;--model gemma3:4b&lt;/code&gt;), so swapping models needs no code changes.&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Privacy:&lt;/strong&gt; receipts contain client names, addresses, and payment details. With a local open-weight model, none of that is uploaded to a server I don't control. A closed API couldn't offer that.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cost:&lt;/strong&gt; there are no per-page fees. Running 1,000 receipts costs the same as running 1.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Offline:&lt;/strong&gt; after the one-time model download, it works with no internet.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Swappable:&lt;/strong&gt; I can try a different model with one flag, or fine-tune on a specific receipt format later.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Where it fell short:&lt;/strong&gt; small local models can misread blurry or unusual receipts. A larger closed model would probably do better on those. For a tool that handles sensitive financial documents, I think the privacy and zero-cost trade is worth it, as long as the output is spot-checked before it goes to an accountant.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
    </item>
    <item>
      <title>Trailbook: Take the photos outside, get the story back home</title>
      <dc:creator>jesroff rouk</dc:creator>
      <pubDate>Sun, 11 Oct 2026 18:50:44 +0000</pubDate>
      <link>https://dev.to/jesroff_rouk_c8dec56cb964/trailbook-it-writes-the-story-of-your-walk-57im</link>
      <guid>https://dev.to/jesroff_rouk_c8dec56cb964/trailbook-it-writes-the-story-of-your-walk-57im</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week1-2026-10-05"&gt;Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

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

&lt;p&gt;Trailbook turns the photos you take on a walk into a journal of the walk. You go outside and take photos with your phone's location turned on. When you're back, you drop the photos into Trailbook and it builds an interactive map , a round photo button at every place you stopped, a dashed path showing the route you took, and a card for each stop with a title, a short quote and the place name. It also writes a short sweet story of the whole journey.&lt;/p&gt;

&lt;p&gt;It's for anyone who takes photos on walks, hikes and trips and wants a keepsake without spending an evening arranging an album, or uploading their location history to a cloud service to get one.&lt;/p&gt;

&lt;p&gt;The "touch grass" part is built into the idea. Trailbook does nothing while you're out. It has no live tracking, no feed and nothing to check. The only way to get a journal is to go somewhere and take the photos, and the journal is what you get when you come back.&lt;/p&gt;

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


&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
    &lt;div class="c-embed__content"&gt;
      &lt;div class="c-embed__body flex items-center justify-between"&gt;
        &lt;a href="https://res.cloudinary.com/depvcf8fx/video/upload/nd72l9av0ltbbc9mhtyz.mp4" rel="noopener noreferrer" class="c-link fw-bold flex items-center"&gt;
          &lt;span class="mr-2"&gt;res.cloudinary.com&lt;/span&gt;
          

        &lt;/a&gt;
      &lt;/div&gt;
    &lt;/div&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/jesroffrouk" rel="noopener noreferrer"&gt;
        jesroffrouk
      &lt;/a&gt; / &lt;a href="https://github.com/jesroffrouk/Trailbook" rel="noopener noreferrer"&gt;
        Trailbook
      &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;Trailbook&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;Go outside, take photos, come back to a map of your walk.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;trailbook turns a set of geotagged photos into an interactive journey: a map with your photos
pinned where you took them, a dashed path showing the route, and a title, quote and short
story written for every stop by an open-weight model running &lt;strong&gt;on your own machine&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Built for the Hacktoberfest Open-Source AI Challenge, Week 1: &lt;em&gt;Touch Grass&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;The app only has value if you leave the screen and take photos. It does nothing during the trip, and the
journal is what you get when you come back.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Open pieces this project runs on&lt;/h2&gt;
&lt;/div&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;Role&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;a href="https://ollama.com" rel="nofollow noopener noreferrer"&gt;Ollama&lt;/a&gt; + an open-weight vision-language model&lt;/td&gt;
&lt;td&gt;Looks at each photo and writes its title, quote and location name, then the story of the whole journey&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;a href="https://www.openstreetmap.org" rel="nofollow noopener noreferrer"&gt;OpenStreetMap&lt;/a&gt; tiles and &lt;a href="https://nominatim.org" rel="nofollow noopener noreferrer"&gt;Nominatim&lt;/a&gt;
&lt;/td&gt;
&lt;td&gt;Map background and address lookup&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://leafletjs.com" rel="nofollow noopener noreferrer"&gt;Leaflet&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Interactive map&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;a href="https://fastapi.tiangolo.com" rel="nofollow noopener noreferrer"&gt;FastAPI&lt;/a&gt;, &lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&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/jesroffrouk/Trailbook" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


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

&lt;p&gt;The pipeline runs in these steps:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Read the photos.&lt;/strong&gt; Pillow reads the GPS position and time from each photo's EXIF data.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Find the address.&lt;/strong&gt; OpenStreetMap's Nominatim turns each coordinate into a real address. I do this step outside the model on purpose, so the model can't invent a place.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Describe each photo with a local model.&lt;/strong&gt; I run gemma3:4b through Ollama. For each photo it gets the image, the address, the time and the titles of the earlier stops, and it fills in a location name, a short title and a one-line quote. Each quote fits the photo and the journey so far.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Write the story.&lt;/strong&gt; A second call to the same model writes the story of the whole journey from those stop details. It's told to use only the facts it was given.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Return one JSON file.&lt;/strong&gt; The result has the stops, a GeoJSON route and the story, so any frontend can use it however it wants&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The backend is FastAPI. It saves the uploaded photos to a temporary folder, runs the pipeline, deletes the folder and returns the result as a downloadable &lt;code&gt;journal.json&lt;/code&gt;. Nothing is stored on the server. The model and all settings are fixed on the server, so the frontend can only send photos.&lt;/p&gt;

&lt;p&gt;The frontend is React with Vite. The map uses Leaflet with OpenStreetMap tiles, cropped to fit your stops, with photo pins and an animated dashed route. You can also open a saved &lt;code&gt;journal.json&lt;/code&gt; later and see the map again without running the model.&lt;/p&gt;

&lt;p&gt;Small models sometimes return messy JSON, so every model call has fallbacks. If a call fails, the page still works, using the address as the place name.&lt;/p&gt;

&lt;p&gt;At first glance open source AI might seem a small part of it but It's the core of the project because without it we just some facts with images , description is what makes it live. &lt;/p&gt;

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

&lt;p&gt;A trip's photos with their locations are a detailed record of where you've been and when. For a journal app, sending all of that to a closed API would mean handing over your photos and your movements to get a few sentences back.&lt;/p&gt;

&lt;p&gt;These kind of thing can be done by providing images to closed-API but That creates the issue of sharing location, image information with Organization which might misuse user's data.&lt;/p&gt;

&lt;p&gt;Because the model is open-weight and runs locally through Ollama, the photos, the descriptions and the story stay on my machine. Only the coordinates go out, to OpenStreetMap's address lookup, and that can be switched off with one setting. The rest of the stack is open too: OpenStreetMap, Nominatim, Leaflet and FastAPI.&lt;/p&gt;

&lt;p&gt;It also means the model is a choice, not a dependency. Switching to a different or larger vision model is a one-line change, so people can pick whatever their own computer can run.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;There are few improvements that I could have done like share option to download and share the preview of your journey or adding an option to share this interactive feature directly with others.&lt;/p&gt;

&lt;p&gt;I kept it as sample as I can and the problem was pretty personal because I have felt this issue that , Sometimes I go out but couldn't able to record and visualize my journey the way I want.&lt;/p&gt;

&lt;p&gt;I loved designing the system and building this project using AI. As developers are being advised to "touch the grass". This project do exactly that considering that It doesn't interrupt in the process. &lt;br&gt;
personally I tested it by myself, sad is that I only moved around 0.33km but Experiment turn out to be a success and indeed I touched some grass.&lt;/p&gt;

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