nowfound

Life & fun · May 10, 2023

BP

Build progressively enhanced reactive HTML apps using Go and Alpine.js

Fir leverages Golang’s standard library html/template package and a bit of alpinejs to allow building reactive UIs. You start with plain old html and use alpinejs to enhance it to bring no-page-reload interactivity to web apps. The Fir toolkit is designed for Go developers with moderate html/css & js skills who want to progressively build reactive web apps without mastering complex web frameworks. It includes a Go library and an Alpine.js plugin. How it works ? On receiving user-interactions the fir server re-renders html templates and sends it over the wire where the fir client…

Build progressively enhanced reactive HTML apps using Go and Alpine.js launched on May 10, 2023 with 127 votes, #335 of 4,910 launches that month and more than 95% of that year's launches.

Visit livefir.fly.dev ↗Alternativestop 7% of May 2023

In plain words

Fir is a toolkit for building reactive web applications using Go and Alpine.js. It enables developers to create interactive UIs with no-page-reload functionality by starting with standard HTML and progressively enhancing it with Alpine.js. The toolkit includes a Go library that works with the standard html/template package and an Alpine.js plugin that handles selective DOM updates when the server re-renders templates in response to user interactions. It's designed for Go developers with basic HTML, CSS, and JavaScript skills who want to build reactive apps without learning complex frameworks.

written from the facts on this page · September 2026

From the sources

In the maker’s words, at launch

Fir leverages Golang’s standard library html/template package and a bit of alpinejs to allow building reactive UIs. You start with plain old html and use alpinejs to enhance it to bring no-page-reload interactivity to web apps. The Fir toolkit is designed for Go developers with moderate html/css & js skills…

Does a similar job

all alternatives →
  • UG
    Use Go's HTML/template to write React-like code2024 · ▲106

    Hi all, I'm currently working on my hobby project, and one of the fun constraints I put in was to build using as less dependencies as possible. I chose Go as it has a really good standard library, and all went well for building backend. But for frontend, I was wondering whether I should break the constraint and go for React. I tried options like Web Components, but I really didn't like the ergonomics and I didn't want to use jQuery either. Out of curiosity, I was exploring Go's html/template package to see if I can write UIs in a React-like manner. I found most of the online docs using…

  • Dorik 2.02021 · dorik.com · ▲593

    Build beautiful websites with unlimited pages without code

  • Mizu.js – Lightweight HTML templating library for any-side rendering2024 · mizu.sh · ▲225

    Hey HN, I'd like to share a fun project I've been working on: mizu.js. It's a js library that add functional attributes support into your html, designed to be a simple and flexible alternative to fully-fledged web frameworks (such as Vue, React, and Angular), while offering more capabilities than other lightweight options (like Alpine.js and htmx). As it's written using modern ES features and due to its isomorphic nature, it can be run in both browsers and runtimes (Node, Deno, Bun) without any changes. This makes it ideal for client-side and server-side rendering, as well as static site…

  • AA
    Aberdeen – An elegant approach to reactive UIs2025 · aberdeenjs.org · ▲224

    Yes, another reactive UI framework for JavaScript. Bear with me, please... :-) I 'invented' the concept for this back in 2011, and it was used (as a proprietary lib) in various startups. Even though many similar open source libs have been released since, and boy have I tried a lot of them, none have been able to capture the elegance and DX of what we had back then. I might be biased though. :-) So I started creating a cleaned-up, modern, TypeScript, open source implementation for the concept about five years ago. After many iterations, working on the project on and off, I'm finally happy…

  • Spot – Simple, cross-platform, reactive desktop GUI toolkit for Go2024 · github.com · ▲309

    Hi HN, I’m excited to share Spot, a simple, cross-platform, React-like GUI library for Go. It is just a few days old and has lots of missing features but I'm happy with the results so far, and looking for some design feedback. Spot is designed to be easy to use and provide a consistent API across different platforms (mainly Mac & Linux). It’s inspired by React, but written in Go, aiming to combine the best of both worlds: the easy tooling & performance of Go with a modern, reactive approach to UI development. Key features: - Cross-platform: Leveraging FLTK[1] & Cocoa[2], Spot works on Mac,…

  • Next.js 132022 · nextjs.org · ▲323

    Build powerful & dynamic web applications – without limits

More life & fun this month

the category →

Source: Show HN post ↗ · launch text quoted in part

Launched alongside, May 2023

the whole month →
  • Sidekick▲1,341

    An AI-powered accessibility assistant in Stark

    AI · 2023 · getstark.co

  • In today's world, catchy headlines and articles often distract readers from the facts and relevant information. By utilizing OpenAI's language models, Boring Report processes sensationalist news articles, transforms them into the content you see, and helps readers focus on the essential details. We recently updated our iOS app experience, so any and all feedback would be appreciated. App Link: https://apps.apple.com/us/app/boring-report-news-by-ai/id644...

    AI · 2023 · boringreport.org

  • Generating powerful websites, one prompt at a time

    AI · 2023

  • AudioPen▲888

    The easiest way to convert messy thoughts into clear text

    AI · 2023 · audiopen.ai

  • Launch your website in seconds, get users in minutes

    Dev tools · 2023 · page.mmntm.build

  • Moda▲791

    An e-commerce growth marketing platform

    Growth · 2023