<?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: Vincent Schmalbach</title>
    <description>The latest articles on DEV Community by Vincent Schmalbach (@vincentsch).</description>
    <link>https://dev.to/vincentsch</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%2F4266691%2Fe85d451f-893b-43ff-8121-4ccbac5d2a84.jpg</url>
      <title>DEV Community: Vincent Schmalbach</title>
      <link>https://dev.to/vincentsch</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/vincentsch"/>
    <language>en</language>
    <item>
      <title>Making an explainer video with Claude Code and an open-source renderer</title>
      <dc:creator>Vincent Schmalbach</dc:creator>
      <pubDate>Fri, 27 Nov 2026 08:00:00 +0000</pubDate>
      <link>https://dev.to/explainroo/making-an-explainer-video-with-claude-code-and-an-open-source-renderer-507b</link>
      <guid>https://dev.to/explainroo/making-an-explainer-video-with-claude-code-and-an-open-source-renderer-507b</guid>
      <description>&lt;p&gt;An explainer video is a short video where a voice explains one idea and drawings appear while it speaks. For a developer tool it's often the fastest way to show what the thing does. You can put one at the top of a README, or next to a feature in the docs that is hard to explain in text.&lt;/p&gt;

&lt;p&gt;Making one used to mean a screen recorder and a video editor. Now a coding agent can do most of it. It can write the script and draw the scenes in code. What it can't do on its own is turn that into a video file, or watch the video to see whether it's any good.&lt;/p&gt;

&lt;p&gt;I built explainroo for that part. It's a free, open-source video tool for AI agents under the MIT license. I make the videos for my other products with it. Most of the advice about the script holds for any tool.&lt;/p&gt;

&lt;h2&gt;
  
  
  Start with the words
&lt;/h2&gt;

&lt;p&gt;A few things I'd keep in mind about the script:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;One idea per video. "How our sync works" is a video. "Everything about our product" is a landing page.&lt;/li&gt;
&lt;li&gt;About 60 to 90 seconds for a first video. You can make a longer one later, once you know the short one works.&lt;/li&gt;
&lt;li&gt;One idea per scene. If the voice says two things, the picture can only show one of them.&lt;/li&gt;
&lt;li&gt;Write it for the ear. Short sentences read aloud better than long ones, and a voice model stumbles less over plain words than over clever ones.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How explainroo turns that into a video
&lt;/h2&gt;

&lt;p&gt;The agent writes two files. &lt;code&gt;script.md&lt;/code&gt; holds the words the voice says. &lt;code&gt;scenes.js&lt;/code&gt; draws the pictures with a bit of JavaScript, and each drawing can appear on a word from the script. explainroo does the rest on your computer:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Part&lt;/th&gt;
&lt;th&gt;What does it&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Voice&lt;/td&gt;
&lt;td&gt;Kokoro, an open voice model with 54 voices, or your own recording&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Timing&lt;/td&gt;
&lt;td&gt;Whisper, which notes when each word is spoken&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Pictures&lt;/td&gt;
&lt;td&gt;Chrome in the background, with hand-drawn lines from Rough.js and Lucide icons&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Camera&lt;/td&gt;
&lt;td&gt;moves in on what the voice talks about and pulls back at the end&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;File&lt;/td&gt;
&lt;td&gt;ffmpeg, which writes an MP4 with subtitles and a cover image, plus YouTube chapters when the script has them&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Kokoro reads English, Spanish, French, Italian, Brazilian Portuguese, Hindi, Japanese and Mandarin Chinese. It needs no account and no API key. German works with an ElevenLabs or Cartesia voice on your own key, or with your own recording, because Kokoro has no German voice.&lt;/p&gt;

&lt;h2&gt;
  
  
  Making the first video
&lt;/h2&gt;

&lt;p&gt;Open Claude Code in an empty folder and paste this, with your topic in the brackets:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Make me a short explainer video about [your topic].
Use explainroo for it: run npx --yes explainroo docs and follow what it prints.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The agent sets up explainroo through npx, so you don't clone anything. It writes the script and the scenes. Then it renders the video and checks it, and you get an MP4 file.&lt;/p&gt;

&lt;p&gt;You need Node.js 20.11 or newer, ffmpeg and Chrome or Chromium. The first run downloads about 400 MB of voice and timing models. It also works with Codex, Pi and other coding agents, and it works best with Claude Code.&lt;/p&gt;

&lt;p&gt;If you don't like a scene, say so in plain words: "the second scene shows too much text, use an icon and three words instead." The agent changes &lt;code&gt;scenes.js&lt;/code&gt; and renders again.&lt;/p&gt;

&lt;h2&gt;
  
  
  How an agent checks a video it can't watch
&lt;/h2&gt;

&lt;p&gt;An agent can't watch a video, so explainroo gives it other ways to see its work:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;stills of each scene and a sheet of small frames for the whole video&lt;/li&gt;
&lt;li&gt;a layout check that finds text that is cut off or overlaps&lt;/li&gt;
&lt;li&gt;a speech check that finds words the voice got wrong&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For a video that will play small, like in a social feed, there is a flag for that:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx --yes explainroo check videos/my-video --view-width 854
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It flags text that would be too small to read at that width.&lt;/p&gt;

&lt;h2&gt;
  
  
  Checking videos you made some other way
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;check&lt;/code&gt; and &lt;code&gt;verify&lt;/code&gt; also work on a video file made with any tool, including a screen recording you edited yourself:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npx --yes explainroo check talk.mp4 --script script.txt
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The report lists:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;black or blank frames, and stretches where the picture stands still&lt;/li&gt;
&lt;li&gt;silence, the loudness and the true peak&lt;/li&gt;
&lt;li&gt;text too small to read on a phone&lt;/li&gt;
&lt;li&gt;with &lt;code&gt;--script&lt;/code&gt;, the words of your script that the speech model didn't hear&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Add &lt;code&gt;--json&lt;/code&gt; and your agent can read the report.&lt;/p&gt;

&lt;p&gt;There is also &lt;code&gt;npx --yes explainroo cut talk.mp4&lt;/code&gt;, which edits your own recording by its words. It writes &lt;code&gt;talk.cut.md&lt;/code&gt;, one sentence a line with the time of each word. You or your agent delete words and long pauses there, and &lt;code&gt;npx --yes explainroo cut talk.mp4 --apply&lt;/code&gt; writes the shorter video with a short crossfade at each cut.&lt;/p&gt;

&lt;h2&gt;
  
  
  Product demos from your real app
&lt;/h2&gt;

&lt;p&gt;Since version 0.6, &lt;code&gt;explainroo record&lt;/code&gt; records your app, and a scene plays that recording with a pointer and zooms that land on the narration. For a product demo, a recording shows the viewer the screen they will use.&lt;/p&gt;

&lt;h2&gt;
  
  
  Other tools worth knowing
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Tool&lt;/th&gt;
&lt;th&gt;Good for&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Remotion&lt;/td&gt;
&lt;td&gt;videos written as React components, with full control in code&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Manim&lt;/td&gt;
&lt;td&gt;math and science animations, the library behind 3Blue1Brown's videos&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Synthesia, HeyGen&lt;/td&gt;
&lt;td&gt;videos with an AI presenter, made in a web app&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Loom&lt;/td&gt;
&lt;td&gt;quick screen recordings with your own face and voice&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;If you already know React and want a video template your app fills with data, Remotion is the obvious choice. If you want an AI presenter talking to the camera, that's Synthesia or HeyGen. explainroo is for the case where you want an agent to do the whole explainer and you want it to run on your own machine.&lt;/p&gt;

&lt;h2&gt;
  
  
  What leaves your computer
&lt;/h2&gt;

&lt;p&gt;Making the video sends nothing anywhere. Everything explainroo does runs on your computer, and explainroo itself is free. Your coding agent is a separate service with its own terms and prices. Outside services for voices or AI video clips are optional and run on your own key. The code is on GitHub at &lt;a href="https://github.com/vincentsch/explainroo" rel="noopener noreferrer"&gt;vincentsch/explainroo&lt;/a&gt;, and &lt;a href="https://www.explainroo.com/videos/" rel="noopener noreferrer"&gt;explainroo.com/videos&lt;/a&gt; has example videos that agents made with it.&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>opensource</category>
      <category>ai</category>
      <category>claude</category>
    </item>
    <item>
      <title>Giving Claude Google results from any city with an MCP server</title>
      <dc:creator>Vincent Schmalbach</dc:creator>
      <pubDate>Thu, 26 Nov 2026 11:02:37 +0000</pubDate>
      <link>https://dev.to/chabai/giving-claude-google-results-from-any-city-with-an-mcp-server-5b7i</link>
      <guid>https://dev.to/chabai/giving-claude-google-results-from-any-city-with-an-mcp-server-5b7i</guid>
      <description>&lt;p&gt;Google doesn't show everyone the same results. If you search for "emergency plumber" in Leeds, you get Leeds plumbers and a map with Leeds businesses. If you search the same words in Manchester, you see other plumbers and another map. Even a search without a local intent, like "accounting software for freelancers", can look different from one country to the next.&lt;/p&gt;

&lt;p&gt;That matters as soon as you work on a site for someone who isn't sitting where you are. A client asks why they can't find themselves on Google. You search from your own laptop and see the results for your own city, which tells you nothing about theirs.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why your own search doesn't help
&lt;/h2&gt;

&lt;p&gt;Google uses your location and your search history to decide what to show you. A VPN changes your IP address, but Google also looks at your browser language and the settings of your Google account. You end up with a mix that doesn't match what a person in that city sees.&lt;/p&gt;

&lt;p&gt;There are cleaner ways to do it by hand:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Google's URL parameters. &lt;code&gt;gl&lt;/code&gt; sets the country and &lt;code&gt;hl&lt;/code&gt; the language. For a city there is the &lt;code&gt;uule&lt;/code&gt; parameter, which takes an encoded location name. It works, but it's fiddly, and you should be logged out while you use it.&lt;/li&gt;
&lt;li&gt;The Ad Preview and Diagnosis tool in Google Ads. You pick a location and see the results page for it. You need a Google Ads account, and you check one search at a time.&lt;/li&gt;
&lt;li&gt;A rank tracker like BrightLocal or the position tracking in Semrush. Both track keywords for a city over time. That is the right tool when you want the same report every week.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What a SERP API gives you
&lt;/h2&gt;

&lt;p&gt;A SERP API runs the search for you from a location you choose and returns the results as JSON. SerpApi and DataForSEO are two well-known ones, and both take a location parameter. If you write code, this is the cleanest route. You send the query and the city, and you get the organic results with their positions.&lt;/p&gt;

&lt;p&gt;With SerpApi, the Leeds search is one request, with the location as a place name:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="s2"&gt;"https://serpapi.com/search.json?engine=google&amp;amp;q=emergency+plumber&amp;amp;location=Leeds,England,United+Kingdom&amp;amp;gl=uk&amp;amp;hl=en&amp;amp;api_key=$SERPAPI_KEY"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If you'd rather ask "which plumbers rank in Leeds but not in Manchester?" and get an answer, an MCP server is easier.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the MCP server does
&lt;/h2&gt;

&lt;p&gt;MCP (Model Context Protocol) is the standard AI apps use to connect to outside services. Claude supports it, and so do ChatGPT and most coding agents. A server offers a list of tools. When you ask for something, Claude picks the right tool and reads what comes back.&lt;/p&gt;

&lt;p&gt;For local search, the tool is a Google search with a location. Claude runs it once for Leeds and once for Manchester, and then compares the two lists. You never see the JSON unless you ask for it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Setting it up with Chab
&lt;/h2&gt;

&lt;p&gt;I built Chab, which gives AI agents like ChatGPT and Claude 151 tools they don't have on their own. One of them returns Google results the way people in a given country or city see them, with up to 100 results per search. The examples below use Chab, but the idea is the same with any MCP server that wraps a SERP API.&lt;/p&gt;

&lt;p&gt;In Claude Code, add the hosted server:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;claude mcp add --transport http --scope user chab https://www.chab.ai/mcp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then type &lt;code&gt;/mcp&lt;/code&gt; in Claude Code, pick &lt;code&gt;chab&lt;/code&gt; and choose &lt;strong&gt;Authenticate&lt;/strong&gt;. Your browser opens a Chab page where you approve the connection. You can start without an account. The trial has about 50 credits for seven days, and you get 100 more when you sign up.&lt;/p&gt;

&lt;p&gt;In claude.ai, press &lt;strong&gt;Plugins&lt;/strong&gt; in the sidebar, then &lt;strong&gt;Add&lt;/strong&gt; and &lt;strong&gt;Add custom connector&lt;/strong&gt;. Name it &lt;code&gt;Chab&lt;/code&gt; and use &lt;code&gt;https://www.chab.ai/mcp&lt;/code&gt; as the server URL. This works on the free Claude plan too, which allows one custom connector.&lt;/p&gt;

&lt;p&gt;If you'd rather not type any of this, paste this line into your agent. A coding agent sets Chab up by itself, and ChatGPT or Claude tell you where to click:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Set up Chab for me: fetch https://www.chab.ai/agent-setup.md and follow it.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Asking for local results
&lt;/h2&gt;

&lt;p&gt;Name the tool in your first request, so Claude doesn't fall back to its own web search:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Use Chab to show me the top 20 Google results for "emergency plumber"
as people in Leeds, UK see them. Then do the same for Manchester.
Make a table of the domains that rank in both cities, with their
position in each city.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The first time, Claude asks before it uses the tool. After that you can ask follow-up questions in the same chat, like "which of the Leeds results are directories and which are plumbers?", and Claude works from the results it already has.&lt;/p&gt;

&lt;h2&gt;
  
  
  Getting better answers
&lt;/h2&gt;

&lt;p&gt;Give the language when it isn't obvious. A search for "fietsenmaker" in Amsterdam should run in Dutch, and Claude sends that to the tool when you say so.&lt;/p&gt;

&lt;p&gt;Watch out for cities that share a name. Portland in Oregon and Portland in Maine are different places. Chab takes a region next to the city for that. When a name is ambiguous, it searches the biggest place and says which one it picked.&lt;/p&gt;

&lt;p&gt;Ask for mobile results when the business gets its customers from phone searches. The device is a separate setting in the search, and the mobile page can look different.&lt;/p&gt;

&lt;p&gt;Ask for a screenshot when you want to show a client. The results page tool can save a picture of the page as people in that city see it. A screenshot of their competitor in position one is easier to discuss than a table.&lt;/p&gt;

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

&lt;p&gt;A Google search with up to 20 results costs 2 credits, and the results page with a screenshot costs 7. Paid plans start at $29 a month for 1,000 credits.&lt;/p&gt;

&lt;h2&gt;
  
  
  The same search from a script
&lt;/h2&gt;

&lt;p&gt;When you want the search in a cron job instead of a chat, the REST API takes the same fields:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -X POST https://www.chab.ai/v1/search/web \
  -H &lt;span class="s2"&gt;"Authorization: Bearer $CHAB_API_KEY"&lt;/span&gt; \
  -H &lt;span class="s2"&gt;"Content-Type: application/json"&lt;/span&gt; \
  -H &lt;span class="s2"&gt;"Idempotency-Key: leeds-plumber-001"&lt;/span&gt; \
  -d &lt;span class="s1"&gt;'{
    "query": "emergency plumber",
    "engine": "google",
    "location": { "country": "GB", "city": "Leeds" },
    "language": "en-GB",
    "device": "mobile",
    "limit": 20
  }'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The response is an operation with a status URL. You poll it, and when the status is &lt;code&gt;succeeded&lt;/code&gt; you fetch the results from the result URL. If you add &lt;code&gt;?wait=20&lt;/code&gt; to the request URL, you get the result in the same reply when the search finishes within 20 seconds. A free guest key returns at most 10 results. Local and English city names both work, so &lt;code&gt;Lisboa&lt;/code&gt; and &lt;code&gt;Lisbon&lt;/code&gt; give the same search.&lt;/p&gt;

&lt;h2&gt;
  
  
  One search is a snapshot
&lt;/h2&gt;

&lt;p&gt;Results move during the day, and Google tests different layouts all the time. A site in position 6 this morning can be in position 8 this afternoon without anything changing on the site. One search from each city tells you who competes there. It doesn't tell you whether a site is going up or down. For that, run the same searches on a schedule and compare them over a few weeks, with a rank tracker or with a small script against the API.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>seo</category>
      <category>mcp</category>
      <category>claude</category>
    </item>
  </channel>
</rss>
