← All projects
Project record1 mention
Originally shared on Hacker News

Simple Go web apps

A set of simple web apps with form-and-table UIs deliberately built to avoid future rewrites: Go with the standard library HTML templates (with Gomponents a possible future experiment), a copied-in minified HTMX file for interactivity, and hand-written CSS to minimize dependencies. After a year in use the stack has needed no updates and has been solid.

Last shared
01 / The problem

What it addresses

Writing web apps so they do not have to be rewritten later as front-end trends change.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Simple Go web apps

    A set of simple web apps with form-and-table UIs deliberately built to avoid future rewrites: Go with the standard library HTML templates (with Gomponents a possible future experiment), a copied-in minified HTMX file for interactivity, and hand-written CSS to minimize dependencies. After a year in use the stack has needed no updates and has been solid.

    Problem: Writing web apps so they do not have to be rewritten later as front-end trends change.

    Posted by @bbkane · Original source ↗

    Source text · @bbkane · · Source ↗

    I'm trying to go the other way with my (simple) web apps- writing them so I don't have to rewrite them later. The whole UI is basically a form and a table, so I figured I should try. For me that means Go + stdlib HTML templates (I want to try Gomponents at some point) to minimize dependencies. I copied the HTMX JS minified file into my source tree for some interactivity. I handwrote the CSS.