<?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>Forem: Thorn Hall</title>
    <description>The latest articles on Forem by Thorn Hall (@thornhall).</description>
    <link>https://forem.com/thornhall</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3624956%2F00d10479-23e2-44fb-8d68-d5c937328864.png</url>
      <title>Forem: Thorn Hall</title>
      <link>https://forem.com/thornhall</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/thornhall"/>
    <language>en</language>
    <item>
      <title>Building a Hybrid Site Generator with Go + SQLite</title>
      <dc:creator>Thorn Hall</dc:creator>
      <pubDate>Sat, 22 Nov 2025 23:15:29 +0000</pubDate>
      <link>https://forem.com/thornhall/building-a-hybrid-site-generator-with-go-sqlite-3j51</link>
      <guid>https://forem.com/thornhall/building-a-hybrid-site-generator-with-go-sqlite-3j51</guid>
      <description>&lt;p&gt;I've been pretty obsessed with Go lately. I had an old blog that was created using Jekyll + Github Pages, but I wanted something with less "batteries included" for my website. I also wanted to have an active count of likes and views for my posts, as this would motivate me.&lt;/p&gt;

&lt;p&gt;I decided to use Go to build a Hybrid Site Generator. Not sure if that is an actual term, but let me define it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A hybrid site generator is like a Static Site Generator (SSG), but with dynamic components such as likes and views.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;My Go app has 2 components:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The Server, which serves pre-built HTML, CSS, and JavaScript. Also listens for and serves likes and views.&lt;/li&gt;
&lt;li&gt;The Builder, which takes data from markdown .md files, and generates static sites, run only once at build time.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I had a really fun time learning how to create this in Go.&lt;/p&gt;

&lt;p&gt;I wrote more in-depth about it here: &lt;a href="https://thorn.sh/go-sqlite/" rel="noopener noreferrer"&gt;Go Blog&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Have any thoughts or feedback? By the way, I'm considering adding comments as well :)&lt;/p&gt;

</description>
      <category>go</category>
      <category>sql</category>
    </item>
  </channel>
</rss>
