<?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: Marco Starker</title>
    <description>The latest articles on DEV Community by Marco Starker (@dasred).</description>
    <link>https://dev.to/dasred</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%2F4239898%2Ff4c849a0-3e0f-44ed-a710-b544ddae3e7c.png</url>
      <title>DEV Community: Marco Starker</title>
      <link>https://dev.to/dasred</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dasred"/>
    <language>en</language>
    <item>
      <title>Rebuilding marco-starker.de: One Foundation, 15 Design Proposals and Docs Straight From the Repos</title>
      <dc:creator>Marco Starker</dc:creator>
      <pubDate>Tue, 01 Dec 2026 08:41:25 +0000</pubDate>
      <link>https://dev.to/dasred/rebuilding-marco-starkerde-one-foundation-15-design-proposals-and-docs-straight-from-the-repos-3980</link>
      <guid>https://dev.to/dasred/rebuilding-marco-starkerde-one-foundation-15-design-proposals-and-docs-straight-from-the-repos-3980</guid>
      <description>&lt;p&gt;For two years my website was the kind of one-pager you built in 2024: Next.js, Bootstrap with SASS, letters that shuffle into place, a typewriter effect in the hero and skill charts made with ApexCharts. My résumé was a PDF exported from rxresu.me, the contact form went through EmailJS, and my articles lived on Medium and dev.to – the site showed a card with a link there at best.&lt;/p&gt;

&lt;p&gt;That was fine as long as nobody looked closely. Now I'm looking for a new permanent role or freelance projects, and suddenly the site is the first thing people see of me. At the same time I had published a handful of open-source projects in a short time, and their documentation had no proper home. Together, that was the reason: not to renovate, but to rebuild.&lt;/p&gt;

&lt;p&gt;Between 19 and 22 November it turned into a new site, built with Claude as my pair programmer:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Before (2024)&lt;/th&gt;
&lt;th&gt;After (November 2026)&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;one-pager with scrollspy&lt;/td&gt;
&lt;td&gt;separate pages with translated paths, start page with teasers only&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Bootstrap 5, SASS, GSAP, typewriter, ApexCharts&lt;/td&gt;
&lt;td&gt;Next.js 16, React 19, TypeScript 7, Tailwind 4&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;résumé exported from rxresu.me&lt;/td&gt;
&lt;td&gt;résumé rendered as PDF in the build, from the same data as the site&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;contact form via EmailJS&lt;/td&gt;
&lt;td&gt;own API route with SMTP delivery&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;articles as links to Medium and dev.to&lt;/td&gt;
&lt;td&gt;articles as the original, in English and German&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;no project documentation&lt;/td&gt;
&lt;td&gt;docs for 17 projects, straight from their repositories&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;In the end the relaunch pull request touched 352 files, adding 17,396 lines and removing 22,363. This article is about how one foundation turned into 15 design proposals, why a designer had the final word, and which technical building blocks I wouldn't give up again.&lt;/p&gt;

&lt;h2&gt;
  
  
  Foundation first, design second
&lt;/h2&gt;

&lt;p&gt;The first commit of the rebuild states its intent in the title: &lt;em&gt;"rebuild the website from scratch as a shared foundation for new designs"&lt;/em&gt;. The idea: keep content and design strictly apart, so a new design only replaces its own parts.&lt;/p&gt;

&lt;p&gt;Everything that is true about me lives as typed data in &lt;code&gt;src/data/&lt;/code&gt;: career stations, projects, articles, skills, figures. Short texts are flat key-value objects in &lt;code&gt;src/translations/en&lt;/code&gt; and &lt;code&gt;src/translations/de&lt;/code&gt;, with the German file typed against the English one. If a key is missing, the TypeScript compiler complains first. Long texts – project pages, legal texts, articles – are Markdown in &lt;code&gt;content/&amp;lt;area&amp;gt;/&amp;lt;language&amp;gt;/&lt;/code&gt;. On top of that, a test checks that every station, project, article and skill group has its translations and Markdown files in both languages.&lt;/p&gt;

&lt;p&gt;A design, on the other hand, may only touch these parts:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;src/design/&lt;/code&gt; – audience, colour scheme, fonts&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;src/style/tokens.css&lt;/code&gt; and &lt;code&gt;src/style/design.css&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;the components below &lt;code&gt;src/component/layout&lt;/code&gt; and &lt;code&gt;src/component/home&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The audience is a real setting: freelance projects, a permanent role as lead or senior fullstack engineer, or both. Each design picks one, and the headline, availability badge and buttons in the hero follow it.&lt;/p&gt;

&lt;h2&gt;
  
  
  15 proposals in one morning
&lt;/h2&gt;

&lt;p&gt;On top of this foundation, each proposal got its own branch &lt;code&gt;redesign/&amp;lt;name&amp;gt;&lt;/code&gt;. On the morning of 20 November I clicked through 15 of them: bento, blueprint, cosmos, editorial, studio, terminal, ai, ascii, blockcraft, comic, hello-world, retro90s, superhero, narf and dasred. From a calm tile grid to blueprints, a terminal and a voxel world, everything was there.&lt;/p&gt;

&lt;p&gt;Because all of them sat on the same data and translations, the comparison was fair: same content, same subpages, only the face was different. Switch the branch, reload, and I saw my real site in a different style – not a mockup with placeholder text.&lt;/p&gt;

&lt;p&gt;Many of these names live on today as style guides in my catalogue for websites. That is a story of its own, though, and it will get its own article.&lt;/p&gt;

&lt;h2&gt;
  
  
  And then came Philipp
&lt;/h2&gt;

&lt;p&gt;Having lots of proposals doesn't mean you can tell which one is right. So I asked someone who does this for a living: &lt;a href="https://diesignatur.online" rel="noopener noreferrer"&gt;Philipp Schilli&lt;/a&gt; of the design studio DIE SIGNATUR in Moosburg. His feedback survives in the commit message almost as a bullet list: a red hero with lines of code, a bento overview, numbered rows and a roadmap, a timeline, alternating section colours and a dark mode.&lt;/p&gt;

&lt;p&gt;That became the design "Philipp", and it went through three rounds on the same day:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;v1&lt;/strong&gt; implements the feedback: red opening, bento tiles, a timeline for the career.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;v2&lt;/strong&gt; brings a new portrait, a darker brand red, a red glow below the hero and filled buttons that stay readable in dark mode.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;v3&lt;/strong&gt; puts a cut-out of me into the hero, reaching down to its bottom edge, with a code badge on the portrait.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;In the evening &lt;strong&gt;v4&lt;/strong&gt; started – the branch where everything that followed the next day came together. On 22 November it went into &lt;code&gt;main&lt;/code&gt; as pull request #19, with &lt;code&gt;BREAKING CHANGE&lt;/code&gt; in the merge commit – the signal for semantic-release to cut version 2.0.0.&lt;/p&gt;

&lt;p&gt;My takeaway: an AI can build a lot of usable proposals in a short time. Which one fits me and what it still lacks, a person with a trained eye told me better in one conversation than I would have found out in 15 proposals.&lt;/p&gt;

&lt;h2&gt;
  
  
  From a one-pager to real pages
&lt;/h2&gt;

&lt;p&gt;A one-pager is nice as long as it's short. With a career, services, almost 30 projects and the articles, mine wasn't any more. So the site was split up: services, projects, experience, about, articles and contact each have their own page, and the start page only shows teasers – such as the four latest stations with their main point and the three newest articles.&lt;/p&gt;

&lt;p&gt;The paths are translated. &lt;code&gt;/en/projects&lt;/code&gt; is &lt;code&gt;/de/projekte&lt;/code&gt; in German, &lt;code&gt;/en/experience&lt;/code&gt; is &lt;code&gt;/de/werdegang&lt;/code&gt;. Internally each route exists only once, under its English folder name; a proxy rewrites the visible path to it. Anyone who calls the internal or a foreign-language path gets a permanent redirect (&lt;code&gt;301&lt;/code&gt;) to the right one. Requests without a language prefix end up in the language the visitor chose before, otherwise in the browser's language, and the language switch stays on the same page instead of jumping to the start page.&lt;/p&gt;

&lt;p&gt;One lesson came for free: content got lost in the rebuild. That is why the history has a commit on the morning of 21 November with the honest title &lt;em&gt;"restore content from the former site that got lost in the redesign"&lt;/em&gt; – the full entry for my current position with nine points, details for ten earlier stations, the focus points per service, the fun facts. If you rebuild a site, put the old one next to it and compare section by section before the new one goes live.&lt;/p&gt;

&lt;h2&gt;
  
  
  Documentation straight from the repositories
&lt;/h2&gt;

&lt;p&gt;This is the building block I'm proudest of. Every one of my projects with documentation has a &lt;code&gt;docs/&lt;/code&gt; folder in its repository that follows fixed rules – I call it the docs contract:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;only &lt;code&gt;de/&lt;/code&gt;, &lt;code&gt;en/&lt;/code&gt; and &lt;code&gt;assets/&lt;/code&gt;, no subfolders&lt;/li&gt;
&lt;li&gt;every page in both languages with the same file name, &lt;code&gt;index.md&lt;/code&gt; is mandatory&lt;/li&gt;
&lt;li&gt;images only as files in &lt;code&gt;assets/&lt;/code&gt;, at most 500 KB, animated ones up to 2 MB&lt;/li&gt;
&lt;li&gt;the only HTML allowed is &lt;code&gt;&amp;lt;details&amp;gt;&lt;/code&gt; and &lt;code&gt;&amp;lt;summary&amp;gt;&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When the website builds, &lt;code&gt;npm run docs:fetch&lt;/code&gt; downloads the docs of all projects as archives from GitHub, checks them against the contract and renders them: with anchor links like on GitHub, alert boxes, syntax highlighting with Shiki, sanitised HTML, rewritten links, navigation, a table of contents, a previous/next pager and copy buttons on every code block. If a project breaks the contract, the build fails. That way no release can ship broken documentation.&lt;/p&gt;

&lt;p&gt;The same validator also runs on the other side, as the action &lt;code&gt;docs-check&lt;/code&gt; in the project repositories themselves. A pull request with broken docs fails right there, not only when the website builds.&lt;/p&gt;

&lt;p&gt;That leaves one question: how does the website know that docs changed somewhere? A second building block in my &lt;a href="https://www.marco-starker.de/en/projects/github-workflows" rel="noopener noreferrer"&gt;central workflow repository&lt;/a&gt; handles that. When the docs of a project change, the action &lt;code&gt;website-release&lt;/code&gt; creates an empty commit on the website's &lt;code&gt;main&lt;/code&gt; through the GitHub API:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;docs(backrest-mcp): sync documentation
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For semantic-release that is a patch release with its own "Documentation" section in the release notes. The release rebuilds the site, the build fetches the fresh docs, and the container on my server is replaced. If two projects release at the same time, moving the branch fails for the second one because &lt;code&gt;main&lt;/code&gt; has moved on; the action then builds the commit again on top of the new head and tries up to three times.&lt;/p&gt;

&lt;p&gt;Today 17 projects get their documentation onto the site this way, from the MCP servers and the esbuild plugins to the Minecraft projects. Because GitHub sends no length for archives, the build shows a progress bar per project with a block running through it, and at the end a green check mark or a red cross with the problems it found. Not strictly necessary, but very pleasant with 17 downloads in a row.&lt;/p&gt;

&lt;h2&gt;
  
  
  Articles as the original, not as a link
&lt;/h2&gt;

&lt;p&gt;Until the rebuild my articles lived on Medium and dev.to, and the site only linked there. Now it's the other way round: an article appears here first, in full, with title image, subtitle, table of contents and highlighted code. Medium and dev.to get a copy whose canonical URL points to the English version here.&lt;/p&gt;

&lt;p&gt;Every article appears in English and German. Each language page is its own canonical, they point to each other with &lt;code&gt;hreflang&lt;/code&gt;, and both are in the sitemap. The text of this article lives in the repository exactly like that: as &lt;code&gt;content/articles/en/rebuilding-marco-starker-de.md&lt;/code&gt; plus its German twin, with title and subtitle in the translations.&lt;/p&gt;

&lt;h2&gt;
  
  
  The résumé from the same data
&lt;/h2&gt;

&lt;p&gt;The old résumé had a problem everyone knows who keeps the same data in two places: it was always a step behind the website. Now the site renders it itself. &lt;code&gt;npm run resume:build&lt;/code&gt; uses &lt;code&gt;@react-pdf/renderer&lt;/code&gt; to create the English and German résumé as PDFs – from the same data, the same translations and the same colour tokens as the website, with Geist as the font, a red accent and a timeline. The dev server and the build run the script first. When I change a station, website and PDF match in the next release.&lt;/p&gt;

&lt;h2&gt;
  
  
  Getting found, shared and counted
&lt;/h2&gt;

&lt;p&gt;A site that's supposed to help with a job search has to look good in search engines and in link previews. For that there is now:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;A share image for every page.&lt;/strong&gt; The start page, the subpages, every project and every docs page get their own Open Graph image at 1200 × 630, rendered with &lt;code&gt;next/og&lt;/code&gt; and Geist. Articles use their own title image instead.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Structured data.&lt;/strong&gt; JSON-LD describes the site as a &lt;code&gt;WebSite&lt;/code&gt; with a &lt;code&gt;Person&lt;/code&gt;, the about page as a &lt;code&gt;ProfilePage&lt;/code&gt;, articles as &lt;code&gt;BlogPosting&lt;/code&gt;, projects as &lt;code&gt;SoftwareSourceCode&lt;/code&gt; or &lt;code&gt;SoftwareApplication&lt;/code&gt;, plus breadcrumbs as &lt;code&gt;BreadcrumbList&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sitemap and &lt;code&gt;hreflang&lt;/code&gt;&lt;/strong&gt; with all pages and docs pages in both languages.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Invisible by default.&lt;/strong&gt; Without &lt;code&gt;SITE_INDEXABLE=true&lt;/code&gt;, &lt;code&gt;robots.txt&lt;/code&gt; disallows everything and every page carries &lt;code&gt;noindex, nofollow&lt;/code&gt; and the header &lt;code&gt;X-Robots-Tag&lt;/code&gt;. Only production turns it on, so a test environment can never end up in a search index by accident.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Counting happens with my own Umami instance, without cookies and without requests to third parties; the site serves its fonts itself, too. Since 23 November it can also load the recorder for heatmaps. So that the Umami dashboard can show the live page under the heatmap, the site then sends &lt;code&gt;Content-Security-Policy: frame-ancestors&lt;/code&gt; for exactly those two addresses. Without an Umami configuration it loads no statistics script at all, and the privacy policy leaves out the Umami section.&lt;/p&gt;

&lt;h2&gt;
  
  
  Small in operation
&lt;/h2&gt;

&lt;p&gt;The site runs as a Docker container on chronos, my server at Hetzner, behind Nginx Proxy Manager. Next.js builds it with &lt;code&gt;output: 'standalone'&lt;/code&gt;: a traced, self-contained server that only contains the files it needs. A small script adds the client assets, &lt;code&gt;public&lt;/code&gt; and the Markdown content including the docs cache. The image only copies that folder and &lt;code&gt;package.json&lt;/code&gt; – no &lt;code&gt;npm ci&lt;/code&gt; inside the image, so the arm64 image needs no emulation in CI either.&lt;/p&gt;

&lt;p&gt;Two smaller things I like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Availability is computed.&lt;/strong&gt; Without a fixed value, the site shows the first day of the next month as the earliest start date. &lt;code&gt;AVAILABLE_FROM&lt;/code&gt; sets a date that only applies while it lies in the future.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The contact form needs no outside service.&lt;/strong&gt; An own API route sends the message via SMTP. Against spam there is a honeypot field, a minimum of three seconds between loading and sending, and a limit per sender, five messages per hour by default.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Releases run with semantic-release on &lt;code&gt;main&lt;/code&gt;, using the workflow &lt;code&gt;node-docker.yml&lt;/code&gt; from my central workflow repository, which also deploys to chronos. Since the relaunch that has produced more than 30 releases in a few days, a good part of them triggered by docs syncs that nobody had to start by hand.&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Separate content and design before talking about design.&lt;/strong&gt; Only that made 15 proposals possible within hours – and comparable.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Many proposals don't replace a trained eye.&lt;/strong&gt; The decision came from a conversation with a designer, not from the sheer number.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Keep data in one place only.&lt;/strong&gt; Résumé, project pages and docs come from the same source as the site, so they no longer drift apart.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Check contracts where the data is created.&lt;/strong&gt; The docs contract runs in the project repository and in the website build, with the same code.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The best showcase is the site itself: &lt;a href="https://www.marco-starker.de" rel="noopener noreferrer"&gt;www.marco-starker.de&lt;/a&gt; – the &lt;a href="https://www.marco-starker.de/en/projects" rel="noopener noreferrer"&gt;projects&lt;/a&gt; with their docs, the &lt;a href="https://www.marco-starker.de/en/experience" rel="noopener noreferrer"&gt;experience&lt;/a&gt; and the résumé as PDF.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Thanks to Philipp Schilli for the feedback that turned many proposals into one design.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://www.marco-starker.de/en/articles/rebuilding-marco-starker-de" rel="noopener noreferrer"&gt;marco-starker.de&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>nextjs</category>
      <category>react</category>
      <category>webdev</category>
      <category>ai</category>
    </item>
    <item>
      <title>Four MCP Servers in Nine Days: Giving Claude Access to My Homelab</title>
      <dc:creator>Marco Starker</dc:creator>
      <pubDate>Mon, 23 Nov 2026 14:47:17 +0000</pubDate>
      <link>https://dev.to/dasred/four-mcp-servers-in-nine-days-giving-claude-access-to-my-homelab-9jn</link>
      <guid>https://dev.to/dasred/four-mcp-servers-in-nine-days-giving-claude-access-to-my-homelab-9jn</guid>
      <description>&lt;p&gt;Claude already reads my mail and my calendar. Both run through MCP servers other people wrote, sitting in Docker containers on one of my servers and connected to Claude as custom connectors. Once that worked, the next questions came naturally: &lt;em&gt;What exactly do I run at Hetzner, and what does it cost? Which certificate in my reverse proxy expires next? What did I miss on Discord today? Did last night's backups actually run?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;For none of these did I find a server that fit. Most existing MCP servers speak stdio: they run as a local process next to Claude Desktop or Claude Code. A custom connector in Claude needs the opposite – a remote server with a public HTTPS URL. So I built my own. Within nine days, between 15 and 23 November, four servers came out of it, all open source, all built with Claude as my pair programmer:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Server&lt;/th&gt;
&lt;th&gt;What Claude can do with it&lt;/th&gt;
&lt;th&gt;Tools (read-only)&lt;/th&gt;
&lt;th&gt;Based on&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://github.com/DasRed/hetzner-mcp" rel="noopener noreferrer"&gt;hetzner-mcp&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;servers, networks, firewalls, IPs, volumes, Storage Boxes, DNS, prices&lt;/td&gt;
&lt;td&gt;185 (59)&lt;/td&gt;
&lt;td&gt;wraps &lt;code&gt;@lazyants/hetzner-mcp-server&lt;/code&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://github.com/DasRed/nginx-proxy-manager-mcp" rel="noopener noreferrer"&gt;nginx-proxy-manager-mcp&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;proxy hosts, redirects, streams, certificates, access lists&lt;/td&gt;
&lt;td&gt;50 (20)&lt;/td&gt;
&lt;td&gt;tool set of VeryBigSad's Python server&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://github.com/DasRed/discord-mcp" rel="noopener noreferrer"&gt;discord-mcp&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;servers, channels, direct messages, reading and sending messages&lt;/td&gt;
&lt;td&gt;5 (4)&lt;/td&gt;
&lt;td&gt;tool set of elyxlz's Python server&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="https://github.com/DasRed/backrest-mcp" rel="noopener noreferrer"&gt;backrest-mcp&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;restic backups in Backrest: plans, snapshots, operations, logs&lt;/td&gt;
&lt;td&gt;26 (13)&lt;/td&gt;
&lt;td&gt;written from scratch against the Backrest API&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;This article is about what the four have in common, what was special about each of them, and how they ended up in the official MCP Registry without me clicking anything.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why remote, and why stateless
&lt;/h2&gt;

&lt;p&gt;The most important sentence in the whole project is one I later wrote into every &lt;code&gt;Connect to Claude&lt;/code&gt; page of the documentation: &lt;strong&gt;custom connectors connect from Anthropic's servers, not from your machine.&lt;/strong&gt; A URL that only works in your home network is useless. The server has to be reachable from the internet via HTTPS – which immediately makes security the first design question, not the last.&lt;/p&gt;

&lt;p&gt;The second constraint: Claude's connectors cannot send custom headers. A bearer token, the obvious way to protect an HTTP API, only works for Claude Code and other clients. For the connectors in the Claude apps, protection has to happen in front of the server, at the reverse proxy.&lt;/p&gt;

&lt;p&gt;For the transport I chose MCP's &lt;em&gt;Streamable HTTP&lt;/em&gt; in stateless mode. Every &lt;code&gt;POST&lt;/code&gt; to &lt;code&gt;/mcp&lt;/code&gt; gets its own, fresh MCP server instance, answers and is gone. There are no sessions, no server-initiated streams, nothing kept in memory between requests; a &lt;code&gt;GET&lt;/code&gt; simply gets a &lt;code&gt;405&lt;/code&gt;. That sounds like a limitation, but it made everything simpler: the containers can run with a read-only file system, a restart loses nothing, and there is no session state that could leak from one caller to another.&lt;/p&gt;

&lt;h2&gt;
  
  
  One skeleton for all four
&lt;/h2&gt;

&lt;p&gt;After the first two servers, a fixed set of rules had emerged that the other two simply inherited:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Read-only by default.&lt;/strong&gt; Without further configuration, every server only exposes the tools that cannot change anything. Write access is a conscious decision via an environment variable.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Allow and deny lists&lt;/strong&gt; with &lt;code&gt;*&lt;/code&gt; as a wildcard, e.g. &lt;code&gt;MCP_TOOLS_DENY=delete_*&lt;/code&gt;. Read-only is the coarse switch, the lists are the fine one.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;MCP tool hints.&lt;/strong&gt; Read tools carry &lt;code&gt;readOnlyHint&lt;/code&gt;, tools that delete or overwrite carry &lt;code&gt;destructiveHint&lt;/code&gt;. Claude uses them to ask before risky actions, and in the connector settings you can force a confirmation per tool on top.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Optional bearer token&lt;/strong&gt; for clients that can send headers, compared in constant time.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;/healthz&lt;/code&gt;&lt;/strong&gt; without authentication, which reveals nothing, for Docker's health check.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Boring containers:&lt;/strong&gt; a 4 MB limit on request bodies, a non-root user where possible, no state on disk except where unavoidable.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Configuration only through environment variables&lt;/strong&gt;, all documented, with sensible defaults.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The code itself follows the same guidelines I use for all my private projects, which made a real difference when working with an AI: the rules are written down once, and Claude follows them in every new repository instead of me correcting the same things four times.&lt;/p&gt;

&lt;h2&gt;
  
  
  hetzner-mcp: the thinnest wrapper, and a lesson about invoices
&lt;/h2&gt;

&lt;p&gt;My original wish was simple: Claude should tell me what I have at Hetzner and what it costs, &lt;em&gt;including the invoices&lt;/em&gt;. A good set of tools already existed in &lt;a href="https://github.com/lazyants/hetzner-mcp-server" rel="noopener noreferrer"&gt;&lt;code&gt;@lazyants/hetzner-mcp-server&lt;/code&gt;&lt;/a&gt; – but only via stdio. So hetzner-mcp is deliberately thin: about 300 lines that put the existing tools behind the HTTP transport and add read-only mode, filters and the token.&lt;/p&gt;

&lt;p&gt;Two things I learned along the way. First, &lt;strong&gt;the Hetzner Cloud API has no invoices.&lt;/strong&gt; Costs can only be derived from the inventory and the price list. That's fine in practice – Claude combines the servers with &lt;code&gt;hetzner_get_pricing&lt;/code&gt; and calculates the monthly total – but it's a nice example of checking the API before promising a feature.&lt;/p&gt;

&lt;p&gt;Second, &lt;strong&gt;185 tools are a lot.&lt;/strong&gt; Every tool description ends up in Claude's context. That's why hetzner-mcp can load only certain tool groups (&lt;code&gt;MCP_SPLITS=servers,dns&lt;/code&gt;), and why read-only mode, which reduces the set to 59 tools, is not just a safety feature.&lt;/p&gt;

&lt;h2&gt;
  
  
  nginx-proxy-manager-mcp: tokens, partial updates and a dedicated user
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://nginxproxymanager.com" rel="noopener noreferrer"&gt;Nginx Proxy Manager&lt;/a&gt; is the reverse proxy in front of everything I host – including, by now, these MCP servers. The tool set follows &lt;a href="https://github.com/VeryBigSad/nginx-proxy-manager-mcp" rel="noopener noreferrer"&gt;VeryBigSad/nginx-proxy-manager-mcp&lt;/a&gt;, a Python server for stdio; the code is an independent TypeScript implementation with 50 tools in nine areas.&lt;/p&gt;

&lt;p&gt;NPM only knows user tokens, no API keys. So the server logs in with email and password, caches the token until shortly before it expires and logs in again on a &lt;code&gt;401&lt;/code&gt;. For that it gets its own NPM user – view-only, without two-factor authentication – so the credentials in the container can't do more than they should.&lt;/p&gt;

&lt;p&gt;The detail I like most: &lt;strong&gt;the update tools only change the fields Claude passes.&lt;/strong&gt; Without that, Claude would have to read a complete proxy host, change one value and send everything back – one wrong field and the configuration is broken. With partial updates, “force HTTPS on &lt;code&gt;app.example.com&lt;/code&gt;” is exactly one field.&lt;/p&gt;

&lt;p&gt;And yes, there is a slightly recursive moment: Claude can use this server to read the proxy host that protects this very server.&lt;/p&gt;

&lt;h2&gt;
  
  
  discord-mcp: a user account instead of a bot
&lt;/h2&gt;

&lt;p&gt;Discord was the odd one out. The obvious way would be a bot – but a bot only sees the servers it was invited to and none of my direct messages. I wanted Claude to see what &lt;em&gt;I&lt;/em&gt; see. So discord-mcp works with a regular user account:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;A headless Chromium (Playwright) opens the Discord web app once and logs in, including the two-factor code, which the server generates itself from a TOTP secret.&lt;/li&gt;
&lt;li&gt;While the web app loads, the server reads the session token from the &lt;code&gt;Authorization&lt;/code&gt; header of its own API requests and closes the browser again.&lt;/li&gt;
&lt;li&gt;From then on, everything goes through the same HTTP API the web app uses. No page scraping. Token and browser session are stored in a volume, so a restart doesn't need a new login.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Small things matter here, too: Discord rejects messages longer than 2,000 characters, so &lt;code&gt;send_message&lt;/code&gt; splits long texts at paragraph, line or word boundaries and sends them with a short pause in between, the way a person would.&lt;/p&gt;

&lt;p&gt;To be clear: automating a user account is a “self-bot” and against Discord's Terms of Service. That's why the README and the documentation say so in a warning box, why the server is read-only by default, and why the project is marked as an experiment on my website. I use it with that risk in mind; you should decide that for yourself.&lt;/p&gt;

&lt;h2&gt;
  
  
  backrest-mcp: the complete one, and the secrets problem
&lt;/h2&gt;

&lt;p&gt;The latest server was also the most thorough. &lt;a href="https://github.com/garethgeorge/backrest" rel="noopener noreferrer"&gt;Backrest&lt;/a&gt; is a web UI and scheduler for restic backups, and I wanted &lt;em&gt;all&lt;/em&gt; of it in Claude: dashboard, operations, logs, snapshots, backups, restores, prune and check, configuration. The result is 26 tools – one for every procedure of the Backrest API a client can use, plus the Prometheus metrics. From the first commit to the entry in the MCP Registry, it took a single day.&lt;/p&gt;

&lt;p&gt;Backrest offers its API as a gRPC service that can also be called with plain JSON over HTTP using the &lt;a href="https://connectrpc.com/docs/protocol" rel="noopener noreferrer"&gt;Connect protocol&lt;/a&gt;. That made a dedicated client easy. Server streams like live operation events or logs are read for a limited time, and Claude gets what arrived in that window.&lt;/p&gt;

&lt;p&gt;The interesting part was the configuration. &lt;strong&gt;Backrest stores repository passwords in plain text in its config&lt;/strong&gt;, along with access keys in the restic environment and tokens in notification hooks. If Claude can read the config, it can read every repository password. So backrest-mcp masks all of them as &lt;code&gt;********&lt;/code&gt; before anything reaches Claude.&lt;/p&gt;

&lt;p&gt;That creates a follow-up problem: what happens when Claude changes a plan and writes the config back? It would save &lt;code&gt;********&lt;/code&gt; as the new password. So the server does the reverse on the way in: every &lt;code&gt;********&lt;/code&gt; is replaced with the stored value – repositories and plans matched by ID, environment variables by name, hooks by position. If there is no stored value to restore, the call fails instead of silently destroying a repository password. That logic took more thought than the 26 tools combined.&lt;/p&gt;

&lt;h2&gt;
  
  
  How they run
&lt;/h2&gt;

&lt;p&gt;All four run as Docker containers on one of my servers at Hetzner. Each gets its own subdomain under a wildcard certificate and sits behind Nginx Proxy Manager. At the proxy, an access list does the real work: only &lt;a href="https://docs.claude.com/en/api/ip-addresses" rel="noopener noreferrer"&gt;Anthropic's published outbound IP ranges&lt;/a&gt; and my own network get through, and they additionally need basic auth.&lt;/p&gt;

&lt;p&gt;In Claude, each server is simply a custom connector with its URL. After that, the conversation is the test: “How did my backups do in the last 30 days?”, “Which certificates expire this month?”, “What does my Hetzner setup cost per month?” If Claude picks the right tools and the answers are right, the server works.&lt;/p&gt;

&lt;h2&gt;
  
  
  One pipeline from commit to registry
&lt;/h2&gt;

&lt;p&gt;The part that turned four repositories into something I don't have to think about is a shared set of reusable GitHub workflows. Every MCP repository has a CI file of about thirty lines that calls them:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Release:&lt;/strong&gt; semantic-release on &lt;code&gt;main&lt;/code&gt; decides from the Conventional Commits whether there is a new version, writes the changelog and bumps the version in &lt;code&gt;package.json&lt;/code&gt; &lt;em&gt;and&lt;/em&gt; &lt;code&gt;server.json&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Image:&lt;/strong&gt; the Docker image is built and pushed to the GitHub Container Registry.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deploy:&lt;/strong&gt; Dockhand updates the running container on my server, and Home Assistant tells me about it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Registry:&lt;/strong&gt; a final job publishes the new version to the &lt;a href="https://registry.modelcontextprotocol.io/v0/servers?search=io.github.DasRed" rel="noopener noreferrer"&gt;official MCP Registry&lt;/a&gt;.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Next to it, a second workflow watches the &lt;code&gt;docs&lt;/code&gt; folder of each repository: it checks the Markdown and publishes it on my website as documentation in English and German.&lt;/p&gt;

&lt;p&gt;The registry step is worth a closer look. It checks that the version in &lt;code&gt;server.json&lt;/code&gt; matches the release tag and that the image is referenced with exactly that tag. It downloads the &lt;code&gt;mcp-publisher&lt;/code&gt; CLI and verifies its signature with cosign before running it. It then logs in via &lt;strong&gt;GitHub OIDC&lt;/strong&gt; – no stored secret, the GitHub identity proves that I own the &lt;code&gt;io.github.DasRed&lt;/code&gt; namespace. And the registry in turn verifies that the Docker image belongs to the server: each image carries the label &lt;code&gt;io.modelcontextprotocol.server.name&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://glama.ai/mcp/servers?query=author%3ADasRed" rel="noopener noreferrer"&gt;Glama&lt;/a&gt; picks the servers up from GitHub on its own. So a merged commit ends up as a running container, updated documentation, a new image and a registry entry, without a single manual step.&lt;/p&gt;

&lt;h2&gt;
  
  
  What working with Claude was like
&lt;/h2&gt;

&lt;p&gt;The obvious irony: Claude helped build the servers through which it now looks into my infrastructure. That's also what makes the loop so short – Claude is the client the servers are made for, so an unclear tool description or a clumsy answer format shows up in the very first conversation, not weeks later.&lt;/p&gt;

&lt;p&gt;Where the AI was strong: turning two Python tool sets into idiomatic TypeScript, working through the Backrest service definition and producing typed tools for every procedure, keeping four repositories consistent, and writing documentation in two languages. Four servers with documentation, CI and registry entries in nine days would not have happened in my spare time otherwise.&lt;/p&gt;

&lt;p&gt;Where I had to decide: read-only as the default, a user account instead of a bot for Discord, which tools count as destructive, and above all the secret masking in backrest-mcp. None of that is a coding question. It's the question of what a machine that acts on my behalf should be allowed to see and do – and that's exactly the part I don't want to delegate.&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Remote MCP is a security project first.&lt;/strong&gt; As soon as Claude connects from the cloud, the server is on the internet. Protection belongs at the proxy, because the connectors can't send tokens.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Read-only by default costs nothing and avoids a lot.&lt;/strong&gt; Write access is a deliberate switch, and destructive tools should say so.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Stateless is the easy way.&lt;/strong&gt; One MCP instance per request means no sessions, no memory leaks between callers and containers that can run read-only.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Check the API before promising a feature.&lt;/strong&gt; No invoices at Hetzner, plain-text passwords in Backrest – both changed the design.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Automate publishing early.&lt;/strong&gt; The registry, GHCR and the documentation are updated by the same pipeline, so the four servers stay current without me thinking about it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Documentation, configuration and setup guides for all four servers are on my website: &lt;a href="https://www.marco-starker.de/en/projects/hetzner-mcp/docs" rel="noopener noreferrer"&gt;hetzner-mcp&lt;/a&gt;, &lt;a href="https://www.marco-starker.de/en/projects/nginx-proxy-manager-mcp/docs" rel="noopener noreferrer"&gt;nginx-proxy-manager-mcp&lt;/a&gt;, &lt;a href="https://www.marco-starker.de/en/projects/discord-mcp/docs" rel="noopener noreferrer"&gt;discord-mcp&lt;/a&gt; and &lt;a href="https://www.marco-starker.de/en/projects/backrest-mcp/docs" rel="noopener noreferrer"&gt;backrest-mcp&lt;/a&gt;. The code is on &lt;a href="https://github.com/DasRed" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;, under the MIT license.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Credits: lazyants for the Hetzner tools, VeryBigSad and elyxlz for the tool sets that inspired the Nginx Proxy Manager and Discord servers, Gareth George for Backrest, and the Model Context Protocol team for the SDK and the registry.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://www.marco-starker.de/en/articles/four-mcp-servers" rel="noopener noreferrer"&gt;marco-starker.de&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>mcp</category>
      <category>ai</category>
      <category>typescript</category>
      <category>docker</category>
    </item>
    <item>
      <title>How I Turned Four Cheap Android Tablets into Rock-Solid Home Assistant Wall Panels</title>
      <dc:creator>Marco Starker</dc:creator>
      <pubDate>Thu, 19 Nov 2026 10:02:45 +0000</pubDate>
      <link>https://dev.to/dasred/how-i-turned-four-cheap-android-tablets-into-rock-solid-home-assistant-wall-panels-292d</link>
      <guid>https://dev.to/dasred/how-i-turned-four-cheap-android-tablets-into-rock-solid-home-assistant-wall-panels-292d</guid>
      <description>&lt;p&gt;I had four 8-inch tablets lying in a drawer. No-name hardware, the kind you buy because it is cheap and then forget about. At the same time, the tablets I already use as Home Assistant wall panels were driving me mad: the kiosk browser would sometimes simply not be in the foreground anymore, even though it was configured to stay there, and the one in the hallway regularly ended up showing a blank white page until I rebooted it.&lt;/p&gt;

&lt;p&gt;So the question was: can I turn these drawer tablets into wall panels that are &lt;em&gt;boringly reliable&lt;/em&gt;? Slim system, screen always on, Home Assistant as the only thing that ever runs, brightness controlled from Home Assistant. And if I bricked one along the way — fine, they were destined for the bin anyway.&lt;/p&gt;

&lt;p&gt;Spoiler: it worked, all four are on the wall, and the result is a &lt;a href="https://github.com/DasRed/weelike-f83w-homeassistant-kiosk" rel="noopener noreferrer"&gt;public repository&lt;/a&gt; with a single script that converts a stock tablet in about a quarter of an hour. Here is how I got there, including every wall I ran into.&lt;/p&gt;

&lt;h3&gt;
  
  
  Meet the tablet
&lt;/h3&gt;

&lt;p&gt;The device is a &lt;strong&gt;Weelikeit F83W&lt;/strong&gt;. The box and settings screen promise little; &lt;code&gt;adb shell getprop&lt;/code&gt; tells the real story:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;SoC:&lt;/strong&gt; Allwinner A133 (&lt;code&gt;sun50iw10p1&lt;/code&gt;), four Cortex-A53 cores, 3 GB RAM&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;OS:&lt;/strong&gt; Android 13 — but with a &lt;strong&gt;32-bit userspace&lt;/strong&gt; on a 64-bit kernel (5.15)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Partitions:&lt;/strong&gt; A/B slots, dynamic partitions, Project Treble enabled (VNDK 33)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Display:&lt;/strong&gt; an 800×1280 panel that is natively &lt;em&gt;portrait&lt;/em&gt;, mounted in a landscape tablet&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Treble support was the good news: in theory, any Generic System Image (GSI) should boot on it. The 32-bit userspace was the first catch: it rules out the common arm64 GSIs and leaves only the rarer &lt;code&gt;a64&lt;/code&gt; builds (arm32 userspace with 64-bit binder).&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 1: Unlocking the bootloader
&lt;/h3&gt;

&lt;p&gt;Enabling &lt;em&gt;OEM unlocking&lt;/em&gt; in the developer options worked as expected. Then it got interesting, because this tablet has &lt;strong&gt;two different fastboot modes&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;fastbootd&lt;/strong&gt; (&lt;code&gt;adb reboot fastboot&lt;/code&gt;) runs in userspace. It can flash logical partitions, but it refuses to unlock anything.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The bootloader fastboot&lt;/strong&gt; (&lt;code&gt;adb reboot bootloader&lt;/code&gt;, a green Android robot without any text) is Allwinner's U-Boot. It accepts &lt;code&gt;fastboot oem unlock&lt;/code&gt; — not &lt;code&gt;flashing unlock&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The catch: on my Mac, &lt;code&gt;fastboot devices&lt;/code&gt; never saw the bootloader. The device enumerates as USB ID &lt;code&gt;1F3A:1010&lt;/code&gt; with a perfectly valid fastboot interface (class FF/42/03), but macOS doesn't activate a USB configuration for it, so the stock fastboot tool can't find it. My first tablet was unlocked from a Windows PC with Google's USB driver forced onto the device.&lt;/p&gt;

&lt;p&gt;For the other three, I wrote a tiny fastboot client in Python on top of &lt;code&gt;pyusb&lt;/code&gt;/&lt;code&gt;libusb&lt;/code&gt;. It selects the configuration itself, claims the interface and speaks the fastboot protocol directly. It turned out to work every single time:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;macOS-fastboot doesn't see the Allwinner bootloader – trying direct USB access (libusb) ...
Unlock device successfully!
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;One more thing worth knowing: &lt;strong&gt;there is no stock firmware download&lt;/strong&gt; for this device. Once you replace the system partition, there is no easy way back. With four identical tablets, I kept one untouched until the first one worked.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 2: Finding a GSI that actually boots
&lt;/h3&gt;

&lt;p&gt;My first attempt was a LineageOS 23.2 (Android 16) &lt;code&gt;a64&lt;/code&gt; build. It flashed fine and then sat at a black screen until Android's rescue party dropped me into the stock recovery with &lt;em&gt;“Can't load Android system”&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;The lesson: &lt;strong&gt;match the Android version of the vendor partition.&lt;/strong&gt; The vendor blobs here are Android 13, so I switched to &lt;a href="https://sourceforge.net/projects/andyyan-gsi/" rel="noopener noreferrer"&gt;AndyYan's LineageOS 20 GSI&lt;/a&gt; in the &lt;code&gt;a64_bvS&lt;/code&gt; flavour (A/B, vanilla, with superuser). That one showed the LineageOS boot animation — and stayed there forever.&lt;/p&gt;

&lt;p&gt;The flashing itself is straightforward in fastbootd. The only extras are a blank &lt;code&gt;vbmeta&lt;/code&gt; with verification disabled and deleting the vendor's &lt;code&gt;product&lt;/code&gt; partition to make room in &lt;code&gt;super&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;fastboot --disable-verity --disable-verification flash vbmeta_a vbmeta_disabled.img
fastboot delete-logical-partition product_a
fastboot erase system_a
fastboot flash system_a lineage-20-a64_bvS.img
fastboot -w
fastboot reboot
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Step 3: The boot loop nobody warns you about
&lt;/h3&gt;

&lt;p&gt;Luckily, the LineageOS userdebug build has ADB enabled during boot, so I could pull a logcat while the animation was spinning. &lt;code&gt;system_server&lt;/code&gt; had been restarted 90 times, and the reason was right there:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Signature mismatch on system package com.yhk.qeota for shared user android.uid.system
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The manufacturer ships two apps in &lt;code&gt;/vendor/app&lt;/code&gt; — an OTA updater and a video player — that run as the &lt;code&gt;system&lt;/code&gt; user and are signed with the manufacturer's platform key. The GSI is signed with a different key, so Android's package manager refuses to start. The stock firmware works only because both sides share the same key.&lt;/p&gt;

&lt;p&gt;The fix is to hide &lt;code&gt;/vendor/app&lt;/code&gt; by bind-mounting an empty directory over it before the package manager scans it. My first attempt used an init &lt;code&gt;.rc&lt;/code&gt; file — and failed, because SELinux doesn't allow &lt;code&gt;init&lt;/code&gt; to mount over &lt;code&gt;vendor_app_file&lt;/code&gt;. What did work: the TrebleDroid base of the GSI ships a boot script, &lt;code&gt;rw-system.sh&lt;/code&gt;, that runs early in a permissive SELinux domain and already bind-mounts fixes over vendor files. One extra line there:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;mount -o &lt;span class="nb"&gt;bind&lt;/span&gt; /system/etc/hide-vendor-app /vendor/app
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Next boot: the LineageOS setup wizard.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 4: Portrait panel, landscape tablet, confused sensor
&lt;/h3&gt;

&lt;p&gt;The system came up in portrait, while the touchscreen behaved as if it were landscape. The vendor's &lt;code&gt;build.prop&lt;/code&gt; explained it: &lt;code&gt;ro.vendor.sf.rotation=90&lt;/code&gt;. That's an Allwinner-specific property their patched framework uses to rotate the output — the GSI knows nothing about it. The AOSP equivalent is:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight properties"&gt;&lt;code&gt;&lt;span class="na"&gt;ro.surface_flinger.primary_display_orientation&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="no"&gt;ORIENTATION_90&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That fixed display and touch at once. Auto-rotation was still wrong, though. The accelerometer reports its axes relative to the portrait panel, and Android doesn't compensate sensors for the display's install orientation.&lt;/p&gt;

&lt;p&gt;Disassembling the vendor's sensor HAL showed that it computes an axis correction from several properties and from a config file, &lt;code&gt;/vendor/etc/gsensor.cfg&lt;/code&gt;. The properties turned out to have no effect in practice, so I measured instead: holding the tablet upright in landscape, Android expects roughly &lt;code&gt;x=0, y=+9.8&lt;/code&gt;. The sensor reported &lt;code&gt;x=−9.7, y=0.3&lt;/code&gt;. From two measurements, the required mapping was obvious — and changing three flags for the &lt;code&gt;msa&lt;/code&gt; sensor in &lt;code&gt;gsensor.cfg&lt;/code&gt;, again bind-mounted from &lt;code&gt;rw-system.sh&lt;/code&gt;, made auto-rotation work in all four directions.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 5: Making it a kiosk
&lt;/h3&gt;

&lt;p&gt;Now the actual goal. Instead of a kiosk browser, I went with the official &lt;strong&gt;Home Assistant Companion app&lt;/strong&gt; in its &lt;em&gt;minimal&lt;/em&gt; flavour (no Google Play Services — there are none on this system). It can act as the device's home screen, so Android itself brings it back after every crash or reboot.&lt;/p&gt;

&lt;p&gt;Everything is baked into the system image:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Debloated:&lt;/strong&gt; around 30 apps removed — camera, browser, dialer, gallery, music, and so on. WebView, keyboard and settings stay.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Home Assistant as a system app,&lt;/strong&gt; with its native libraries pre-extracted (system apps don't get their compressed libraries unpacked automatically).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A first-boot script&lt;/strong&gt; that sets the defaults: screen stays on while powered, no screen saver, no lock screen, no animations — and, once the setup wizard is done, grants the app all permissions, exempts it from battery optimisation and sets it as the home app.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No navigation bar:&lt;/strong&gt; &lt;code&gt;setprop qemu.hw.mainkeys 1&lt;/code&gt; early in &lt;code&gt;rw-system.sh&lt;/code&gt;. Setting it in &lt;code&gt;build.prop&lt;/code&gt; did not stick on this build.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A watchdog&lt;/strong&gt; that brings Home Assistant back to the foreground if anything else stays there for more than ten minutes, and restarts the app every night at 4 a.m. — my answer to the white-screen problem.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Two app settings needed special care. Without Google services, commands from Home Assistant only reach the device through the app's &lt;strong&gt;persistent connection&lt;/strong&gt;. And the app wants a &lt;strong&gt;home Wi-Fi&lt;/strong&gt; defined before it accepts a plain &lt;code&gt;http://&lt;/code&gt; internal URL. Both live in the app's Room database and only exist after you log in. So the watchdog waits for the login, writes the currently connected SSID into &lt;code&gt;servers.internal_ssids&lt;/code&gt; and restarts the app once. After that, brightness commands work immediately.&lt;/p&gt;

&lt;p&gt;I made one mistake worth sharing: in an early version, the watchdog grabbed the foreground before the LineageOS setup wizard had finished. The result was a tablet with no Wi-Fi, an English UI and a locked status bar. Everything Home Assistant-related now waits for &lt;code&gt;user_setup_complete=1&lt;/code&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Patching a system image without root or loop mounts
&lt;/h3&gt;

&lt;p&gt;All of this happens on the image file, not on the device. The GSI's ext4 image uses &lt;code&gt;shared_blocks&lt;/code&gt; (deduplication), which makes it read-only for most tools. The recipe:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;truncate -s +200M system.img
resize2fs system.img
e2fsck -fy -E unshare_blocks system.img
debugfs -w -f commands.txt system.img   &lt;span class="c"&gt;# write files, set modes and owners&lt;/span&gt;
resize2fs -M system.img
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The part that's easy to forget: &lt;strong&gt;SELinux labels.&lt;/strong&gt; Every file needs the right &lt;code&gt;security.selinux&lt;/code&gt; extended attribute, which &lt;code&gt;debugfs&lt;/code&gt; can set with &lt;code&gt;ea_set&lt;/code&gt;. Scripts that should run in the permissive domain get &lt;code&gt;u:object_r:phhsu_exec:s0&lt;/code&gt;, the sensor config &lt;code&gt;vendor_configs_file&lt;/code&gt;, everything else &lt;code&gt;system_file&lt;/code&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  One script to flash them all
&lt;/h3&gt;

&lt;p&gt;With a working image, I wanted the remaining three tablets to be boring. &lt;code&gt;flash.sh&lt;/code&gt; runs on macOS and walks through seven steps:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; Checks and installs prerequisites via Homebrew, reassembles the image and verifies checksums&lt;/li&gt;
&lt;li&gt; Waits for the tablet (USB debugging), checks model, hardware and firmware build&lt;/li&gt;
&lt;li&gt; Unlocks the bootloader (via libusb when macOS fastboot can't see it)&lt;/li&gt;
&lt;li&gt; Flashes vbmeta and the system image in fastbootd&lt;/li&gt;
&lt;li&gt; Waits for the first boot&lt;/li&gt;
&lt;li&gt; Waits for you to finish the setup wizard&lt;/li&gt;
&lt;li&gt; Waits for the Home Assistant login and confirms that the watchdog did its job&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Every waiting state is polled automatically, completed steps are detected, and the script can be restarted at any point. The three remaining tablets went through it in 15 to 30 minutes each — most of that was the script waiting for me to tap through the setup wizard.&lt;/p&gt;

&lt;h3&gt;
  
  
  Controlling the panel from Home Assistant
&lt;/h3&gt;

&lt;p&gt;The Companion app exposes sensors and accepts notification commands. Brightness is a one-liner:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;action&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;notify.mobile_app_wall_panel&lt;/span&gt;
&lt;span class="na"&gt;data&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;message&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;command_screen_brightness_level&lt;/span&gt;
  &lt;span class="na"&gt;data&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;command&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;120&lt;/span&gt;   &lt;span class="c1"&gt;# 0..255
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Wrapped in a template &lt;code&gt;number&lt;/code&gt; entity, it becomes a regular slider on the dashboard. The app has &lt;code&gt;command_screen_on&lt;/code&gt;, but no screen-off command — if you need that, ADB over the network with Home Assistant's &lt;em&gt;Android Debug Bridge&lt;/em&gt; integration and &lt;code&gt;input keyevent KEYCODE_SLEEP&lt;/code&gt; does the job.&lt;/p&gt;

&lt;h3&gt;
  
  
  What I learned
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Treble is not magic.&lt;/strong&gt; Match the Android version of the vendor partition, and check the userspace bitness before downloading anything.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Read the logcat, not the forums.&lt;/strong&gt; The boot loop had nothing to do with the GSI and everything to do with two vendor apps.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Vendor quirks hide in properties and config files.&lt;/strong&gt; &lt;code&gt;ro.vendor.sf.rotation&lt;/code&gt; and &lt;code&gt;gsensor.cfg&lt;/code&gt; were the keys to display and sensor.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Own the OS, own the kiosk.&lt;/strong&gt; Once the system is yours, the kiosk app doesn't have to fight Android — the system keeps it in front.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Everything — the flash script, the patches, the watchdog and a ready-to-flash image — is on GitHub: &lt;a href="https://github.com/DasRed/weelike-f83w-homeassistant-kiosk" rel="noopener noreferrer"&gt;DasRed/weelike-f83w-homeassistant-kiosk&lt;/a&gt;. It is built for exactly this tablet and firmware, but the techniques apply to many cheap Allwinner devices.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Credits: LineageOS, AndyYan for the a64 GSI builds, TrebleDroid/phhusson for the GSI base, and the Home Assistant Companion for Android team. As always: unlocking a bootloader wipes your data and may void your warranty — do this at your own risk.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://medium.com/@marco.starker/how-i-turned-four-cheap-android-tablets-into-rock-solid-home-assistant-wall-panels-6e24d7c8c7ba" rel="noopener noreferrer"&gt;Medium&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>homeassistant</category>
      <category>android</category>
      <category>smarthome</category>
      <category>diy</category>
    </item>
    <item>
      <title>Reviving a 2016 iOS Game: From Swift 2 to Swift 6 with an AI Pair Programmer</title>
      <dc:creator>Marco Starker</dc:creator>
      <pubDate>Wed, 11 Nov 2026 21:45:16 +0000</pubDate>
      <link>https://dev.to/dasred/reviving-a-2016-ios-game-from-swift-2-to-swift-6-with-an-ai-pair-programmer-50ai</link>
      <guid>https://dev.to/dasred/reviving-a-2016-ios-game-from-swift-2-to-swift-6-with-an-ai-pair-programmer-50ai</guid>
      <description>&lt;p&gt;&lt;em&gt;How I brought a ten-year-old SpriteKit game back to the App Store: 588 compiler errors, a lot of deleted code, and what AI was actually good for.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;In 2016 I shipped a small arcade game for iPhone and iPad called &lt;strong&gt;Coocader&lt;/strong&gt;. It had some ads, never really took off, and I moved on to other things. The code sat untouched for almost ten years.&lt;/p&gt;

&lt;p&gt;This autumn I decided to bring it back. Not as a remake, but as the same game, modernized properly. A few weeks later, version 1.1 is live on the App Store. This is the story of how that went, what broke, and what working with AI as a pair programmer was actually like.&lt;/p&gt;

&lt;h2&gt;
  
  
  The game in one paragraph
&lt;/h2&gt;

&lt;p&gt;Coocader is inspired by Space Invaders, with one twist: blocks with silly little faces move down toward your ship, and you can only destroy a block with a shot of the &lt;em&gt;matching color&lt;/em&gt;. So you're constantly switching colors while aiming. Some blocks have shields, some shoot back, some drop gifts that help you… or ruin your run. If a block reaches the bottom, it's game over.&lt;/p&gt;

&lt;h2&gt;
  
  
  The starting point: Swift 2, Xcode 7, and 588 errors
&lt;/h2&gt;

&lt;p&gt;The project was written in Swift 2 with SpriteKit. Modern Xcode doesn't even try to open that. Converting the old project file wasn't an option, so I started with a fresh project and moved the old sources in.&lt;/p&gt;

&lt;p&gt;The first build produced &lt;strong&gt;588 compiler errors&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 1: Cut dependencies before fixing code
&lt;/h2&gt;

&lt;p&gt;Before touching the errors, I removed or replaced everything that wasn't my own code:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A third-party Game Center wrapper (56 KB of source) became about &lt;strong&gt;120 lines of plain GameKit&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;A custom alert library became &lt;code&gt;UIAlertController&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;The ad integration was first hidden behind a small protocol, and later removed completely.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Every dependency I removed was one less thing to migrate. That alone took a noticeable chunk out of the error count.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 2: Compiler-driven, bottom-up
&lt;/h2&gt;

&lt;p&gt;Instead of jumping around, I fixed the leaf types first, the small value types and helpers that everything else depends on, and worked upwards from there. Each fixed layer made the errors above it more meaningful. 588 became 0 in roughly two weeks.&lt;/p&gt;

&lt;p&gt;I originally planned an intermediate step on Swift 5. In the end I went straight to &lt;strong&gt;Swift 6&lt;/strong&gt;. Doing the work once was simpler than doing it twice.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Swift 2 gotchas that actually hurt
&lt;/h2&gt;

&lt;p&gt;Most errors were mechanical renames. A few were genuinely interesting:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Overloads that Swift 2 silently resolved.&lt;/strong&gt; An event listener class had four &lt;code&gt;init(callback:)&lt;/code&gt; overloads, and Swift 2 happily converted between them implicitly. Modern Swift refuses, so the overload structure itself had to change.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Method names colliding with SDK selectors.&lt;/strong&gt; Two of my methods suddenly clashed with Objective-C selectors from the SDK and had to be renamed.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;nil &amp;gt; 0&lt;/code&gt; was legal.&lt;/strong&gt; Swift 2 let you compare an optional with a number. Some gameplay logic relied on that, which meant a block could become a "gunner" with an interval of 0. Fixing the compiler error changed game behavior, and I had to decide consciously which behavior was correct.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Escaping closures.&lt;/strong&gt; Every closure that outlives its call now needs &lt;code&gt;@escaping&lt;/code&gt;, and finding out which ones do is a nice audit of your own architecture.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Delete instead of port
&lt;/h2&gt;

&lt;p&gt;One of the most effective tools was simply deleting code. An old debug menu exported levels as JSON using &lt;code&gt;AnyObject&lt;/code&gt; dictionaries. It blocked the migration for a long time. In the end I didn't fix it. I removed it while rebuilding the debug menu, and nothing was lost.&lt;/p&gt;

&lt;h2&gt;
  
  
  Things that look like bugs but aren't
&lt;/h2&gt;

&lt;p&gt;Some of the most valuable notes I wrote during the project are about code that looks wrong but must stay that way. Two examples:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A Game Center leaderboard ID is mapped explicitly instead of being derived from an enum name. Deriving it would produce an ID that doesn't exist, and scores would silently disappear.&lt;/li&gt;
&lt;li&gt;The scene uses a fixed logical size with &lt;code&gt;.aspectFill&lt;/code&gt;. Switching to a resizing scale mode would change distances, touch coordinates and rendering all at once.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Writing these down was important, because they're exactly the kind of thing a helpful refactoring, human or AI, would "fix".&lt;/p&gt;

&lt;h2&gt;
  
  
  More than a migration
&lt;/h2&gt;

&lt;p&gt;Once the game compiled, I used the momentum:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Levels moved from a custom file format to plain JSON, and block positions became integers.&lt;/li&gt;
&lt;li&gt;Purchases moved to &lt;strong&gt;StoreKit 2&lt;/strong&gt;, with three one-time bundles instead of the old per-pack model.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;All ads are gone.&lt;/strong&gt; 12 of 28 level packs (225 of 685 levels) and the endless mode are completely free.&lt;/li&gt;
&lt;li&gt;New color selector modes, a settings screen, and a loading screen with real progress.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Around the game I also built a companion website with Next.js in eight languages, a small level-pack API so new levels can be delivered without an app update, and a browser-based level editor. Everything is self-hosted with Docker.&lt;/p&gt;

&lt;h2&gt;
  
  
  What working with AI was actually like
&lt;/h2&gt;

&lt;p&gt;I used AI coding assistants throughout the whole project, for the migration as well as for the website, the API and the editor. My honest summary:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;It's fast at the mechanical work.&lt;/strong&gt; Hundreds of renames, API updates and boilerplate changes went by quickly.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It's a great sparring partner.&lt;/strong&gt; Talking through a migration plan, a tricky overload problem or a data model with something that answers immediately is genuinely helpful.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It does not replace judgment.&lt;/strong&gt; The &lt;code&gt;nil &amp;gt; 0&lt;/code&gt; case is a good example: the "correct" fix compiled fine and changed the game. You still need to know what you want, review everything, and make the architectural calls yourself.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Write things down.&lt;/strong&gt; A living migration plan with decisions, traps and open points made every session better, whether the next session was mine or the AI's.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The biggest effect wasn't speed in any single task. It turned a project I had been postponing for years from "someday" into "now".&lt;/p&gt;

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

&lt;p&gt;After testing on simulators and a real iPhone and an eleven-day wait in the review queue, Coocader 1.1 went live on November 11, 2026. Same game, same silly faces, ten years younger under the hood.&lt;/p&gt;

&lt;p&gt;If you'd like to try it or have a look at the project:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;App Store: &lt;a href="https://apps.apple.com/app/coocader/id1080981061" rel="noopener noreferrer"&gt;apps.apple.com/app/coocader/id1080981061&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Website: &lt;a href="https://www.coocader.com" rel="noopener noreferrer"&gt;coocader.com&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Old code isn't a reason to throw a project away. Sometimes it just needs a plan, some persistence, and a good sparring partner.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://medium.com/@marco.starker/reviving-a-2016-ios-game-from-swift-2-to-swift-6-with-an-ai-pair-programmer-d8f19df5bb1d" rel="noopener noreferrer"&gt;Medium&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>swift</category>
      <category>ios</category>
      <category>ai</category>
      <category>gamedev</category>
    </item>
  </channel>
</rss>
