<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Golang on duchnovsky.com</title><link>https://duchnovsky.com/tags/golang/</link><description>Recent content in Golang on duchnovsky.com</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sat, 24 Oct 2026 18:12:00 +0200</lastBuildDate><atom:link href="https://duchnovsky.com/tags/golang/index.xml" rel="self" type="application/rss+xml"/><item><title>A Small Glances-Compatible Metrics Server for Homepage</title><link>https://duchnovsky.com/2026/10/homepage-stats/</link><pubDate>Sat, 24 Oct 2026 18:12:00 +0200</pubDate><guid>https://duchnovsky.com/2026/10/homepage-stats/</guid><description>&lt;p&gt;I wanted the Glances widget in &lt;a href="https://gethomepage.dev/" class="external-link" target="_blank" rel="noopener"&gt;Homepage&lt;/a&gt; to show a few host metrics without running a full Glances server just for that purpose. I built &lt;a href="https://github.com/pduchnovsky/homepage-stats" class="external-link" target="_blank" rel="noopener"&gt;homepage-stats&lt;/a&gt; as a small Go service that implements the part of the Glances API the widget needs.&lt;/p&gt;&#10;&lt;p&gt;It is intentionally not a full Glances replacement. It serves a focused set of Linux metrics from a static Go binary in a minimal, non-root &lt;code&gt;scratch&lt;/code&gt; container.&lt;/p&gt;&#10;&lt;h2 id="what-it-reports"&gt;&#10; What it reports&#10; &lt;a class="heading-link" href="#what-it-reports"&gt;&#10; &lt;i class="fa-solid fa-link" aria-hidden="true" title="Link to heading"&gt;&lt;/i&gt;&#10; &lt;span class="sr-only"&gt;Link to heading&lt;/span&gt;&#10; &lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;p&gt;The service implements the Glances endpoints used by the widget:&lt;/p&gt;</description></item></channel></rss>