<?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: Richard Lemon</title>
    <description>The latest articles on DEV Community by Richard Lemon (@richardlemon).</description>
    <link>https://dev.to/richardlemon</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%2F3798270%2F7fc64f22-b7f0-471f-9ac1-e15050494121.jpeg</url>
      <title>DEV Community: Richard Lemon</title>
      <link>https://dev.to/richardlemon</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/richardlemon"/>
    <language>en</language>
    <item>
      <title>Running an MCP server behind a secret URL</title>
      <dc:creator>Richard Lemon</dc:creator>
      <pubDate>Wed, 11 Nov 2026 05:04:00 +0000</pubDate>
      <link>https://dev.to/richardlemon/running-an-mcp-server-behind-a-secret-url-4o9c</link>
      <guid>https://dev.to/richardlemon/running-an-mcp-server-behind-a-secret-url-4o9c</guid>
      <description>&lt;h2&gt;The setup in one sentence&lt;/h2&gt;

&lt;p&gt;This pattern runs a stdio MCP server on a small VPS and makes it reachable from Claude via an MCP gateway, without exposing the raw stdio server to the internet or wiring up OAuth.&lt;/p&gt;

&lt;p&gt;The structure looks like:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;stdio MCP server behind a supergateway, speaking HTTP on &lt;code&gt;localhost&lt;/code&gt;
&lt;/li&gt;
  &lt;li&gt;
&lt;code&gt;nginx&lt;/code&gt; in front as a reverse proxy&lt;/li&gt;
  &lt;li&gt;firewall port closed in &lt;code&gt;ufw&lt;/code&gt;, only &lt;code&gt;nginx&lt;/code&gt; exposed&lt;/li&gt;
  &lt;li&gt;a &lt;code&gt;systemd&lt;/code&gt; service running under its own user&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The unusual part is that the only practical authentication ends up being a long, unguessable URL path.&lt;/p&gt;

&lt;h2&gt;Why the URL is the only auth&lt;/h2&gt;

&lt;p&gt;The Claude connectors for MCP give you two options for talking to a remote HTTP endpoint:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Plain URL&lt;/li&gt;
  &lt;li&gt;OAuth&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;There is no option to attach arbitrary headers. No API key header, no HMAC, nothing you can control at the HTTP level apart from the URL itself.&lt;/p&gt;

&lt;p&gt;That constraint rules out the usual pattern of putting a shared secret in a header and validating it at the gateway or proxy. If you want header-based auth, you have to put something in front of the MCP endpoint that can enforce it before traffic ever reaches the connector-facing URL.&lt;/p&gt;

&lt;p&gt;For a small, private tool, OAuth is often heavier than the rest of the stack combined. If you do not want to run an OAuth provider or wire into an existing one, the remaining option inside the connector model is to treat the URL path as a secret:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;No public, guessable path like &lt;code&gt;/mcp&lt;/code&gt;
&lt;/li&gt;
  &lt;li&gt;A long, random-looking path that you never paste in public logs or screenshots&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In that setup the URL path behaves like a shared secret. If someone has it, they can reach the server. If they do not, they have no obvious handle to brute-force, as long as the path has enough entropy.&lt;/p&gt;

&lt;p&gt;This is not ideal security. It is security-by-entropy, with the usual caveats. Given the connector constraints, the trade-off is between:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Using a secret URL path and tightening everything around it, or&lt;/li&gt;
  &lt;li&gt;Implementing and maintaining OAuth for a tiny personal service&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;What tends to break first: process spawning and memory&lt;/h2&gt;

&lt;p&gt;The stdio MCP server runs as a process. The gateway talks to it over stdio. HTTP, &lt;code&gt;nginx&lt;/code&gt;, and the MCP gateway all think in slightly different units: requests, connections, and sessions.&lt;/p&gt;

&lt;p&gt;Many gateway setups lean toward a model of “one process per session.” Each new MCP session from Claude can spin up a fresh process for the tool server. On a small droplet with limited RAM, that is not just a theoretical concern. Multiple active sessions mean multiple processes and real memory pressure.&lt;/p&gt;

&lt;p&gt;The mental model that helps here:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Each connected MCP tool session is a process with non-trivial memory use.&lt;/li&gt;
  &lt;li&gt;Parallel chats, models, or experiments can stack up processes.&lt;/li&gt;
  &lt;li&gt;On a small machine, enough concurrent sessions can push the kernel into killing processes under memory pressure.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Running the MCP server under its own user as a &lt;code&gt;systemd&lt;/code&gt; service limits the blast radius, but does not remove the underlying constraint. If you adopt this pattern, plan for:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Session limits or caps on concurrent processes&lt;/li&gt;
  &lt;li&gt;Monitoring for memory usage&lt;/li&gt;
  &lt;li&gt;Occasional restarts or cleanup when sessions accumulate&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;What tends to break second: logs as a side-channel&lt;/h2&gt;

&lt;p&gt;When the URL path is the only secret, every place that path appears becomes a potential leak. &lt;code&gt;nginx&lt;/code&gt; access logs are a common example.&lt;/p&gt;

&lt;p&gt;By default, every request to the secret path lands in &lt;code&gt;access_log&lt;/code&gt;. That means:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Anyone with log access sees the exact secret path&lt;/li&gt;
  &lt;li&gt;Backups or log shipping can carry the secret into other systems&lt;/li&gt;
  &lt;li&gt;Dashboards and log viewers become additional exposure surfaces&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A simple mitigation is to turn off access logging for the specific &lt;code&gt;location&lt;/code&gt; that fronts the MCP gateway:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;location /very-long-secret-path/ {
    access_log off;
    proxy_pass http://127.0.0.1:PORT;
    # other proxy settings
}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Error logs can stay on, because they are useful when something is broken, but the normal request flow should leave as little trace as possible if the URL is acting as your auth.&lt;/p&gt;

&lt;h2&gt;Other small guardrails&lt;/h2&gt;

&lt;p&gt;Because the URL path is doing more work than it should, everything around it benefits from being tighter:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
&lt;strong&gt;Firewall&lt;/strong&gt;: the MCP server itself is not reachable directly. The port is closed in &lt;code&gt;ufw&lt;/code&gt;. Only &lt;code&gt;nginx&lt;/code&gt; listens on the public port.&lt;/li&gt;
  &lt;li&gt;
&lt;strong&gt;Separate user&lt;/strong&gt;: the &lt;code&gt;systemd&lt;/code&gt; service runs under its own user, with only the permissions it actually needs.&lt;/li&gt;
  &lt;li&gt;
&lt;strong&gt;Local-only gateway&lt;/strong&gt;: the supergateway speaks HTTP on &lt;code&gt;localhost&lt;/code&gt; only, so there is no second public port to manage.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;None of this turns the setup into a high-assurance security boundary, but it does reduce the impact of mistakes in any single layer.&lt;/p&gt;

&lt;h2&gt;When this setup makes sense&lt;/h2&gt;

&lt;p&gt;This structure is only a good fit in a narrow set of cases:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;A single user, or a very small, trusted group&lt;/li&gt;
  &lt;li&gt;Low-risk data and actions behind the MCP server&lt;/li&gt;
  &lt;li&gt;Comfort with treating the URL path as a secret and rotating it if it leaks&lt;/li&gt;
  &lt;li&gt;Willingness to watch memory and occasionally restart services or prune sessions&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In that scenario, the trade-off is straightforward: a private remote MCP tool without building a full auth system or running extra infrastructure, in exchange for accepting that the URL is doing more security work than it should.&lt;/p&gt;

&lt;h2&gt;When you should not do this&lt;/h2&gt;

&lt;p&gt;There are also clear cases where this pattern is the wrong choice:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Anything where “a long URL” is obviously not an acceptable protection level&lt;/li&gt;
  &lt;li&gt;Multiple users or teams depending on the tool for real work&lt;/li&gt;
  &lt;li&gt;Environments where you cannot control where the URL ends up: tickets, screenshots, logs, chat, documentation&lt;/li&gt;
  &lt;li&gt;Requirements for proper audit trails, revocation, and policy, not just “change the path and tell everyone”&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In those situations, invest in real authentication. Use OAuth, or put the MCP gateway behind something that can enforce headers, tokens, or mutual TLS before traffic ever reaches it.&lt;/p&gt;

&lt;p&gt;A small droplet with a secret path can be acceptable for a personal tool you are willing to babysit. Once it grows beyond that, the shortcuts stop being shortcuts.&lt;/p&gt;

</description>
      <category>architecture</category>
      <category>devops</category>
      <category>linux</category>
      <category>mcp</category>
    </item>
    <item>
      <title>Upgrading three Tailwind projects to v4 in one sprint</title>
      <dc:creator>Richard Lemon</dc:creator>
      <pubDate>Tue, 10 Nov 2026 06:01:00 +0000</pubDate>
      <link>https://dev.to/richardlemon/upgrading-three-tailwind-projects-to-v4-in-one-sprint-5gfa</link>
      <guid>https://dev.to/richardlemon/upgrading-three-tailwind-projects-to-v4-in-one-sprint-5gfa</guid>
      <description>&lt;h2&gt;Why I upgraded three sites in the same week&lt;/h2&gt;

&lt;p&gt;I had three client projects on Tailwind 3.x that all needed new features in the same sprint. Tailwind v4 was out, the new engine looked fast enough to justify the risk, and I did not want to maintain two different utility dialects for long.&lt;/p&gt;

&lt;p&gt;So I blocked a week and upgraded all three in one go. This is what actually mattered: the utilities that kept working, the custom pieces that did not, and the order that made it survivable.&lt;/p&gt;

&lt;h2&gt;The order: simple static, then shared design system, then the weird one&lt;/h2&gt;

&lt;p&gt;The main decision was to pick an order that let me learn on a safer codebase and reuse that knowledge on the more fragile ones.&lt;/p&gt;

&lt;h3&gt;1. The simple marketing site&lt;/h3&gt;

&lt;p&gt;First was a small marketing site: no complex build pipeline, no design tokens, just Tailwind plus a few components.&lt;/p&gt;

&lt;p&gt;The goal here was not perfection. The goal was to get a green build, scan the UI, and see what Tailwind v4 does to a real project without a lot of custom layers in the way.&lt;/p&gt;

&lt;h3&gt;2. The shared design system&lt;/h3&gt;

&lt;p&gt;Second was a shared design system that feeds multiple apps. It had more custom config, more abstractions, and more places where Tailwind had been bent to fit a design token setup.&lt;/p&gt;

&lt;p&gt;Doing this second meant I already knew which defaults survived and which config knobs were now ignored, so I could focus on the design system layer instead of debugging basic utilities.&lt;/p&gt;

&lt;h3&gt;3. The Gate Seal site with the gradient border plugin&lt;/h3&gt;

&lt;p&gt;Last was the Gate Seal site, which had the most custom Tailwind plugins. One of them was a gradient border plugin that stopped working under v4. I only touched it after I had a cleaner mental model from the first two upgrades.&lt;/p&gt;

&lt;p&gt;This site is also where the schedule slipped. The gradient border plugin work took longer than planned.&lt;/p&gt;

&lt;h2&gt;What I checked before touching the config&lt;/h2&gt;

&lt;p&gt;Before changing any config, I did three quick passes on each project.&lt;/p&gt;

&lt;h3&gt;1. How much custom Tailwind is there, really?&lt;/h3&gt;

&lt;p&gt;I scanned for anything that smelled like Tailwind glue code:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Custom plugins in &lt;code&gt;tailwind.config.js&lt;/code&gt; or separate plugin files&lt;/li&gt;
  &lt;li&gt;Heavy use of &lt;code&gt;@apply&lt;/code&gt; in CSS files&lt;/li&gt;
  &lt;li&gt;Design tokens wired into Tailwind &lt;code&gt;theme&lt;/code&gt; sections&lt;/li&gt;
  &lt;li&gt;Anything that depended on the old JIT behavior or file scanning&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The more of these I saw, the later that project went in the order.&lt;/p&gt;

&lt;h3&gt;2. Where Tailwind classes live&lt;/h3&gt;

&lt;p&gt;Tailwind v4 changes how you tell it where to look for classes. So I made a list per project:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Framework templates&lt;/li&gt;
  &lt;li&gt;Inline HTML in CMS fields&lt;/li&gt;
  &lt;li&gt;Markdown content rendered with class names&lt;/li&gt;
  &lt;li&gt;Any odd places like JSON configs or data attributes&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This list was useful later, when checking for missing styles. If a page suddenly looked naked, I could quickly see if its templates were still in Tailwind's world.&lt;/p&gt;

&lt;h3&gt;3. Which utilities are actually used&lt;/h3&gt;

&lt;p&gt;I did not generate a full usage report, but I did search for a few classes that often change behavior across versions: typography, spacing scales, and color utilities.&lt;/p&gt;

&lt;p&gt;If a project leaned heavily on a certain pattern, I checked that pattern early after the upgrade instead of waiting for QA to stumble on it.&lt;/p&gt;

&lt;h2&gt;What I deleted from the config&lt;/h2&gt;

&lt;p&gt;On each project, the Tailwind config had grown slowly over time. The upgrade was a good excuse to throw things out, roughly in this order.&lt;/p&gt;

&lt;h3&gt;1. Old purge / content settings&lt;/h3&gt;

&lt;p&gt;Anything related to the old purge/content scanning setup went away. The new engine handles this differently, and keeping the old keys around only adds confusion.&lt;/p&gt;

&lt;p&gt;I replaced it with the minimal v4-style configuration for where the classes live, then adjusted as needed when I saw missing styles.&lt;/p&gt;

&lt;h3&gt;2. Redundant theme extensions&lt;/h3&gt;

&lt;p&gt;A lot of theme extensions had been added for one-off needs in the past: colors that were almost never used, spacing values that duplicated existing ones, or font sizes that had fallen out of the design system.&lt;/p&gt;

&lt;p&gt;During the upgrade I removed anything that:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Was not referenced in templates&lt;/li&gt;
  &lt;li&gt;Duplicated a core Tailwind token&lt;/li&gt;
  &lt;li&gt;Was only used in a single place that could be refactored to a core utility&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This made the config smaller and reduced the surface area for v4 differences to bite later.&lt;/p&gt;

&lt;h3&gt;3. Clever variants that nobody used&lt;/h3&gt;

&lt;p&gt;Some configs had custom variants that sounded clever when they were added but never made it into real components. Those went away. Tailwind v4 has its own ideas about variants, and dragging unused ones forward is not worth the mental overhead.&lt;/p&gt;

&lt;h2&gt;The utilities that quietly survived&lt;/h2&gt;

&lt;p&gt;Most of the core Tailwind utilities behaved as expected after the upgrade. Layouts did not explode.&lt;/p&gt;

&lt;p&gt;In practice, these stayed boring in a good way across all three sites:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Flex and grid utilities for layout&lt;/li&gt;
  &lt;li&gt;Spacing (margin/padding) on the default scale&lt;/li&gt;
  &lt;li&gt;Typography basics: font sizes, weights, line heights&lt;/li&gt;
  &lt;li&gt;Border radius, shadows, and background colors that used the standard palette&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Most of the visual noise after the upgrade came from the edges: custom design tokens, custom plugins, and anything that tried to be too clever with Tailwind internals.&lt;/p&gt;

&lt;h2&gt;The gradient border plugin that broke&lt;/h2&gt;

&lt;p&gt;The Gate Seal site had a custom gradient border plugin. Under Tailwind v3 it generated utilities that faked gradient borders with background images, padding tricks, or pseudo-elements.&lt;/p&gt;

&lt;p&gt;Under Tailwind v4, that plugin stopped working. The new engine no longer played nicely with how the plugin registered utilities and consumed theme values. The symptoms were simple: the components that relied on those classes lost their gradient borders entirely.&lt;/p&gt;

&lt;p&gt;I had budgeted a few hours for plugin fixes. It took longer than that to:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Understand how the plugin interacted with the old Tailwind API&lt;/li&gt;
  &lt;li&gt;Decide whether to patch it, rewrite it, or replace it with a simpler approach&lt;/li&gt;
  &lt;li&gt;Update the components to match whatever new API I ended up with&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The main lesson was not about gradients. It was about custom plugins in general: if a plugin reaches into Tailwind internals or relies on undocumented behavior, treat it as a small piece of framework code, not a harmless utility file.&lt;/p&gt;

&lt;h2&gt;How I approached custom plugins under v4&lt;/h2&gt;

&lt;p&gt;Across the three projects, anything that went beyond simple &lt;code&gt;addUtilities&lt;/code&gt; or &lt;code&gt;addComponents&lt;/code&gt; got extra scrutiny.&lt;/p&gt;

&lt;p&gt;The rough rule I used:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;If a plugin only registers a few static classes, try to replace it with plain CSS or a handful of custom utilities in the config.&lt;/li&gt;
  &lt;li&gt;If it generates a lot of variants or uses theme lookups heavily, expect to touch it during the upgrade and test every component that depends on it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;On the Gate Seal site, the gradient border plugin fell into the second category. It was wired into the design system and used theme tokens for colors and radii. Under v4, that complexity became a liability.&lt;/p&gt;

&lt;h2&gt;The practical sequence that worked&lt;/h2&gt;

&lt;p&gt;If you are staring at multiple Tailwind 3.x projects and one sprint on the calendar, the sequence that worked for me looked like this:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;Pick the simplest site first. Upgrade it with minimal config, get a feel for v4, and accept some rough edges.&lt;/li&gt;
  &lt;li&gt;On that first site, delete old purge/content settings and unused theme extensions. Keep the config as small as possible.&lt;/li&gt;
  &lt;li&gt;Make a quick inventory of where Tailwind classes live across all projects. Update v4's input paths early.&lt;/li&gt;
  &lt;li&gt;Upgrade the project that acts as a design system second. Focus on keeping tokens and core utilities stable.&lt;/li&gt;
  &lt;li&gt;Leave the most plugin-heavy project for last. Budget extra time for each plugin that does more than add a few classes.&lt;/li&gt;
  &lt;li&gt;When something breaks, decide if it should be patched or simplified. The gradient border plugin was a reminder that sometimes the right fix is to reduce cleverness.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This is not a Tailwind v4 changelog. It is just what actually changed in real projects: most utilities survived quietly, old config could be trimmed aggressively, and the custom plugins were where the real work lived.&lt;/p&gt;

</description>
      <category>css</category>
      <category>frontend</category>
      <category>softwaredevelopment</category>
      <category>tailwindcss</category>
    </item>
    <item>
      <title>The grid decision that rewrote my lightbox logic</title>
      <dc:creator>Richard Lemon</dc:creator>
      <pubDate>Mon, 09 Nov 2026 15:00:00 +0000</pubDate>
      <link>https://dev.to/richardlemon/the-grid-decision-that-rewrote-my-lightbox-logic-50l4</link>
      <guid>https://dev.to/richardlemon/the-grid-decision-that-rewrote-my-lightbox-logic-50l4</guid>
      <description>&lt;h2&gt;The moment the grid stopped being “just layout”&lt;/h2&gt;

&lt;p&gt;The /themes page for Aftertype started as a simple responsive gallery. A few cards, some screenshots, a lightbox on click.&lt;/p&gt;

&lt;p&gt;Then I tried to make it more flexible. Different aspect ratios. Mixed font previews. Variable image crops. A lightbox that behaved slightly differently per theme. It technically worked, but it felt like a prototype that never ended.&lt;/p&gt;

&lt;p&gt;The turning point was a very boring decision: lock the grid to consistent aspect ratios for both fonts and images, across all breakpoints. No more “this card is special.” Once that was in place, a lot of other logic had to be rewritten, especially the lightbox. It also made the page better at doing the one thing it needs to do: sell design themes.&lt;/p&gt;

&lt;h2&gt;Aspect ratio as a product decision, not a CSS trick&lt;/h2&gt;

&lt;p&gt;Aspect ratio sounds like a visual detail, but on a product gallery it decides what people can actually compare. If one theme preview is a wide hero and another is a tall stack of UI, you are asking people to mentally normalize them before they can judge anything.&lt;/p&gt;

&lt;p&gt;Locking aspect ratios for both font previews and image previews did three things at once:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
&lt;strong&gt;Every card became visually comparable.&lt;/strong&gt; You can scan down the grid and your eyes are not constantly re-adjusting to new shapes.&lt;/li&gt;
  &lt;li&gt;
&lt;strong&gt;The grid stopped jumping.&lt;/strong&gt; No more rows with one tall card that stretches everything else or leaves awkward gaps.&lt;/li&gt;
  &lt;li&gt;
&lt;strong&gt;The lightbox got simpler.&lt;/strong&gt; The content going into it became predictable, so the logic stopped trying to guess what it was showing.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The trade-off is obvious: you lose some flexibility in how you showcase each theme. Some designs naturally want a tall crop, others want a wide one. But when you are selling a catalog of themes rather than one hero project, consistency is part of the product.&lt;/p&gt;

&lt;h2&gt;How the grid forced the lightbox to grow up&lt;/h2&gt;

&lt;p&gt;Before the grid change, the lightbox logic was a patchwork of special cases. Some previews were mostly typography, some were dense UI screenshots, some wanted zoom, some did not. The lightbox tried to be clever about each one.&lt;/p&gt;

&lt;p&gt;Once the grid was locked into consistent aspect ratios, that cleverness became unnecessary and also a problem. The lightbox had to treat every item as the same type of component:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Same base aspect ratio coming in&lt;/li&gt;
  &lt;li&gt;Same spacing rules around the content&lt;/li&gt;
  &lt;li&gt;Same approach to captions and descriptions&lt;/li&gt;
  &lt;li&gt;Same interaction pattern on both desktop and mobile&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That meant rewriting interaction states instead of tweaking them:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
&lt;strong&gt;Hover vs focus vs tap&lt;/strong&gt;: no more “this theme has a custom hover.” Cards now have one predictable hover and focus pattern, and the lightbox trigger is always the same element.&lt;/li&gt;
  &lt;li&gt;
&lt;strong&gt;Open and close animations&lt;/strong&gt;: standardized timing and easing, instead of per-theme flourishes that made the gallery feel inconsistent.&lt;/li&gt;
  &lt;li&gt;
&lt;strong&gt;Keyboard and touch parity&lt;/strong&gt;: the same structure supports keyboard navigation, pointer devices, and touch, because the lightbox is built around one consistent card model.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This was not an accessibility pass bolted on at the end. It was a side effect of refusing to let each theme preview behave like its own mini-website.&lt;/p&gt;

&lt;h2&gt;Mobile touch targets and the cost of extra options&lt;/h2&gt;

&lt;p&gt;On desktop, you can sometimes get away with tiny hit areas and multiple micro-actions on a single card. On mobile, that turns into missed taps and accidental lightbox openings.&lt;/p&gt;

&lt;p&gt;Once the grid was consistent, it became obvious how crowded some cards had become. Each one wanted:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;A main tap area to open the lightbox&lt;/li&gt;
  &lt;li&gt;A secondary tap to go directly to a theme detail page&lt;/li&gt;
  &lt;li&gt;Some kind of quick info or tag interaction&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;On a small screen, that is three different targets inside a rectangle that already has to respect margins, aspect ratio, and readable text.&lt;/p&gt;

&lt;p&gt;Locking the grid pushed a different kind of simplification: fewer actions per card, but larger and clearer targets. The lightbox became the primary interaction, and everything else had to justify its existence. If an action was not essential to choosing a theme, it probably did not belong on the card.&lt;/p&gt;

&lt;p&gt;This is where consistency beats flexibility in a very literal way. A flexible card that can host five different optional buttons is nice in theory. A consistent card with one obvious tap target is better when someone is scrolling with a thumb.&lt;/p&gt;

&lt;h2&gt;Breakpoints: fewer, more opinionated steps&lt;/h2&gt;

&lt;p&gt;With mixed aspect ratios, breakpoint logic tends to multiply. One layout for wide cards, another for tall ones, special exceptions at specific widths where a certain combination breaks the grid.&lt;/p&gt;

&lt;p&gt;Once every item had a predictable shape, the breakpoint strategy could be reduced to a handful of opinionated steps:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Small screens: a single column where each theme gets the full width and comfortable tap targets.&lt;/li&gt;
  &lt;li&gt;Medium screens: two columns with consistent gutters and line lengths that still work for descriptions.&lt;/li&gt;
  &lt;li&gt;Larger screens: more columns, but the same card proportions, just scaled.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The important part is not the exact numbers, but the idea that the grid does not change its personality at each breakpoint. It just gains or loses columns while keeping the same card proportions and behavior. That stability is what made the lightbox logic straightforward: the trigger is always in the same place, in the same relationship to the rest of the content.&lt;/p&gt;

&lt;h2&gt;The component mindset for product galleries&lt;/h2&gt;

&lt;p&gt;The /themes page stopped behaving like a custom layout and started behaving like a set of components:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;A &lt;strong&gt;theme card&lt;/strong&gt; with a locked aspect ratio, clear hierarchy, and a primary action.&lt;/li&gt;
  &lt;li&gt;A &lt;strong&gt;lightbox&lt;/strong&gt; that always receives the same kind of content in the same structure.&lt;/li&gt;
  &lt;li&gt;A &lt;strong&gt;grid wrapper&lt;/strong&gt; that only cares about columns and gaps, not about individual card quirks.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Once those pieces were treated as components instead of one-off designs, a few things became easier:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Adding a new theme does not require layout tweaks.&lt;/li&gt;
  &lt;li&gt;Changing typography or spacing is a small, centralized decision.&lt;/li&gt;
  &lt;li&gt;Accessibility improvements apply everywhere instead of in isolated pockets.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The trade-off is creative control on a per-theme basis. You cannot redesign a single card to be wildly different without breaking the system. For a portfolio, that might be a problem. For a theme catalog, it is a feature. People are there to compare, not to re-learn the interface for each item.&lt;/p&gt;

&lt;h2&gt;Consistency as a sales tool&lt;/h2&gt;

&lt;p&gt;On a page that sells design themes, the product is not just the visuals. The product is also how easy it is to understand what you are looking at, how it behaves, and how it compares to the next option.&lt;/p&gt;

&lt;p&gt;Locking aspect ratios, simplifying lightbox logic, and cutting down breakpoint complexity are all small, unglamorous decisions. Together they make the gallery feel trustworthy. Each theme gets the same stage, the same rules, and the same interaction pattern.&lt;/p&gt;

&lt;p&gt;Flexibility is still there where it matters: inside the themes themselves. On the /themes page, consistency wins.&lt;/p&gt;

</description>
      <category>css</category>
      <category>frontend</category>
      <category>webdev</category>
    </item>
    <item>
      <title>When a client asks for SEO and needs GEO</title>
      <dc:creator>Richard Lemon</dc:creator>
      <pubDate>Sun, 08 Nov 2026 07:00:00 +0000</pubDate>
      <link>https://dev.to/richardlemon/when-a-client-asks-for-seo-and-needs-geo-afg</link>
      <guid>https://dev.to/richardlemon/when-a-client-asks-for-seo-and-needs-geo-afg</guid>
      <description>&lt;h2&gt;The brief says SEO. The problem is GEO.&lt;/h2&gt;

&lt;p&gt;A client emails: they “need SEO.” Rankings are down, or they want “more traffic.” The usual. But two minutes on their site and you see a different problem: search engines know they exist, but machines have no idea &lt;em&gt;where&lt;/em&gt; they are, who they serve, or how to use their content.&lt;/p&gt;

&lt;p&gt;They asked for SEO. What they actually need is GEO: structure and context so Google, Maps, and language models can connect their business to a place, a service area, and real questions people ask nearby.&lt;/p&gt;

&lt;p&gt;For a three-person agency, this is where the sales conversation either gets interesting or gets messy. You are not pitching a bigger retainer. You are changing the shape of the work.&lt;/p&gt;

&lt;h2&gt;Reframing SEO without sounding like a zealot&lt;/h2&gt;

&lt;p&gt;Most clients have a mental picture of SEO that is ten years old: keywords, some blog posts, maybe “link building.” If you open with &lt;em&gt;llms.txt&lt;/em&gt; and &lt;em&gt;Schema.org&lt;/em&gt; you lose them in the first five minutes.&lt;/p&gt;

&lt;p&gt;The conversation is easier if you start from their problem statement and then quietly rotate it.&lt;/p&gt;

&lt;p&gt;Something like:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“You asked for SEO because you want more people to find you. Right now, search engines see your pages, but they do not really understand your business in your city. Before we talk about ‘more traffic’, we have to fix that understanding.”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That gives you permission to explain GEO as a precondition, not a competing service. You are not saying “forget SEO, here is my new thing.” You are saying “your version of SEO is missing the local and machine-readable part.”&lt;/p&gt;

&lt;h2&gt;Why llms.txt and Schema.org suddenly show up in the offer&lt;/h2&gt;

&lt;p&gt;Clients notice when your proposal includes unknown line items. They usually do not say “what is Schema.org?” They say “why is this more expensive than last time?”&lt;/p&gt;

&lt;p&gt;So you explain the new pieces in business language, not protocol language.&lt;/p&gt;

&lt;h3&gt;llms.txt: who is allowed to learn from you&lt;/h3&gt;

&lt;p&gt;Instead of explaining the spec, you describe the behaviour:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“Right now, large language models can scrape your content, learn from it, and answer people’s questions without ever showing your site. llms.txt is basically your rulebook at the front door. It tells these models what they can use and what they should not touch.”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Then you connect it to something they already care about:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Risk: “If you publish documentation or pricing, you probably want some control over how that appears in AI tools.”&lt;/li&gt;
  &lt;li&gt;Opportunity: “If you have helpful content, you want models to understand that you are the local expert, not just ‘a random website’.”&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The key is to frame llms.txt as a governance and positioning tool, not a magic AI feature. It reduces the fear that you are experimenting on their site.&lt;/p&gt;

&lt;h3&gt;Schema.org: labelling a business for machines&lt;/h3&gt;

&lt;p&gt;Schema.org is even easier to describe without jargon:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“Your website is written for humans. Schema is the label set for machines. It tells Google and AI tools: this is a physical store here, these are the opening hours, this is the product range, these are the reviews. Without it, they guess.”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Then you link it back to GEO:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;“If someone nearby asks for what you sell, Schema helps search engines understand that you are relevant &lt;em&gt;here&lt;/em&gt;, not on the other side of the country.”&lt;/li&gt;
  &lt;li&gt;“If someone asks an AI assistant for ‘a store that does X near me’, Schema is one of the ways you get into that answer set.”&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You are not selling markup. You are selling “stop being invisible to the part of search that is now machine-to-machine.”&lt;/p&gt;

&lt;h2&gt;Handling the cost objection without apologising&lt;/h2&gt;

&lt;p&gt;Once clients understand the idea, the next question is simple: “Why does this cost more?”&lt;/p&gt;

&lt;p&gt;As a small agency, you cannot hide behind layers of account managers. You have to say the quiet part out loud:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;“We are doing work we did not do before: mapping your business into a structured model, not just writing copy.”&lt;/li&gt;
  &lt;li&gt;“We have to coordinate with whoever manages your CMS, your locations, and your product data.”&lt;/li&gt;
  &lt;li&gt;“We are taking responsibility for how your content appears in places you do not directly control.”&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The useful move is to separate &lt;em&gt;setup&lt;/em&gt; from &lt;em&gt;ongoing&lt;/em&gt;. GEO work has a heavier first phase: deciding on entities, locations, and data sources, and implementing Schema and llms.txt. After that, the monthly work is more about keeping the model in sync with reality than endlessly “doing more SEO.”&lt;/p&gt;

&lt;p&gt;That gives you a pricing structure that feels fair: a one-time GEO foundation, then a lighter retainer for updates and monitoring. Clients are used to paying more for implementation than for maintenance. You are just naming it explicitly.&lt;/p&gt;

&lt;h2&gt;“How do we measure this?” and the honest answer&lt;/h2&gt;

&lt;p&gt;GEO is measurable, but not in the neat way clients expect from a standard SEO dashboard. If you promise precise cause-and-effect, you trap yourself.&lt;/p&gt;

&lt;p&gt;A safer way to frame it:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“We can measure whether search engines understand you better. We cannot isolate that from every other change in the market and say ‘this Schema tag gave you a specific number of extra leads’.”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Then you talk about the indicators you can watch:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Search Console and analytics: more impressions and clicks for “[service] + [city/area]” queries.&lt;/li&gt;
  &lt;li&gt;Branded search: more people searching for your name plus your location or category.&lt;/li&gt;
  &lt;li&gt;Quality of leads: more inquiries from the right region, fewer from outside your service area.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You also acknowledge the messy part: AI answers are not fully trackable. If someone asks an assistant for “a company that does X in Utrecht,” and that assistant uses your content, you might get a phone call without a clear referrer.&lt;/p&gt;

&lt;p&gt;Instead of pretending you can measure that perfectly, you position GEO as a defensive and foundational move:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;“If you do nothing, you stay invisible to these systems.”&lt;/li&gt;
  &lt;li&gt;“If you do this, you give yourself a fair shot to be included when they answer.”&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;What you deliberately do not promise&lt;/h2&gt;

&lt;p&gt;The temptation when selling something new is to promise outcomes you cannot control. That is how you end up explaining yourself to an angry client twelve months later.&lt;/p&gt;

&lt;p&gt;With GEO, there are a few promises you should avoid:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
&lt;strong&gt;“Top 3 in Google for [keyword].”&lt;/strong&gt; You can influence relevance and clarity. You cannot control competitors’ budgets, Google’s experiments, or user behaviour.&lt;/li&gt;
  &lt;li&gt;
&lt;strong&gt;“Guaranteed AI assistant visibility.”&lt;/strong&gt; LLM providers change their models and answer formats constantly. You can make content eligible, not guaranteed.&lt;/li&gt;
  &lt;li&gt;
&lt;strong&gt;“Exact ROI in X months.”&lt;/strong&gt; GEO usually supports multiple channels at once: organic search, direct traffic, referrals, and AI tools. Attribution will always be fuzzy.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;What you can promise is directional and structural:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;“Your business data and content will be machine-readable and location-aware.”&lt;/li&gt;
  &lt;li&gt;“We will maintain a clear rulebook (llms.txt) for how AI tools may use your content.”&lt;/li&gt;
  &lt;li&gt;“We will review and adjust the structure as your business or the tools change.”&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That sounds less glamorous, but it is defensible. Clients who are serious about their business tend to prefer defensible over glamorous.&lt;/p&gt;

&lt;h2&gt;Keeping the conversation human in a three-person agency&lt;/h2&gt;

&lt;p&gt;In a big agency, this kind of shift becomes a slide deck and a new product name. In a three-person team, it is just a client and a video call. That is an advantage if you use it.&lt;/p&gt;

&lt;p&gt;First, you can be transparent about the learning curve without undermining trust:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“Search is changing fast. We are not pretending to control Google or OpenAI. What we can do is make sure your site speaks clearly to both humans and machines, and then adjust as we see what works.”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Second, you can tie GEO work to specific client types instead of abstract theory. For example, local businesses that invest in clear structure and geo-context tend to stop getting so many irrelevant leads and start seeing more of the right kind of traffic.&lt;/p&gt;

&lt;p&gt;Finally, you keep the offer small and concrete. No “GEO transformation programs.” Just:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Audit: “How findable and understandable are you now?”&lt;/li&gt;
  &lt;li&gt;Foundation: “Implement Schema and llms.txt, fix obvious gaps.”&lt;/li&gt;
  &lt;li&gt;Care: “Monitor, adjust, and keep your structure aligned with your real business.”&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When a client asks for SEO and actually needs GEO, the hard part is not the technical work. It is having a sales conversation that upgrades their mental model without scaring them off. If you can explain why llms.txt and Schema.org are in the proposal in plain language, handle the cost and measurement questions honestly, and avoid promises you cannot keep, you are already ahead of most of the market.&lt;/p&gt;

</description>
      <category>digital</category>
      <category>marketing</category>
      <category>seo</category>
    </item>
    <item>
      <title>Sovereign AI on a Synology NAS for a Small Agency</title>
      <dc:creator>Richard Lemon</dc:creator>
      <pubDate>Sat, 07 Nov 2026 12:59:00 +0000</pubDate>
      <link>https://dev.to/richardlemon/sovereign-ai-on-a-synology-nas-for-a-small-agency-id1</link>
      <guid>https://dev.to/richardlemon/sovereign-ai-on-a-synology-nas-for-a-small-agency-id1</guid>
      <description>&lt;h2&gt;The real question behind “sovereign AI”&lt;/h2&gt;

&lt;p&gt;The practical question behind the sovereign AI proposal at Ideebv is simple: how do you make a Synology NAS searchable with AI, without sending any client data to external services?&lt;/p&gt;

&lt;p&gt;That is less about fancy models and more about constraints:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Client data must stay in-house, on hardware the agency controls.&lt;/li&gt;
  &lt;li&gt;No SaaS vector databases where documents leave the building.&lt;/li&gt;
  &lt;li&gt;No surprise token bills from cloud LLM APIs.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Out of that falls a concrete goal: design a local stack that can index files on the NAS and answer questions about them in normal language, running on a Mac Studio with Ollama.&lt;/p&gt;

&lt;p&gt;This is not a finished system. It is a proposal with some clear building blocks and some open questions about cost, maintenance, and whether it would actually be nicer to use than “just search the folders”.&lt;/p&gt;

&lt;h2&gt;What a small agency actually needs (and what it doesn’t)&lt;/h2&gt;

&lt;p&gt;Once you strip away the hype, a small agency that wants “sovereign AI” around its NAS needs a few specific capabilities:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
&lt;strong&gt;Reliable access to the files&lt;/strong&gt;, across shared folders and permissions.&lt;/li&gt;
  &lt;li&gt;
&lt;strong&gt;Indexing that understands content&lt;/strong&gt;, not just filenames and basic metadata.&lt;/li&gt;
  &lt;li&gt;
&lt;strong&gt;Question answering&lt;/strong&gt; over that content, so people can ask for “the latest proposal for client X” or “all references to subscription pricing changes”.&lt;/li&gt;
  &lt;li&gt;
&lt;strong&gt;Local-only processing&lt;/strong&gt;, so documents never leave the local network during parsing, embedding, or inference.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;There are also a few things that sound impressive but are probably unnecessary in a first iteration:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Fine-tuning custom models for the agency’s tone of voice.&lt;/li&gt;
  &lt;li&gt;Streaming everything through a distributed cluster.&lt;/li&gt;
  &lt;li&gt;Highly complex role-based access baked into the AI layer itself.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A simple rule keeps the first version understandable: if you can open the document on the NAS, you can ask questions about it. Everything else is a later problem.&lt;/p&gt;

&lt;h2&gt;The core stack: Synology NAS, Mac Studio, and Ollama&lt;/h2&gt;

&lt;p&gt;The hardware constraint is fixed in the proposal: a Synology NAS for storage, a Mac Studio as the compute box, and no extra cloud resources. On top of that, the stack breaks down into a few pieces.&lt;/p&gt;

&lt;h3&gt;1. A file crawler that speaks Synology&lt;/h3&gt;

&lt;p&gt;The first part is a service that can:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Connect to the NAS via SMB or NFS.&lt;/li&gt;
  &lt;li&gt;Walk through selected shares and folders.&lt;/li&gt;
  &lt;li&gt;Track changes: new files, edits, deletions.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This is not glamorous, but it is where most of the reliability lives. If the crawler misses files or re-indexes everything on every run, the rest of the stack does not matter.&lt;/p&gt;

&lt;p&gt;In practice this would be a small daemon running on the Mac Studio that keeps a local record of file paths, modification times, and basic metadata, and uses that to decide what needs reprocessing.&lt;/p&gt;

&lt;h3&gt;2. Local document parsing&lt;/h3&gt;

&lt;p&gt;Once a file is found, it needs to be turned into text. That includes:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Office files like &lt;code&gt;.docx&lt;/code&gt;, &lt;code&gt;.xlsx&lt;/code&gt;, &lt;code&gt;.pptx&lt;/code&gt;
&lt;/li&gt;
  &lt;li&gt;PDFs, from clean exports to messy scans&lt;/li&gt;
  &lt;li&gt;Plain text, Markdown, maybe email exports&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;All of this has to happen locally. That implies a set of parsers installed on the Mac Studio, not cloud APIs that OCR the PDF and keep a copy.&lt;/p&gt;

&lt;p&gt;There is a trade-off here: the more formats you support, the more breakage you accept. A first version would probably focus on the most common document types and log everything it cannot cleanly parse.&lt;/p&gt;

&lt;h3&gt;3. Embeddings and a local vector store&lt;/h3&gt;

&lt;p&gt;Once you have text, you need a way to search it semantically. That means:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Splitting documents into chunks.&lt;/li&gt;
  &lt;li&gt;Generating embeddings for each chunk using a local model.&lt;/li&gt;
  &lt;li&gt;Storing those embeddings in a local vector database.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Ollama on the Mac Studio is an obvious place to run the embedding model. The vector store can be anything that runs locally and does not require a cloud account: an embedded database, a lightweight server process, or even a simple file-backed index for the first phase.&lt;/p&gt;

&lt;p&gt;This is where the “sovereign” part has teeth: no external embedding services, no off-site indexes. If the Mac Studio is off, the AI is off.&lt;/p&gt;

&lt;h3&gt;4. A local LLM for question answering&lt;/h3&gt;

&lt;p&gt;On top of the vector store you get to the part people actually see: ask a question, get an answer with references back to the original files.&lt;/p&gt;

&lt;p&gt;Here again, Ollama is a main building block. It can host one or more LLMs locally on the Mac Studio. The flow is standard retrieval-augmented generation:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;User asks a question.&lt;/li&gt;
  &lt;li&gt;System turns the question into an embedding and finds relevant chunks in the vector store.&lt;/li&gt;
  &lt;li&gt;Those chunks are passed to the LLM with a prompt to answer using only that context.&lt;/li&gt;
  &lt;li&gt;Answer is returned along with links or paths to the source documents on the NAS.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Model choice is a trade-off between speed and quality. On a Mac Studio, medium-sized models should be usable, but this specific setup still needs to be validated under real load.&lt;/p&gt;

&lt;h3&gt;5. A simple interface people will actually use&lt;/h3&gt;

&lt;p&gt;None of this matters if people keep going back to the NAS file browser. The interface can be simple:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;A small web app running on the Mac Studio, accessible only on the local network.&lt;/li&gt;
  &lt;li&gt;A search bar and a chat-like history for previous questions.&lt;/li&gt;
  &lt;li&gt;Clear links back to the actual files on the NAS.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The important part is trust: people need to see which documents an answer is based on, so they can check and correct it. No black box “AI says so”.&lt;/p&gt;

&lt;h2&gt;What is not built yet&lt;/h2&gt;

&lt;p&gt;This is a proposal, not a finished product. Several things are still open:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
&lt;strong&gt;Exact model choices&lt;/strong&gt;: which embedding model, which LLM, and how they perform on the Mac Studio under real usage.&lt;/li&gt;
  &lt;li&gt;
&lt;strong&gt;Vector store implementation&lt;/strong&gt;: embedded vs server, and performance on a large NAS with many documents.&lt;/li&gt;
  &lt;li&gt;
&lt;strong&gt;Incremental indexing&lt;/strong&gt;: how often the crawler runs, and how fast changes on the NAS show up in the index.&lt;/li&gt;
  &lt;li&gt;
&lt;strong&gt;Handling of binary and messy formats&lt;/strong&gt;: especially scanned PDFs and legacy files.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;There is also no long-term operations story yet. Someone will need to own this system once it exists.&lt;/p&gt;

&lt;h2&gt;Costs and maintenance: the uncomfortable bits&lt;/h2&gt;

&lt;p&gt;Keeping everything local avoids cloud bills, but it does not make the system free or maintenance-free.&lt;/p&gt;

&lt;h3&gt;Hardware and performance trade-offs&lt;/h3&gt;

&lt;p&gt;The Mac Studio is the workhorse in this design. It would handle:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Document parsing.&lt;/li&gt;
  &lt;li&gt;Embedding generation.&lt;/li&gt;
  &lt;li&gt;Vector searches.&lt;/li&gt;
  &lt;li&gt;LLM inference through Ollama.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If the index grows large or many people use it at once, the Mac Studio may become a bottleneck. Scaling up then means either faster local hardware or accepting slower responses. Quietly offloading to the cloud would break the sovereign promise.&lt;/p&gt;

&lt;h3&gt;Time and ownership&lt;/h3&gt;

&lt;p&gt;Someone has to:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Monitor disk usage for the index.&lt;/li&gt;
  &lt;li&gt;Apply updates to the local stack (Ollama, parsers, the indexing service).&lt;/li&gt;
  &lt;li&gt;Handle failures: broken parsers, corrupted indexes, weird files.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That work does not disappear just because the system is local and private. It shifts from vendor support tickets to internal responsibility.&lt;/p&gt;

&lt;h3&gt;Security and access&lt;/h3&gt;

&lt;p&gt;Keeping data in-house helps with privacy, but the system still needs to respect access boundaries. A minimal first version might simply inherit NAS-level permissions: if an account can see the file, the AI can use it for that user’s queries.&lt;/p&gt;

&lt;p&gt;Anything more fine-grained quickly gets complex. That is another reason to start small and be explicit about what the system does and does not guarantee.&lt;/p&gt;

&lt;h2&gt;Where this actually helps&lt;/h2&gt;

&lt;p&gt;A local AI stack on top of a Synology NAS will not magically understand the entire agency. It aims to do something more boring and more useful: make it easier to find and re-use the work that already exists.&lt;/p&gt;

&lt;p&gt;If that is the bar, the proposal stays realistic: a Mac Studio, Ollama, a focused set of parsers and indexes, and a small web UI. Everything else can wait until people are actually using it and running into its limits.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>architecture</category>
      <category>hardware</category>
      <category>llm</category>
    </item>
    <item>
      <title>Schema.org markup and entity recognition in 2026</title>
      <dc:creator>Richard Lemon</dc:creator>
      <pubDate>Fri, 06 Nov 2026 10:55:26 +0000</pubDate>
      <link>https://dev.to/richardlemon/schemaorg-markup-and-entity-recognition-in-2026-ibf</link>
      <guid>https://dev.to/richardlemon/schemaorg-markup-and-entity-recognition-in-2026-ibf</guid>
      <description>&lt;h2&gt;Treating the site as data, not just pages&lt;/h2&gt;

&lt;p&gt;In 2026, the SEO work that mattered most for Aftertype was treating the site as data instead of just a collection of pages. Concretely, that meant site-wide &lt;code&gt;schema.org&lt;/code&gt; markup and a companion &lt;code&gt;llms.txt&lt;/code&gt; file, so both classic search engines and AI systems could understand what the site is, not just what it says.&lt;/p&gt;

&lt;h2&gt;From impressions to entity recognition&lt;/h2&gt;

&lt;p&gt;Before structured data, Search Console made Aftertype look like a pile of pages and keywords. Impressions went up and down, clicks were fine, and the query mix was a foggy blend of terms that roughly matched the content.&lt;/p&gt;

&lt;p&gt;After rolling out structured data across the site, the interesting change was how the site appeared inside Google’s own model of the world. Queries started clustering around Aftertype as an entity, not just as text on a page. Search Console made it clearer that the site was being treated as a thing in the graph, not just a set of strings.&lt;/p&gt;

&lt;h2&gt;What actually went into the markup&lt;/h2&gt;

&lt;p&gt;The work was not magic. It was mostly tedious, careful markup across three main types: &lt;code&gt;Organization&lt;/code&gt;, &lt;code&gt;Article&lt;/code&gt;, and &lt;code&gt;FAQPage&lt;/code&gt;.&lt;/p&gt;

&lt;h3&gt;Organization schema&lt;/h3&gt;

&lt;p&gt;First step: describe Aftertype as an &lt;code&gt;Organization&lt;/code&gt;. That meant being explicit about:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Official name&lt;/li&gt;
  &lt;li&gt;URL and logo&lt;/li&gt;
  &lt;li&gt;Contact details&lt;/li&gt;
  &lt;li&gt;
&lt;code&gt;sameAs&lt;/code&gt; links to profiles elsewhere&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This is the base layer. Without it, every other piece of content floats around without an owner. With it, articles and FAQs can all point back to a single, stable entity.&lt;/p&gt;

&lt;h3&gt;Article schema across the site&lt;/h3&gt;

&lt;p&gt;Next step: treat each significant piece of content as an &lt;code&gt;Article&lt;/code&gt; instead of a generic page. That meant marking up:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
&lt;code&gt;headline&lt;/code&gt; and &lt;code&gt;description&lt;/code&gt;
&lt;/li&gt;
  &lt;li&gt;
&lt;code&gt;author&lt;/code&gt;, &lt;code&gt;publisher&lt;/code&gt;, and &lt;code&gt;datePublished&lt;/code&gt;
&lt;/li&gt;
  &lt;li&gt;
&lt;code&gt;mainEntityOfPage&lt;/code&gt; to connect the article to the canonical URL&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This is boring, mechanical work, but it gives search engines a clean graph: this organization publishes these articles, on these topics, at these times.&lt;/p&gt;

&lt;h3&gt;FAQPage schema where it actually fit&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;FAQPage&lt;/code&gt; schema only went on content that was genuinely question and answer shaped. Each question and answer pair was marked up as &lt;code&gt;Question&lt;/code&gt; and &lt;code&gt;Answer&lt;/code&gt; inside a &lt;code&gt;FAQPage&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;The goal was simple: give both search engines and AI systems a clean, structured set of canonical answers for recurring questions, instead of scattering them across loosely formatted paragraphs.&lt;/p&gt;

&lt;h2&gt;llms.txt: a companion for AI search&lt;/h2&gt;

&lt;p&gt;Alongside the Schema.org work, Aftertype added a companion &lt;code&gt;llms.txt&lt;/code&gt; file. Classic search engines read &lt;code&gt;robots.txt&lt;/code&gt; to understand what they can crawl. AI-focused crawlers and LLM-backed search tools need a similar pointer, but with extra hints about what is actually useful for training or retrieval.&lt;/p&gt;

&lt;p&gt;Where Schema.org describes the structure of each page, &lt;code&gt;llms.txt&lt;/code&gt; describes which parts of the site are high signal, canonical, or stable enough to be worth ingesting. Together, they act as two halves of the same idea: one for traditional SEO, one for AI search.&lt;/p&gt;

&lt;h2&gt;GEO vs SEO in 2026&lt;/h2&gt;

&lt;p&gt;By 2026, the line between SEO and what you might call GEO (graph or entity optimization) is very visible.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;SEO is still about ranking pages for queries.&lt;/li&gt;
  &lt;li&gt;GEO is about making sure you, your company, and your content exist as clear entities in the graph that search engines and LLMs use.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The Schema.org and &lt;code&gt;llms.txt&lt;/code&gt; work for Aftertype sat squarely in the GEO bucket. Instead of chasing another round of on-page tweaks, the focus was on telling machines:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;“This is the organization behind this site.”&lt;/li&gt;
  &lt;li&gt;“These are the articles and what they are about.”&lt;/li&gt;
  &lt;li&gt;“These are the canonical answers to recurring questions.”&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Once that graph was in place, traditional SEO metrics started to look different. Branded and related queries clustered more logically, and Search Console began to look less like noise and more like a map of how the entity was understood.&lt;/p&gt;

&lt;h2&gt;What changed in Search Console&lt;/h2&gt;

&lt;p&gt;After deploying structured data site-wide on Aftertype, Search Console results shifted in a few ways that matched the GEO focus:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Queries tied more clearly to the organization name and core topics, instead of random long-tail matches.&lt;/li&gt;
  &lt;li&gt;Branded and entity-like queries became easier to track as a coherent group.&lt;/li&gt;
  &lt;li&gt;Rich results and enhanced snippets aligned more cleanly with marked-up FAQs and articles.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This was not about a viral spike or overnight doubling of traffic. It was a change in how the site was categorized and presented, and in how new content slotted into an existing entity graph instead of starting from zero each time.&lt;/p&gt;

&lt;h2&gt;Why this beat other SEO habits in 2026&lt;/h2&gt;

&lt;p&gt;Most SEO activity in 2026 feels like tuning a radio station that keeps changing frequency. Algorithms shift, SERP layouts change, and AI overviews eat more of the page. The Schema.org and &lt;code&gt;llms.txt&lt;/code&gt; work for Aftertype targeted a slower-moving layer: how the site is modeled as data.&lt;/p&gt;

&lt;p&gt;Instead of guessing which micro-optimizations might please the latest search experiment, the work focused on:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Making the organization unambiguous as an entity&lt;/li&gt;
  &lt;li&gt;Making each article unambiguous as a piece of content&lt;/li&gt;
  &lt;li&gt;Making FAQs unambiguous as canonical answers&lt;/li&gt;
  &lt;li&gt;Making AI crawlers unambiguous about what to read and reuse&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That combination turned a loose collection of pages into something closer to an API for both search engines and LLMs. The payoff showed up less as raw volume and more as recognition.&lt;/p&gt;

&lt;h2&gt;If you only do one thing&lt;/h2&gt;

&lt;p&gt;If you are deciding where to spend limited SEO time in 2026, a simple order of operations looks like this:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;Implement solid &lt;code&gt;Organization&lt;/code&gt; schema site-wide.&lt;/li&gt;
  &lt;li&gt;Mark every significant content piece as an &lt;code&gt;Article&lt;/code&gt; with proper metadata.&lt;/li&gt;
  &lt;li&gt;Use &lt;code&gt;FAQPage&lt;/code&gt; schema only where the content is truly question and answer shaped.&lt;/li&gt;
  &lt;li&gt;Add an &lt;code&gt;llms.txt&lt;/code&gt; file that points AI crawlers at your best, most stable content.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Everything else can wait. Entity recognition is the part that actually sticks.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>llm</category>
      <category>seo</category>
    </item>
    <item>
      <title>Deriving a Ghost theme palette from one accent color</title>
      <dc:creator>Richard Lemon</dc:creator>
      <pubDate>Wed, 21 Oct 2026 18:11:04 +0000</pubDate>
      <link>https://dev.to/richardlemon/deriving-a-ghost-theme-palette-from-one-accent-color-1bbf</link>
      <guid>https://dev.to/richardlemon/deriving-a-ghost-theme-palette-from-one-accent-color-1bbf</guid>
      <description>&lt;h2&gt;The constraint: Ghost gives you one color&lt;/h2&gt;

&lt;p&gt;Ghost themes get exactly one brand color from the admin: &lt;code&gt;--ghost-accent-color&lt;/code&gt;. That value often needs to carry most of the UI: links, buttons, hovers, subtle backgrounds, borders.&lt;/p&gt;

&lt;p&gt;You can add more theme settings, but it is possible to treat that single accent as the source of truth and derive everything else in CSS.&lt;/p&gt;

&lt;p&gt;With one custom property in &lt;code&gt;package.json&lt;/code&gt;, the theme can generate tints, hover states, borders and soft backgrounds using &lt;code&gt;color-mix()&lt;/code&gt; and, where helpful, &lt;code&gt;oklch()&lt;/code&gt;. No extra admin fields are required.&lt;/p&gt;

&lt;h2&gt;Starting point: normalize the accent color&lt;/h2&gt;

&lt;p&gt;Ghost exposes the accent color as &lt;code&gt;--ghost-accent-color&lt;/code&gt; on &lt;code&gt;:root&lt;/code&gt;. A simple first step is to mirror it into a small set of semantic tokens so the rest of the CSS never touches the raw accent directly.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;:root {
  /* from Ghost admin */
  --ghost-accent-color: #ff1a75;

  /* base semantic tokens */
  --accent: var(--ghost-accent-color);
  --accent-text-on-solid: #fff;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;&lt;code&gt;--accent&lt;/code&gt; is the only color that is really “brand”. Everything else hangs off it with &lt;code&gt;color-mix()&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;Using color-mix() for hover and focus states&lt;/h2&gt;

&lt;p&gt;A straightforward use is hover states. For buttons and links you can create a slightly stronger accent on hover without guessing a separate color.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;:root {
  --accent-strong: color-mix(in srgb, var(--accent) 85%, black);
}

.button-primary {
  background: var(--accent);
  color: var(--accent-text-on-solid);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-strong);
}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;This works well for mid-range colors, but it can break down at the extremes. A very dark accent mixed toward black barely changes. A very light accent mixed toward black can jump too hard and fail contrast against white text.&lt;/p&gt;

&lt;h2&gt;Very light and very dark accents&lt;/h2&gt;

&lt;p&gt;Two cases tend to cause trouble:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Almost-white accents, like &lt;code&gt;#fbe9ff&lt;/code&gt; or very light pastels.&lt;/li&gt;
  &lt;li&gt;Almost-black accents, like &lt;code&gt;#050505&lt;/code&gt; or deep navy.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;With almost-white accents, Ghost often pairs them with dark text, not white. If you always use &lt;code&gt;--accent-text-on-solid: #fff&lt;/code&gt; and darken the accent on hover, the background can still end up with too little contrast against white text.&lt;/p&gt;

&lt;p&gt;With almost-black accents, mixing toward black on hover does very little visually. The button looks unchanged.&lt;/p&gt;

&lt;p&gt;Instead of assuming the accent is a normal mid-tone, it helps to reason about it in &lt;code&gt;oklch()&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;Using oklch to reason about lightness&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;oklch()&lt;/code&gt; exposes a lightness component that behaves more linearly than &lt;code&gt;srgb&lt;/code&gt;. That makes it easier to decide two things:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Should text on the accent be light or dark?&lt;/li&gt;
  &lt;li&gt;Should hover move the accent lighter or darker?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;First, convert the accent to &lt;code&gt;oklch()&lt;/code&gt; in a custom property. Browsers can do this conversion implicitly:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;:root {
  --accent-oklch: color-mix(in oklch, var(--accent) 100%, black 0%);
}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Then derive lighter and darker variants by nudging the lightness channel via mixes toward black or white.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;:root {
  /* Slightly darker for hover, slightly lighter for subtle backgrounds */
  --accent-strong-oklch: color-mix(in oklch, var(--accent) 90%, black 10%);
  --accent-soft-oklch:   color-mix(in oklch, var(--accent) 90%, white 10%);
}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;These are still &lt;code&gt;oklch&lt;/code&gt;-space colors, but the browser returns them as usable CSS colors. For many accents this gives smoother steps than mixing in &lt;code&gt;srgb&lt;/code&gt;, especially for saturated colors.&lt;/p&gt;

&lt;h2&gt;Choosing text color based on accent lightness&lt;/h2&gt;

&lt;p&gt;Ghost itself decides whether to use light or dark text on the accent in some places, but inside a theme it is useful to have a consistent rule. Accents above a certain lightness can be treated as “light backgrounds” and use dark text on them.&lt;/p&gt;

&lt;p&gt;There is no native &lt;code&gt;if()&lt;/code&gt; in CSS yet, so a practical approach is to define two modes in the theme, then switch modes based on a class that is set server-side or through a small script that inspects the computed accent color.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;:root {
  --accent-text-on-solid: #fff;
}

.theme--accent-light {
  --accent-text-on-solid: #111;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;A script can read &lt;code&gt;getComputedStyle(document.documentElement).getPropertyValue('--accent')&lt;/code&gt;, convert it to &lt;code&gt;oklch()&lt;/code&gt; using a helper, and toggle &lt;code&gt;.theme--accent-light&lt;/code&gt; if the lightness is above a threshold. Extremely light accents then flip to dark text, and the hover and active colors derived from &lt;code&gt;oklch&lt;/code&gt; stay on the right side of the contrast line.&lt;/p&gt;

&lt;h2&gt;Subtle backgrounds and borders from the same accent&lt;/h2&gt;

&lt;p&gt;For cards, badges and inline highlights you can use the accent to create a soft background and a slightly stronger border.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;:root {
  --accent-bg-soft: color-mix(in oklch, var(--accent) 12%, white);
  --accent-border-soft: color-mix(in oklch, var(--accent) 45%, white);
}

.badge {
  background: var(--accent-bg-soft);
  border: 1px solid var(--accent-border-soft);
  color: var(--accent);
}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;For very dark accents, mixing toward white like this keeps the badge readable without turning it into a loud block. For very light accents, the badge is barely tinted; the accent still shows up in the border and text.&lt;/p&gt;

&lt;p&gt;The same pattern works for focus outlines:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;:root {
  --accent-outline: color-mix(in oklch, var(--accent) 65%, white);
}

:focus-visible {
  outline: 2px solid var(--accent-outline);
  outline-offset: 3px;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;h2&gt;Checking contrast without designing per brand&lt;/h2&gt;

&lt;p&gt;Because the accent is user-controlled, you cannot guarantee perfect contrast for every possible color. You can only make it harder to get into trouble.&lt;/p&gt;

&lt;p&gt;A practical approach is to test a small grid of accent colors locally:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Very light pastel&lt;/li&gt;
  &lt;li&gt;Mid-tone brand color&lt;/li&gt;
  &lt;li&gt;Deep saturated color&lt;/li&gt;
  &lt;li&gt;Near-black&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For each, check a few key pairs in a contrast checker:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
&lt;code&gt;--accent&lt;/code&gt; vs &lt;code&gt;--accent-text-on-solid&lt;/code&gt;
&lt;/li&gt;
  &lt;li&gt;
&lt;code&gt;--accent-bg-soft&lt;/code&gt; vs body text&lt;/li&gt;
  &lt;li&gt;Focus outline vs page background&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;oklch&lt;/code&gt;-based mixes help keep these pairs within acceptable ranges for normal accents. Extremely low-contrast choices from the admin, such as an almost white accent on a white site background, will still be low contrast, but the theme does not make that worse by using the accent for long-form body text.&lt;/p&gt;

&lt;h2&gt;Fallbacks for browsers without color-mix()&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;color-mix()&lt;/code&gt; is not universal yet, so the theme should keep a basic experience for older browsers.&lt;/p&gt;

&lt;p&gt;One pattern is:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;:root {
  /* basic fallback */
  --accent-strong: var(--accent);
  --accent-bg-soft: rgba(0, 0, 0, 0.03);
}

@supports (color-mix(in srgb, black, white)) {
  :root {
    --accent-strong: color-mix(in oklch, var(--accent) 85%, black);
    --accent-bg-soft: color-mix(in oklch, var(--accent) 12%, white);
  }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;In browsers without &lt;code&gt;@supports (color-mix)&lt;/code&gt;, buttons still use the accent, they just do not get a more intense hover color. Soft backgrounds fall back to a neutral tint instead of an accent-tinted one.&lt;/p&gt;

&lt;h2&gt;Keeping everything wired to one variable&lt;/h2&gt;

&lt;p&gt;The main benefit of this approach is that the entire palette stays wired to &lt;code&gt;--ghost-accent-color&lt;/code&gt;. When someone changes the accent in Ghost admin, links, buttons, cards, focus states and badges all follow without touching the theme settings.&lt;/p&gt;

&lt;p&gt;The trade-off is that you have to be conservative: avoid using the accent for long-form text, keep strong backgrounds limited, and lean on &lt;code&gt;oklch&lt;/code&gt; and &lt;code&gt;color-mix()&lt;/code&gt; to keep hover and subtle states in a safe range.&lt;/p&gt;

</description>
      <category>css</category>
      <category>frontend</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Who actually reads my llms.txt?</title>
      <dc:creator>Richard Lemon</dc:creator>
      <pubDate>Sat, 17 Oct 2026 10:42:14 +0000</pubDate>
      <link>https://dev.to/richardlemon/who-actually-reads-my-llmstxt-ef0</link>
      <guid>https://dev.to/richardlemon/who-actually-reads-my-llmstxt-ef0</guid>
      <description>&lt;h2&gt;Checking who touches &lt;code&gt;llms.txt&lt;/code&gt; in practice&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;/llms.txt&lt;/code&gt; and &lt;code&gt;/llms-full.txt&lt;/code&gt; have been live on richardlemon.com for a while. The obvious next question: who, if anyone, is actually requesting them?&lt;/p&gt;

&lt;p&gt;One way to approach that is to look at the web server logs directly. No dashboards, no vibes. Just the Nginx access log on the droplet.&lt;/p&gt;

&lt;h2&gt;Where the evidence lives: Nginx access logs&lt;/h2&gt;

&lt;p&gt;On a typical Nginx setup on a small VPS, access logs will usually live somewhere like:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;/var/log/nginx/access.log
/var/log/nginx/access.log.1
/var/log/nginx/access.log.2.gz
...&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;The exact path depends on the distro and how Nginx was installed, but the pattern is similar: a current &lt;code&gt;access.log&lt;/code&gt; plus rotated and sometimes gzipped older logs.&lt;/p&gt;

&lt;p&gt;For anything related to &lt;code&gt;llms.txt&lt;/code&gt;, the relevant fields are the request path and the user agent. That tells you which client asked for which file, and how it chose to introduce itself.&lt;/p&gt;

&lt;h2&gt;Filtering for &lt;code&gt;llms.txt&lt;/code&gt; and &lt;code&gt;llms-full.txt&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;First step is to pull out only the lines that touch those two files. You can do that with a simple &lt;code&gt;grep&lt;/code&gt; across your logs. For example, from the directory where your logs live:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;cd /var/log/nginx

grep -hE "llms\.txt|llms-full\.txt" access.log* &amp;gt; llms-requests.log&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;A few details here:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
&lt;code&gt;-h&lt;/code&gt; hides the filename in the output, which keeps the next steps cleaner.&lt;/li&gt;
  &lt;li&gt;
&lt;code&gt;-E&lt;/code&gt; lets you use an extended regular expression so you can match both filenames in one go.&lt;/li&gt;
  &lt;li&gt;
&lt;code&gt;access.log*&lt;/code&gt; will hit the current log and any rotated ones that are not gzipped. If you have &lt;code&gt;.gz&lt;/code&gt; files, you can run &lt;code&gt;zgrep&lt;/code&gt; similarly.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;After this you have a smaller file, &lt;code&gt;llms-requests.log&lt;/code&gt;, that only contains requests for your LLM-related files.&lt;/p&gt;

&lt;h2&gt;Grouping by user agent&lt;/h2&gt;

&lt;p&gt;The next step is to see who those requests belong to. For that you need the user agent field from each log line.&lt;/p&gt;

&lt;p&gt;This depends on the Nginx log format, but on a fairly standard combined log format the user agent is the last quoted string in the line. You can extract and group it with &lt;code&gt;awk&lt;/code&gt; and &lt;code&gt;sort&lt;/code&gt;:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;awk -F '"' '{print $6}' llms-requests.log \
  | sort \
  | uniq -c \
  | sort -nr &amp;gt; llms-user-agents.txt&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;What this does:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
&lt;code&gt;-F '"'&lt;/code&gt; tells &lt;code&gt;awk&lt;/code&gt; to split on double quotes. In a combined log, the user agent ends up as field 6.&lt;/li&gt;
  &lt;li&gt;
&lt;code&gt;sort | uniq -c&lt;/code&gt; groups identical user agents and counts them.&lt;/li&gt;
  &lt;li&gt;The final &lt;code&gt;sort -nr&lt;/code&gt; orders them by frequency, highest first.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;At this point you have a list of all user agents that have requested &lt;code&gt;llms.txt&lt;/code&gt; or &lt;code&gt;llms-full.txt&lt;/code&gt;, plus how often they did it.&lt;/p&gt;

&lt;h2&gt;Bucketing into GPTBot, ClaudeBot, Perplexity, Googlebot, other&lt;/h2&gt;

&lt;p&gt;Raw user agent strings are messy. If you want something legible, it helps to bucket them into a small set of known crawlers and an “everything else” bucket.&lt;/p&gt;

&lt;p&gt;For LLM-related traffic, the usual suspects are:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
&lt;strong&gt;GPTBot&lt;/strong&gt; (OpenAI)&lt;/li&gt;
  &lt;li&gt;
&lt;strong&gt;ClaudeBot&lt;/strong&gt; (Anthropic)&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;PerplexityBot&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;
&lt;strong&gt;Googlebot&lt;/strong&gt; (useful for comparison, even though it is not an LLM crawler in the same sense)&lt;/li&gt;
  &lt;li&gt;
&lt;strong&gt;Other&lt;/strong&gt; (browsers, random scrapers, SEO tools, misconfigured scripts)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can do a rough classification with another &lt;code&gt;awk&lt;/code&gt; pass that looks for substrings in the user agent string and assigns a label.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;awk -F '"' '{
  ua = $6
  bucket = "Other"

  if (ua ~ /GPTBot/i) {
    bucket = "GPTBot"
  } else if (ua ~ /ClaudeBot/i) {
    bucket = "ClaudeBot"
  } else if (ua ~ /PerplexityBot/i) {
    bucket = "PerplexityBot"
  } else if (ua ~ /Googlebot/i) {
    bucket = "Googlebot"
  }

  print bucket
}' llms-requests.log \
  | sort \
  | uniq -c \
  | sort -nr&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;This does a few things:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Looks at each log line, extracts the user agent, and sets a default bucket of &lt;code&gt;Other&lt;/code&gt;.&lt;/li&gt;
  &lt;li&gt;Checks for known bot identifiers with case-insensitive regexes.&lt;/li&gt;
  &lt;li&gt;Prints the bucket name for each request, then groups and counts.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The result is a small table of how many requests came from each crawler family. You can run the same script periodically to see if the mix changes over time.&lt;/p&gt;

&lt;h2&gt;What you might expect to see&lt;/h2&gt;

&lt;p&gt;Given that &lt;code&gt;llms.txt&lt;/code&gt; and &lt;code&gt;llms-full.txt&lt;/code&gt; have been live for months, it is reasonable to expect at least some of the known LLM crawlers to touch them occasionally if they are crawling the domain at all.&lt;/p&gt;

&lt;p&gt;That could look like:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Sporadic hits from GPTBot, ClaudeBot, or PerplexityBot if they respect and look for &lt;code&gt;llms.txt&lt;/code&gt;-style files.&lt;/li&gt;
  &lt;li&gt;Regular background noise from Googlebot and other search crawlers that might fetch anything that looks like a text file.&lt;/li&gt;
  &lt;li&gt;Manual requests from browsers or command-line tools when humans are testing or debugging.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If the logs show zero requests from a specific crawler family over a long period, that suggests either the crawler is not visiting the domain at all or it does not care about these particular files. If you see requests from a bot with a name that sounds like a major provider, that still needs a bit of skepticism.&lt;/p&gt;

&lt;h2&gt;Why a request is not the same as being in the training set&lt;/h2&gt;

&lt;p&gt;It is tempting to look at a log entry from something called &lt;code&gt;GPTBot&lt;/code&gt; and immediately conclude that your content is now in some training corpus. That leap is not supported by the data.&lt;/p&gt;

&lt;p&gt;The logs only prove one thing: at a certain time, from a certain IP, a client that claimed a particular user agent fetched a particular URL and got some HTTP status code back. Everything beyond that is inference.&lt;/p&gt;

&lt;p&gt;Some specific limits:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
&lt;strong&gt;Identity is self-reported.&lt;/strong&gt; User agents can be faked. Without reverse DNS and IP range checks, you do not know if a request really came from OpenAI, Anthropic, or anyone else.&lt;/li&gt;
  &lt;li&gt;
&lt;strong&gt;Fetching is not storing.&lt;/strong&gt; A crawler can request &lt;code&gt;llms.txt&lt;/code&gt;, read the policy, and then decide not to crawl or not to retain content. The file might be used purely as a routing or filtering hint.&lt;/li&gt;
  &lt;li&gt;
&lt;strong&gt;Storing is not training.&lt;/strong&gt; Even if content is cached, that does not prove it ends up in a training dataset. Providers often separate crawling, indexing, and training pipelines.&lt;/li&gt;
  &lt;li&gt;
&lt;strong&gt;Training is not citation.&lt;/strong&gt; Even if something is in a training set, there is no guarantee it will ever be surfaced as a citation or explicit reference in generated output.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;So “I see GPTBot in my logs” is a weaker claim than “GPTBot trained on my content,” and much weaker than “GPTBot will cite my content.” The first is observable. The others are policy and implementation details on the provider side.&lt;/p&gt;

&lt;h2&gt;What this does and does not say about GEO&lt;/h2&gt;

&lt;p&gt;There is a lot of talk about geographic opt-out files and LLM-specific robots instructions as a way to control how models use content. Files like &lt;code&gt;llms.txt&lt;/code&gt; are one piece of that conversation, but access logs do not tell you much about how GEO policies are actually enforced.&lt;/p&gt;

&lt;p&gt;From the logs you can reasonably say:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;“This crawler family appears to be aware of &lt;code&gt;llms.txt&lt;/code&gt; and fetches it.”&lt;/li&gt;
  &lt;li&gt;“This crawler seems to visit from these IP ranges and with this frequency.”&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;From the logs you cannot safely say:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;“This provider is fully complying with my GEO or usage instructions.”&lt;/li&gt;
  &lt;li&gt;“My content is excluded from all future training runs in all regions.”&lt;/li&gt;
  &lt;li&gt;“If I change &lt;code&gt;llms.txt&lt;/code&gt; today, the effect will propagate everywhere by a specific date.”&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;At best, you can correlate: you publish or change &lt;code&gt;llms.txt&lt;/code&gt;, you see a certain bot fetch it, and you assume that whatever policy they have that mentions the file is now in play. The real enforcement logic and the timelines sit behind someone else’s API and release notes.&lt;/p&gt;

&lt;h2&gt;Why still bother with &lt;code&gt;llms.txt&lt;/code&gt; and logs&lt;/h2&gt;

&lt;p&gt;Even with all those caveats, &lt;code&gt;llms.txt&lt;/code&gt; and &lt;code&gt;llms-full.txt&lt;/code&gt; are still useful knobs to have:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;They give you a clear, machine-readable place to state your preferences.&lt;/li&gt;
  &lt;li&gt;Access logs let you verify at least that some crawlers are paying attention.&lt;/li&gt;
  &lt;li&gt;When policies or providers change, you have a concrete file to update instead of guessing which meta tags or headers matter this month.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The flip side is that they are not magic. If you care about how your content is used in LLMs, logs are just the first, low-tech feedback loop. They tell you who knocked on the door. They do not tell you what happened to the data after it left your server.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>llm</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Why I finally deleted NotePlan</title>
      <dc:creator>Richard Lemon</dc:creator>
      <pubDate>Thu, 27 Aug 2026 23:42:15 +0000</pubDate>
      <link>https://dev.to/richardlemon/why-i-finally-deleted-noteplan-2jnf</link>
      <guid>https://dev.to/richardlemon/why-i-finally-deleted-noteplan-2jnf</guid>
      <description>&lt;h2&gt;The feature list looked perfect. The app did not.&lt;/h2&gt;

&lt;p&gt;On paper, NotePlan inside Setapp can look like a great home for tasks. Daily notes. Calendar integration. Linked references. A whole personal system in one place.&lt;/p&gt;

&lt;p&gt;In practice, it never stuck for me. I would install it, poke around, half-commit to moving things in, then slide back to Todoist and other tools.&lt;/p&gt;

&lt;p&gt;The problem was not the feature list. It was the feeling of using it.&lt;/p&gt;

&lt;h2&gt;NotePlan vs Todoist: the difference you actually feel&lt;/h2&gt;

&lt;p&gt;Todoist has one trick that keeps pulling me back: natural language input that feels like talking to the app instead of configuring it.&lt;/p&gt;

&lt;p&gt;Typing something like:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;Call Sam tomorrow at 3pm #work p1&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;and watching it turn into a properly dated, tagged, prioritised task is hard to beat. The interface mostly gets out of the way. You think about the task, not the tool.&lt;/p&gt;

&lt;p&gt;NotePlan, by comparison, always felt like work before the work. The interface is visually dense: panes, calendars, notes, metadata. The power sits in front of you instead of behind you. Every time I opened it, I had a small moment of friction: &lt;em&gt;where does this thing go&lt;/em&gt; and &lt;em&gt;what is this screen trying to show me&lt;/em&gt;?&lt;/p&gt;

&lt;p&gt;That friction is subtle. It is not a crash, a bug, or a missing feature. It is a half-second of hesitation every time you capture or review. Multiply that by a few dozen interactions a day and you end up with a tool that looks great in theory and quietly loses in practice.&lt;/p&gt;

&lt;h2&gt;Visual friction is adoption friction&lt;/h2&gt;

&lt;p&gt;Visual friction is what happens when the interface makes your brain do admin before it can do the actual task.&lt;/p&gt;

&lt;p&gt;With NotePlan, the combination of calendar, notes, and tasks in one view sounds efficient, but it also asks for constant micro-decisions:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Is this a note, a task, or an event?&lt;/li&gt;
  &lt;li&gt;Should it live in a daily note or a project note?&lt;/li&gt;
  &lt;li&gt;Am I looking at the right pane for the thing I care about?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Todoist, in contrast, is visually boring in a good way. It is a list with some filters. The natural language input means the main interaction is: type what you mean, hit enter, move on. The visual layer confirms what you did instead of asking more questions.&lt;/p&gt;

&lt;p&gt;That difference is one reason a “richer” app like NotePlan can lose to a “simpler” one like Todoist. The richer app has more states to understand. The simpler one lets you stay slightly under-loaded mentally, which is exactly where you want to be when you are trying to actually do things.&lt;/p&gt;

&lt;h2&gt;The moment I finally deleted NotePlan&lt;/h2&gt;

&lt;p&gt;There was no dramatic break-up. I was using Todoist every day, and NotePlan had become an ambitious side system that never quite got fully adopted.&lt;/p&gt;

&lt;p&gt;At some point you have to admit that if you keep re-opening the same app every few months and it never sticks, the problem is not that you have not found the right configuration. The problem is that the tool does not match how your brain wants to see work.&lt;/p&gt;

&lt;p&gt;So I removed NotePlan from the rotation and stopped pretending it was “almost” my all-in-one solution. The result was not a loss of features. It was a gain in clarity.&lt;/p&gt;

&lt;h2&gt;The 4-app stack that replaced the all-in-one dream&lt;/h2&gt;

&lt;p&gt;Instead of forcing everything into one environment, I ended up with a small stack where each app has exactly one job. That constraint turned out to be more useful than any integrated feature set.&lt;/p&gt;

&lt;p&gt;The current daily drivers look like this:&lt;/p&gt;

&lt;h3&gt;1. Todoist: tasks only&lt;/h3&gt;

&lt;p&gt;Todoist is where every actionable item lives. If it has a verb and a clear “done,” it goes here. Nothing else.&lt;/p&gt;

&lt;p&gt;No notes, no long-form thinking, no project briefs. Just tasks, with natural language input doing most of the heavy lifting. This keeps the interface clean and the mental model simple: open Todoist when you want to decide what to do next or capture something you must not forget.&lt;/p&gt;

&lt;h3&gt;2. Calendar: time, not tasks&lt;/h3&gt;

&lt;p&gt;The calendar is for events and time blocks. That is it.&lt;/p&gt;

&lt;p&gt;Meetings, training sessions, and any block of time that is actually reserved goes here. Tasks do not live on the calendar by default. If something from Todoist needs protected time, I block it in the calendar, but the task itself still belongs to Todoist.&lt;/p&gt;

&lt;p&gt;This separation avoids the usual mess where tasks and events fight for the same space and you cannot tell what is optional and what is fixed.&lt;/p&gt;

&lt;h3&gt;3. Notes app: thinking, not tracking&lt;/h3&gt;

&lt;p&gt;A notes app handles all the text that does not have a clear “do this” attached.&lt;/p&gt;

&lt;p&gt;Project outlines, ideas, meeting notes, and reference material live here. Tasks that emerge from notes get promoted into Todoist, but the note itself stays as context, not as a to-do list.&lt;/p&gt;

&lt;p&gt;The key is resisting the temptation to turn the notes app into another task manager. That is how you end up with ghost tasks scattered through documents that never get reviewed.&lt;/p&gt;

&lt;h3&gt;4. Whiteboard or sketch tool: structure, not storage&lt;/h3&gt;

&lt;p&gt;For planning and untangling bigger pieces of work, a whiteboard or sketch tool fills the gap between messy thinking and structured tasks.&lt;/p&gt;

&lt;p&gt;This is where you map flows, group ideas, and see relationships. Once the structure makes sense, the actual actions go into Todoist. The board is allowed to stay messy. It is not a database.&lt;/p&gt;

&lt;h2&gt;Why “one job each” beats “one app for everything”&lt;/h2&gt;

&lt;p&gt;Feature lists push you toward consolidation. If an app can technically do tasks, notes, calendar, and planning, it feels rational to put everything there. In reality, this often creates a second problem: you now have to remember &lt;em&gt;how&lt;/em&gt; you decided to use that flexibility.&lt;/p&gt;

&lt;p&gt;Giving each tool exactly one job does a few useful things:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;You always know where something belongs.&lt;/li&gt;
  &lt;li&gt;You reduce context switching inside each app, because you are not jumping between modes.&lt;/li&gt;
  &lt;li&gt;You are free to swap out one tool without rethinking your entire system.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;NotePlan tried to be the place for everything. The 4-app stack is a set of single-purpose rooms. That small architectural change removed a lot of silent friction.&lt;/p&gt;

&lt;h2&gt;Visual appeal and intuition beat feature checklists&lt;/h2&gt;

&lt;p&gt;None of this shows up in a comparison table. Natural language input vs markdown syntax. Calendar integration vs external calendar. Daily notes vs separate notes app. On a spreadsheet, NotePlan can look like the smarter choice.&lt;/p&gt;

&lt;p&gt;The problem is that you do not live in a spreadsheet. You live in the interface.&lt;/p&gt;

&lt;p&gt;If an app feels visually heavy, if it asks micro-questions before it lets you act, if you keep bouncing off it even though you &lt;em&gt;like&lt;/em&gt; the idea of it, that is data. Ignoring that and chasing features is how you end up maintaining a system instead of doing the work the system was supposed to support.&lt;/p&gt;

&lt;p&gt;Deleting NotePlan was basically admitting that intuition and visual comfort matter more than theoretical power. Once the tool stopped fighting my habits, everything else got simpler.&lt;/p&gt;

</description>
      <category>productivity</category>
      <category>tools</category>
    </item>
    <item>
      <title>Gamifying Cardiac Rehab with Habitica</title>
      <dc:creator>Richard Lemon</dc:creator>
      <pubDate>Thu, 27 Aug 2026 23:41:55 +0000</pubDate>
      <link>https://dev.to/richardlemon/gamifying-cardiac-rehab-with-habitica-5dad</link>
      <guid>https://dev.to/richardlemon/gamifying-cardiac-rehab-with-habitica-5dad</guid>
      <description>&lt;h2&gt;Why I turned recovery into a game&lt;/h2&gt;

&lt;p&gt;Cardiac rehab is a long, repetitive grind. The problem is that it feels like a grind. The exercises matter, the sleep and nutrition matter, but the feedback loop is slow and fuzzy.&lt;/p&gt;

&lt;p&gt;Habitica gives me an immediate feedback loop. I turn recovery into an RPG: quests, parties, XP, streaks. The medical side still lives with doctors and devices. The day-to-day compliance lives in a game.&lt;/p&gt;

&lt;h2&gt;The Habitica party: making recovery a team sport&lt;/h2&gt;

&lt;p&gt;Habitica is built around parties: small groups of players who share quests and damage. A screenshot of my party setup would show a few key things:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Everyone has their own class, gear, and cosmetics, so it looks like a proper RPG group.&lt;/li&gt;
  &lt;li&gt;We share quests that trigger when people complete specific tasks.&lt;/li&gt;
  &lt;li&gt;Missed Dailies deal damage to the whole party, not just you.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That last part is the hook. If I skip a rehab task, it is not just my avatar taking a hit. The whole party pays for it. That bit of social pressure does more than any abstract “you should really exercise” notification.&lt;/p&gt;

&lt;h2&gt;Dailies vs Habits: wiring rehab into the game&lt;/h2&gt;

&lt;p&gt;Habitica has two core building blocks for behavior:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
&lt;strong&gt;Dailies&lt;/strong&gt; are recurring tasks that are either done or not done on a given day.&lt;/li&gt;
  &lt;li&gt;
&lt;strong&gt;Habits&lt;/strong&gt; are behaviors you can do multiple times, or avoid, and they can give positive or negative rewards.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For recovery, I use Dailies for the non-negotiables. If a cardiologist would frown when you skip it, it is probably a Daily. Things like specific rehab sessions, medications, and sleep windows fit here. They show up every day (or on selected days), and if I do not check them off, my character and my party take damage at midnight.&lt;/p&gt;

&lt;p&gt;Habits are better for sliders than switches. They track intensity, quality, and “more vs less” decisions. A Habit might reward extra walking, stretching after sitting too long, or choosing a sensible meal. Negative Habits can punish the things I am trying to avoid.&lt;/p&gt;

&lt;p&gt;The distinction matters because it changes how the task feels. A missed Daily is a clean failure. A missed Habit is just a missed opportunity. Rehab needs both: hard commitments and soft nudges.&lt;/p&gt;

&lt;h2&gt;The 6:40 circuit checklist as a Daily&lt;/h2&gt;

&lt;p&gt;The backbone of my setup is a specific rehab block: a 6:40 circuit. Habitica turns it into a simple Daily with a checklist. The Daily itself is “Complete 6:40 circuit” and inside it lives the step-by-step sequence.&lt;/p&gt;

&lt;p&gt;The checklist looks like:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;0:40 warmup&lt;/li&gt;
  &lt;li&gt;1:00 cardio block&lt;/li&gt;
  &lt;li&gt;1:00 strength block&lt;/li&gt;
  &lt;li&gt;1:00 cardio block&lt;/li&gt;
  &lt;li&gt;1:00 strength block&lt;/li&gt;
  &lt;li&gt;1:00 cooldown / breathing&lt;/li&gt;
  &lt;li&gt;0:20 notes / log&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The Daily makes sure the circuit happens. The checklist turns one vague “do rehab” task into a series of small wins. Every tick gives a little hit of progress before the final completion reward.&lt;/p&gt;

&lt;h2&gt;Using WHOOP recovery as a daily XP multiplier&lt;/h2&gt;

&lt;p&gt;WHOOP gives a daily recovery score. It is a compact summary of how ready your body supposedly is for strain: sleep, HRV, resting heart rate, and so on rolled into one number.&lt;/p&gt;

&lt;p&gt;In my setup, that recovery score becomes an XP multiplier for the day. The logic is simple:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;High WHOOP recovery = high multiplier. Rehab work that day should be a little heavier and more rewarding in-game.&lt;/li&gt;
  &lt;li&gt;Low WHOOP recovery = low multiplier. Focus on the minimum viable Dailies and do not chase streaks with hero workouts.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Practically, I look at the WHOOP score in the morning and mentally tag the day as “green,” “yellow,” or “red.” Then I adjust how aggressively I chase Habitica rewards.&lt;/p&gt;

&lt;p&gt;On a green day, I try to clear all the Dailies, complete the full 6:40 circuit, and hit a few bonus Habits. It feels like a double-XP weekend: the game and the body are aligned.&lt;/p&gt;

&lt;p&gt;On a red day, the win condition is narrower. The goal is to protect streaks on the core Dailies, keep the party from taking damage, and then stop. The game does not get to overrule the recovery score.&lt;/p&gt;

&lt;h2&gt;The Todoist shutdown ritual as a quest&lt;/h2&gt;

&lt;p&gt;Recovery is not just workouts and heart rate graphs. A big part of it is not carrying work stress into the evening. For that, I use a shutdown ritual in Todoist and mirror it in Habitica as a quest.&lt;/p&gt;

&lt;p&gt;The Todoist side holds the actual work tasks: review the inbox, clear or reschedule remaining tasks, capture loose ideas, and pick the top priorities for tomorrow. It is a straightforward checklist that closes the workday.&lt;/p&gt;

&lt;p&gt;In Habitica, this becomes a quest-like Daily. The checklist looks like:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Review today’s completed tasks in Todoist&lt;/li&gt;
  &lt;li&gt;Reschedule or drop any remaining tasks&lt;/li&gt;
  &lt;li&gt;Write down tomorrow’s 1–3 priorities&lt;/li&gt;
  &lt;li&gt;Close work apps and mute notifications&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Completing it earns XP and gold, like a battle. Skipping it means walking into the evening with open loops, which is exactly what I do not want when recovery is the priority.&lt;/p&gt;

</description>
      <category>motivation</category>
      <category>productivity</category>
    </item>
    <item>
      <title>A CSS Hover-Reveal Pattern for Technical Specs</title>
      <dc:creator>Richard Lemon</dc:creator>
      <pubDate>Fri, 21 Aug 2026 06:46:13 +0000</pubDate>
      <link>https://dev.to/richardlemon/a-css-hover-reveal-pattern-for-technical-specs-413h</link>
      <guid>https://dev.to/richardlemon/a-css-hover-reveal-pattern-for-technical-specs-413h</guid>
      <description>&lt;h2&gt;The problem on the Gate Seal page&lt;/h2&gt;

&lt;p&gt;The Gate Seal product page for a maritime client needed to present detailed specifications without turning the layout into a wall of text or a table that looked like an export from Excel. The technical detail buyers cared about was present, but visually buried.&lt;/p&gt;

&lt;p&gt;The requirement was to surface those details in a compact way, keep the implementation CSS-only, and make sure it still worked with keyboard navigation.&lt;/p&gt;

&lt;h2&gt;The hover-reveal pattern&lt;/h2&gt;

&lt;p&gt;The pattern below uses a hover-reveal on key specification rows. On desktop, moving the cursor over a spec row reveals additional context. With a keyboard, focusing the same row does the same thing. No JavaScript is required for the basic interaction.&lt;/p&gt;

&lt;p&gt;Structurally, each spec item is a container with two layers of content:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Always-visible summary (label and primary value)&lt;/li&gt;
  &lt;li&gt;Hidden detail that appears on hover or focus&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Here is a simplified version of the markup:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;lt;div class="spec-list"&amp;gt;
  &amp;lt;button class="spec-item"&amp;gt;
    &amp;lt;div class="spec-main"&amp;gt;
      &amp;lt;span class="spec-label"&amp;gt;Gate size&amp;lt;/span&amp;gt;
      &amp;lt;span class="spec-value"&amp;gt;Up to 6 m&amp;lt;/span&amp;gt;
    &amp;lt;/div&amp;gt;
    &amp;lt;div class="spec-detail"&amp;gt;
      Custom diameters available for retrofit situations.
    &amp;lt;/div&amp;gt;
  &amp;lt;/button&amp;gt;

  &amp;lt;button class="spec-item"&amp;gt;
    &amp;lt;div class="spec-main"&amp;gt;
      &amp;lt;span class="spec-label"&amp;gt;Seal material&amp;lt;/span&amp;gt;
      &amp;lt;span class="spec-value"&amp;gt;EPDM / NBR&amp;lt;/span&amp;gt;
    &amp;lt;/div&amp;gt;
    &amp;lt;div class="spec-detail"&amp;gt;
      Oil-resistant compounds for lock gates in heavy traffic.&amp;lt;/div&amp;gt;
  &amp;lt;/button&amp;gt;
&amp;lt;/div&amp;gt;&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;The choice of &lt;code&gt;&amp;lt;button&amp;gt;&lt;/code&gt; here is deliberate: it is naturally focusable, works with keyboard navigation, and is announced as an interactive element by assistive technology. In a production implementation, the button semantics can be adapted depending on whether you need a true button or a different element with &lt;code&gt;role="button"&lt;/code&gt;.&lt;/p&gt;

&lt;h3&gt;The CSS-only interaction&lt;/h3&gt;

&lt;p&gt;The interaction is controlled through &lt;code&gt;:hover&lt;/code&gt; and &lt;code&gt;:focus-visible&lt;/code&gt;, with a basic transition for a smoother reveal.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;.spec-list {
  display: grid;
  gap: 0.75rem;
}

.spec-item {
  width: 100%;
  text-align: left;
  border: 1px solid #d0d5dd;
  border-radius: 4px;
  padding: 0.75rem 1rem;
  background: #ffffff;
  cursor: pointer;
  position: relative;
}

.spec-item:focus-visible {
  outline: 2px solid #004b8d;
  outline-offset: 2px;
}

.spec-main {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.spec-label {
  font-weight: 500;
}

.spec-value {
  color: #344054;
}

.spec-detail {
  margin-top: 0.4rem;
  font-size: 0.875rem;
  color: #475467;

  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.18s ease-out, opacity 0.18s ease-out;
}

.spec-item:hover .spec-detail,
.spec-item:focus-visible .spec-detail {
  max-height: 6rem; /* large enough for typical copy */
  opacity: 1;
}&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;The detail block is always in the DOM and available to assistive technology, but visually collapsed until the user shows intent to inspect that spec with the mouse or the keyboard.&lt;/p&gt;

&lt;h2&gt;Keyboard and accessibility fallback&lt;/h2&gt;

&lt;p&gt;A pure hover interaction would be a problem for keyboard users and some assistive technologies. Mirroring the behavior on &lt;code&gt;:focus-visible&lt;/code&gt; avoids that.&lt;/p&gt;

&lt;p&gt;With the structure above:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Each &lt;code&gt;.spec-item&lt;/code&gt; is focusable and reachable via Tab.&lt;/li&gt;
  &lt;li&gt;The same detail that appears on hover also appears on focus-visible.&lt;/li&gt;
  &lt;li&gt;The content is not injected; it is in the DOM and readable by screen readers regardless of the visual state.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If stricter control of what screen readers announce is required, &lt;code&gt;aria-expanded&lt;/code&gt; attributes can be added and toggled with a small amount of JavaScript, but the base pattern does not depend on that. The important part is that there is no information that is only available on hover.&lt;/p&gt;

&lt;p&gt;On touch devices, there is no hover, so the interaction degrades to a tap-to-focus behavior. The spec item receives focus when tapped, the detail appears, and tapping elsewhere moves focus away again. If that feels too subtle on mobile, details can be kept always visible below a certain breakpoint:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;@media (max-width: 768px) {
  .spec-detail {
    max-height: none;
    opacity: 1;
  }
}&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;This keeps specs compact and interactive on larger screens where hover exists, and straightforward on phones.&lt;/p&gt;

&lt;h2&gt;Using this pattern on the Gate Seal page&lt;/h2&gt;

&lt;p&gt;On the Gate Seal page, this pattern can be applied to key specifications such as material options, mounting configurations, and maintenance notes. Core numbers stay visible, and the hover-reveal carries clarifications and edge-case notes.&lt;/p&gt;

&lt;p&gt;The Gate Seal product page exists to support real purchasing decisions, so the interaction should be reserved for supplementary context rather than critical safety, pricing, or legal information. Those details should remain visible by default.&lt;/p&gt;

</description>
      <category>a11y</category>
      <category>css</category>
      <category>frontend</category>
      <category>webdev</category>
    </item>
    <item>
      <title>The Schema.org Markup Every Client Site Should Ship With</title>
      <dc:creator>Richard Lemon</dc:creator>
      <pubDate>Sun, 16 Aug 2026 12:13:46 +0000</pubDate>
      <link>https://dev.to/richardlemon/the-schemaorg-markup-every-client-site-should-ship-with-4fl3</link>
      <guid>https://dev.to/richardlemon/the-schemaorg-markup-every-client-site-should-ship-with-4fl3</guid>
      <description>&lt;h2&gt;My default structured data bundle&lt;/h2&gt;

&lt;p&gt;I got tired of treating Schema.org like a research project.&lt;/p&gt;

&lt;p&gt;You know the drill. New client. New niche. Too many schema types. Then you add nothing because it feels endless.&lt;/p&gt;

&lt;p&gt;So I stopped doing that. I built a small default bundle instead. A set of JSON-LD blocks I ship on almost every marketing or SaaS site, plus a couple of variants for blogs and local businesses.&lt;/p&gt;

&lt;p&gt;This is the technical walkthrough of that bundle. No theory. Just the markup I actually use, and where it lives.&lt;/p&gt;

&lt;h2&gt;Core rules I follow&lt;/h2&gt;

&lt;p&gt;Before the snippets, a few constraints I stick to.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
&lt;strong&gt;JSON-LD only.&lt;/strong&gt; No microdata, no RDFa. It lives in &lt;code&gt;&amp;lt;script type="application/ld+json"&amp;gt;&lt;/code&gt; blocks.&lt;/li&gt;
  &lt;li&gt;
&lt;strong&gt;One primary entity per page.&lt;/strong&gt; Google can handle more, but I keep it simple unless I really need composites.&lt;/li&gt;
  &lt;li&gt;
&lt;strong&gt;Generated, not hand-written.&lt;/strong&gt; I wire this into the build step or CMS fields. No manual copy paste for every page.&lt;/li&gt;
  &lt;li&gt;
&lt;strong&gt;Data must exist visually.&lt;/strong&gt; If the user cannot see it, I do not put it in schema. That keeps me out of spam territory.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;Where I inject JSON-LD&lt;/h2&gt;

&lt;p&gt;I put JSON-LD in the HTML head wherever possible.&lt;/p&gt;

&lt;p&gt;React / Next.js: I attach it to a &lt;code&gt;&amp;lt;Head&amp;gt;&lt;/code&gt; component. Astro / Svelte / plain HTML: I write it straight into &lt;code&gt;&amp;lt;head&amp;gt;&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;If I need dynamic data, I render the JSON on the server, then drop it in as stringified content.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;lt;script type="application/ld+json"&amp;gt;
{ ...jsonHere }
&amp;lt;/script&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;No CDNs. No external scripts. Search engines want the JSON inline.&lt;/p&gt;

&lt;h2&gt;1. Site-wide: WebSite + SearchAction&lt;/h2&gt;

&lt;p&gt;Every multi-page site I ship gets a base &lt;code&gt;WebSite&lt;/code&gt; schema on the homepage. It is tiny, and Google uses it for sitelinks search boxes.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;{
  "@context": "https://schema.org",
  "@type": "WebSite",
  "name": "Acme Analytics",
  "url": "https://acmeanalytics.com/",
  "potentialAction": {
    "@type": "SearchAction",
    "target": "https://acmeanalytics.com/search?q={search_term_string}",
    "query-input": "required name=search_term_string"
  }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;A few rules I stick to:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
&lt;strong&gt;Only on the root URL.&lt;/strong&gt; I keep this script on &lt;code&gt;/&lt;/code&gt;, not on every page.&lt;/li&gt;
  &lt;li&gt;
&lt;strong&gt;Search endpoint must exist.&lt;/strong&gt; If there is no search, I drop &lt;code&gt;potentialAction&lt;/code&gt;. No fake endpoints.&lt;/li&gt;
  &lt;li&gt;
&lt;strong&gt;Exact canonical URL.&lt;/strong&gt; I match the &lt;code&gt;url&lt;/code&gt; value to the canonical link tag, every time.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Implementation detail. I have a small &lt;code&gt;buildWebsiteSchema(config)&lt;/code&gt; helper where I feed &lt;code&gt;siteName&lt;/code&gt;, &lt;code&gt;url&lt;/code&gt;, and optional &lt;code&gt;searchUrl&lt;/code&gt;. The page component just calls it and stringifies the JSON.&lt;/p&gt;

&lt;h2&gt;2. The main entity: Organization or LocalBusiness&lt;/h2&gt;

&lt;p&gt;Almost every client site represents a company of some sort. I start with a generic &lt;code&gt;Organization&lt;/code&gt;. For brick-and-mortar clients I switch to a more specific &lt;code&gt;LocalBusiness&lt;/code&gt; subtype.&lt;/p&gt;

&lt;h3&gt;Global company: Organization schema&lt;/h3&gt;

&lt;p&gt;This is my baseline for SaaS, agencies without public shops, and any online-only service.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;{
  "@context": "https://schema.org",
  "@type": "Organization",
  "name": "Acme Analytics",
  "url": "https://acmeanalytics.com/",
  "logo": "https://acmeanalytics.com/assets/logo.svg",
  "sameAs": [
    "https://twitter.com/acmeanalytics",
    "https://www.linkedin.com/company/acme-analytics/"
  ],
  "contactPoint": [
    {
      "@type": "ContactPoint",
      "telephone": "+31-20-123-4567",
      "contactType": "sales",
      "areaServed": "NL",
      "availableLanguage": ["en", "nl"]
    }
  ]
}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Some details I do not skip:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
&lt;strong&gt;Logo URL.&lt;/strong&gt; I use the same logo as in the header, absolute URL, and make sure it is crawlable.&lt;/li&gt;
  &lt;li&gt;
&lt;strong&gt;sameAs.&lt;/strong&gt; Only real social profiles, nothing else. I do not put random directories in there.&lt;/li&gt;
  &lt;li&gt;
&lt;strong&gt;contactPoint.&lt;/strong&gt; If we show a phone number on the site, I reflect it here. Otherwise I remove the block.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This usually lives on the homepage next to the &lt;code&gt;WebSite&lt;/code&gt; schema. Two separate scripts.&lt;/p&gt;

&lt;h3&gt;Local business: LocalBusiness schema&lt;/h3&gt;

&lt;p&gt;For gyms, clinics, restaurants, barber shops, I use the matching &lt;code&gt;LocalBusiness&lt;/code&gt; subtype instead: &lt;code&gt;Restaurant&lt;/code&gt;, &lt;code&gt;Physiotherapy&lt;/code&gt;, &lt;code&gt;HealthClub&lt;/code&gt;, and so on.&lt;/p&gt;

&lt;p&gt;Example for a gym:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;{
  "@context": "https://schema.org",
  "@type": "HealthClub",
  "name": "Lemon Performance Lab",
  "image": "https://lemonperformance.nl/og-image.jpg",
  "@id": "https://lemonperformance.nl/#business",
  "url": "https://lemonperformance.nl/",
  "telephone": "+31-6-1234-5678",
  "address": {
    "@type": "PostalAddress",
    "streetAddress": "Brouwersgracht 100",
    "addressLocality": "Amsterdam",
    "postalCode": "1013 GP",
    "addressCountry": "NL"
  },
  "geo": {
    "@type": "GeoCoordinates",
    "latitude": 52.381,
    "longitude": 4.887
  },
  "openingHoursSpecification": [
    {
      "@type": "OpeningHoursSpecification",
      "dayOfWeek": ["Monday", "Wednesday", "Friday"],
      "opens": "07:00",
      "closes": "18:00"
    }
  ],
  "sameAs": [
    "https://www.instagram.com/lemonperformance/"
  ]
}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Things that matter here:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;I add an &lt;code&gt;@id&lt;/code&gt; with a hash fragment. It gives the entity a stable identifier I can reference later if needed.&lt;/li&gt;
  &lt;li&gt;I do not invent coordinates. I pull them from Google Maps or the client.&lt;/li&gt;
  &lt;li&gt;
&lt;code&gt;openingHoursSpecification&lt;/code&gt; must match the actual hours displayed on the page.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;On local sites this block is non-negotiable. Rankings and knowledge panel consistency improve a lot once it is in place.&lt;/p&gt;

&lt;h2&gt;3. Every page: WebPage schema&lt;/h2&gt;

&lt;p&gt;Most devs skip &lt;code&gt;WebPage&lt;/code&gt;. I like it because it gives me a predictable way to describe the actual page entity, tie it to the main organization, and reuse metadata I already have.&lt;/p&gt;

&lt;p&gt;I generate this on &lt;em&gt;every&lt;/em&gt; indexable page with a simple helper.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;{
  "@context": "https://schema.org",
  "@type": "WebPage",
  "name": "Customer data without the headaches",
  "url": "https://acmeanalytics.com/customer-data-platform",
  "description": "Acme Analytics gives you a privacy-first CDP your team can actually maintain.",
  "inLanguage": "en",
  "isPartOf": {
    "@type": "WebSite",
    "url": "https://acmeanalytics.com/"
  },
  "about": {
    "@id": "https://acmeanalytics.com/#organization"
  }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;A couple of notes:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
&lt;strong&gt;name&lt;/strong&gt; is almost always the page title.&lt;/li&gt;
  &lt;li&gt;
&lt;strong&gt;description&lt;/strong&gt; mirrors the meta description or a trimmed hero copy.&lt;/li&gt;
  &lt;li&gt;
&lt;strong&gt;about&lt;/strong&gt; points to the &lt;code&gt;@id&lt;/code&gt; of the organization on the homepage.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;On static site generators this fits nicely into a layout template. I already have &lt;code&gt;title&lt;/code&gt;, &lt;code&gt;description&lt;/code&gt;, &lt;code&gt;url&lt;/code&gt; variables, so I just feed them into &lt;code&gt;buildWebPageSchema()&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;4. Blog posts: Article schema&lt;/h2&gt;

&lt;p&gt;Any site that has a blog or resources section gets &lt;code&gt;Article&lt;/code&gt; markup on each post. I do not go crazy with subtypes unless I have a good reason. &lt;code&gt;BlogPosting&lt;/code&gt; is enough.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;{
  "@context": "https://schema.org",
  "@type": "BlogPosting",
  "headline": "How I shipped our analytics migration in 3 weeks",
  "description": "The exact process I used to move 12 properties from UA to GA4 without losing our minds.",
  "image": [
    "https://acmeanalytics.com/blog/ga4-migration/cover.jpg"
  ],
  "author": {
    "@type": "Person",
    "name": "Richard Lemon",
    "url": "https://richardlemon.com/"
  },
  "publisher": {
    "@type": "Organization",
    "name": "Acme Analytics",
    "logo": {
      "@type": "ImageObject",
      "url": "https://acmeanalytics.com/assets/logo-512.png"
    }
  },
  "datePublished": "2024-03-18T09:00:00+01:00",
  "dateModified": "2024-03-20T10:30:00+01:00",
  "mainEntityOfPage": {
    "@type": "WebPage",
    "@id": "https://acmeanalytics.com/blog/ga4-migration"
  }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;This is where text data from the CMS pays off. I map fields directly:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Title field to &lt;code&gt;headline&lt;/code&gt;.&lt;/li&gt;
  &lt;li&gt;Excerpt field to &lt;code&gt;description&lt;/code&gt;.&lt;/li&gt;
  &lt;li&gt;Featured image to &lt;code&gt;image&lt;/code&gt;.&lt;/li&gt;
  &lt;li&gt;Author model to &lt;code&gt;author&lt;/code&gt; object.&lt;/li&gt;
  &lt;li&gt;Published / updated timestamps to &lt;code&gt;datePublished&lt;/code&gt; and &lt;code&gt;dateModified&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If the blog supports multiple authors, I let &lt;code&gt;author&lt;/code&gt; be an array. Same structure, just wrapped.&lt;/p&gt;

&lt;h2&gt;5. Product or pricing pages: Product + Offer&lt;/h2&gt;

&lt;p&gt;I am careful with &lt;code&gt;Product&lt;/code&gt; schema. I only use it if there is an actual product with pricing and a way to buy. That could be an ecommerce product, a SaaS plan, or a course.&lt;/p&gt;

&lt;p&gt;Here is a simple SaaS plan example on a pricing page.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Acme Analytics Pro",
  "description": "Event-based analytics for product teams that need real-time dashboards.",
  "image": "https://acmeanalytics.com/assets/pro-plan.png",
  "brand": {
    "@type": "Organization",
    "name": "Acme Analytics"
  },
  "offers": {
    "@type": "Offer",
    "url": "https://acmeanalytics.com/pricing",
    "priceCurrency": "EUR",
    "price": "79",
    "priceValidUntil": "2025-12-31",
    "availability": "https://schema.org/InStock"
  }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Key constraints I follow:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
&lt;strong&gt;Exact price.&lt;/strong&gt; It has to match the visible price on the page. If we show “starting at 79”, I use that number.&lt;/li&gt;
  &lt;li&gt;
&lt;strong&gt;No fake discounts.&lt;/strong&gt; If the site does not show a discount, I do not use &lt;code&gt;priceSpecification&lt;/code&gt; with &lt;code&gt;price&lt;/code&gt; vs &lt;code&gt;priceBeforeDiscount&lt;/code&gt;.&lt;/li&gt;
  &lt;li&gt;
&lt;strong&gt;Limit the scope.&lt;/strong&gt; I only put this schema on the pricing page or the dedicated product detail page, not globally.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For shops with reviews, I also wire in &lt;code&gt;aggregateRating&lt;/code&gt; and &lt;code&gt;review&lt;/code&gt; only when the rating count and values are rendered in the UI.&lt;/p&gt;

&lt;h2&gt;6. BreadcrumbList for content depth&lt;/h2&gt;

&lt;p&gt;If the site has a clear content hierarchy, I add &lt;code&gt;BreadcrumbList&lt;/code&gt;. This can produce breadcrumb rich results, but I mostly like it because it encodes structure explicitly.&lt;/p&gt;

&lt;p&gt;Example for a blog post nested one level deep.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;{
  "@context": "https://schema.org",
  "@type": "BreadcrumbList",
  "itemListElement": [
    {
      "@type": "ListItem",
      "position": 1,
      "name": "Blog",
      "item": "https://acmeanalytics.com/blog"
    },
    {
      "@type": "ListItem",
      "position": 2,
      "name": "GA4 Migration",
      "item": "https://acmeanalytics.com/blog/ga4-migration"
    }
  ]
}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I let the router or CMS build this automatically from the URL structure. If there is no real breadcrumb UI, I skip this. I like my structured data to mirror the layout.&lt;/p&gt;

&lt;h2&gt;7. How I actually wire this up&lt;/h2&gt;

&lt;p&gt;All of this is useless if it lives in a Notion doc. The power comes from making it boring, repeatable, and hard to break.&lt;/p&gt;

&lt;p&gt;This is roughly how I integrate it on client projects.&lt;/p&gt;

&lt;h3&gt;Step 1: Central schema helpers&lt;/h3&gt;

&lt;p&gt;I keep a &lt;code&gt;schema/&lt;/code&gt; or &lt;code&gt;seo/&lt;/code&gt; folder with tiny pure functions that return POJOs for each type.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;// schema/website.ts
export function buildWebsiteSchema({ name, url, searchUrl }) {
  const base: any = {
    "@context": "https://schema.org",
    "@type": "WebSite",
    name,
    url
  };

  if (searchUrl) {
    base.potentialAction = {
      "@type": "SearchAction",
      target: `${searchUrl}?q={search_term_string}`,
      "query-input": "required name=search_term_string"
    };
  }

  return base;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Each helper hides the annoying details. Pages just pass real data.&lt;/p&gt;

&lt;h3&gt;Step 2: Shared head component&lt;/h3&gt;

&lt;p&gt;I do not scatter &lt;code&gt;&amp;lt;script&amp;gt;&lt;/code&gt; tags everywhere. Instead I use a shared SEO or head component that accepts structured data as an array.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;function JsonLd({ data }) {
  return (
    &amp;lt;script
      type="application/ld+json"
      dangerouslySetInnerHTML={{ __html: JSON.stringify(data) }}
    /&amp;gt;
  );
}

function SeoHead({ title, description, schemas = [] }) {
  return (
    &amp;lt;Head&amp;gt;
      &amp;lt;title&amp;gt;{title}&amp;lt;/title&amp;gt;
      &amp;lt;meta name="description" content={description} /&amp;gt;
      {schemas.map((schema, i) =&amp;gt; (
        &amp;lt;JsonLd key={i} data={schema} /&amp;gt;
      ))}
    &amp;lt;/Head&amp;gt;
  );
}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Now any page can plug in the relevant schema variants without repeating the script wrapper logic.&lt;/p&gt;

&lt;h3&gt;Step 3: Validate in CI at least once&lt;/h3&gt;

&lt;p&gt;I do two passes.&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;During development I use the Schema.org or Google Rich Results test against my local or a staging URL.&lt;/li&gt;
  &lt;li&gt;Before launch I run a quick automated check that hits a couple of canonical pages and asserts the &lt;code&gt;&amp;lt;script type="application/ld+json"&amp;gt;&lt;/code&gt; blocks exist.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I am not chasing zero warnings. I mostly want to avoid accidentally shipping broken JSON or wildly inconsistent data.&lt;/p&gt;

&lt;h2&gt;The minimal bundle I recommend&lt;/h2&gt;

&lt;p&gt;If you build sites for clients and want a &lt;em&gt;minimum&lt;/em&gt; structured data set that covers most use cases, I would ship this on every project:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;
&lt;strong&gt;Homepage:&lt;/strong&gt; &lt;code&gt;WebSite&lt;/code&gt; + &lt;code&gt;Organization&lt;/code&gt; or &lt;code&gt;LocalBusiness&lt;/code&gt; + &lt;code&gt;WebPage&lt;/code&gt;.&lt;/li&gt;
  &lt;li&gt;
&lt;strong&gt;Standard pages:&lt;/strong&gt; &lt;code&gt;WebPage&lt;/code&gt;.&lt;/li&gt;
  &lt;li&gt;
&lt;strong&gt;Blog index:&lt;/strong&gt; &lt;code&gt;WebPage&lt;/code&gt; (optionally &lt;code&gt;CollectionPage&lt;/code&gt; if you want, but I do not bother).&lt;/li&gt;
  &lt;li&gt;
&lt;strong&gt;Blog posts:&lt;/strong&gt; &lt;code&gt;WebPage&lt;/code&gt; + &lt;code&gt;BlogPosting&lt;/code&gt; + &lt;code&gt;BreadcrumbList&lt;/code&gt;.&lt;/li&gt;
  &lt;li&gt;
&lt;strong&gt;Pricing / product pages:&lt;/strong&gt; &lt;code&gt;WebPage&lt;/code&gt; + &lt;code&gt;Product&lt;/code&gt; (with &lt;code&gt;Offer&lt;/code&gt;) when there is a real product.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This keeps the implementation small enough that you can wire it up properly, automate it, and forget about it. Which is the point. Structured data should be boring infra, not a one-off SEO stunt.&lt;/p&gt;

&lt;p&gt;Ship it once, wire it into your layouts, and your future client projects get it for free.&lt;/p&gt;

</description>
      <category>html</category>
      <category>seo</category>
      <category>software</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
