fir
fir-example
fir | fir-example | |
---|---|---|
10 | 1 | |
176 | 0 | |
1.7% | - | |
8.6 | 4.0 | |
26 days ago | 8 months ago | |
Go | HTML | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
fir
-
Building a reactive web app in Go with Fir
Fir is an open source project, so if you are interested in contributing you can head over to their GitHub repository. You can also open an issue there if you encounter any problems you can’t solve on your own.
-
Show HN: Build progressively enhanced reactive HTML apps using Go and Alpine.js
This example has most of the scenarios you have called out: https://github.com/livefir/fir/tree/main/examples/fira. Fir aims to limit itself to rendering templates on the server and making it available for all subscribers as a browser CustomEvent which is consumed by alpine.js for more complex interactivity. The expectation is the that the developer handles it via either alpine.js plugins or standard JS code.
-
Go Time #266: Is htmx the way to Go?
I have been using this so called template fragments to in a reactive library for building web apps: https://github.com/livefir/fir It mostly works but still a work in progress
-
Ask HN: What companies are embracing “HTML over the wire”?
Been working on a html over the wire library in Go: https://github.com/livefir/fir. It mostly works but still work in progress
-
wails.io - What's the catch?
Then use something like Fir to keep JavaScript at a minimum.
-
Golang Web Framework that works hand in hand with Alpine.js
I am building one. Still a work in progress: https://github.com/adnaan/fir
fir-example
-
Building a reactive web app in Go with Fir
You can check out the complete code for our simple demo apps in this GitHub repository. Let’s jump in!
What are some alternatives?
bud - The Full-Stack Web Framework for Go
wally - The Flash(ing tool)
Lorca - Build cross-platform modern desktop apps in Go + HTML5
tetra - Tetra - A full stack component framework for Django using Alpine.js
RethinkRAW - RethinkRAW is an unpretentious, free RAW photo editor.
gomodest-template - A template to build dynamic web apps quickly using Go, html/template and javascript
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
examples - Goliveview examples
todo - spiking out a todo list with htmx
webview - Tiny cross-platform webview library for C/C++. Uses WebKit (GTK/Cocoa) and Edge WebView2 (Windows).
curlconverter - Transpile curl commands into Python, JavaScript and 27 other languages