frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: A stateful UI runtime for reactive web apps in Go

https://github.com/doors-dev/doors
5•derstruct•3h ago
Doors: Server-driven UI framework + runtime for building stateful, reactive web applications in Go.

Some highlights:

* Front-end framework capabilities in server-side Go. Reactive state primitives, dynamic routing, composable components.

* No public API layer. No endpoint design needed, private temporal transport is handled under the hood.

* Unified control flow. No context switch between back-end/front-end.

* Integrated web stack. Bundle assets, build scripts, serve private files, automate CSP, and ship in one binary.

How it works: Go server is UI runtime: web application runs on a stateful server, while the browser acts as a remote renderer and input layer.

Security model: Every user can interact only with what you render to them. Means you check permissions when your render the button and that's is enough to be sure that related action wont be triggered by anyone else.

Mental model: Link DOM to the data it depends on.

Limitations:

* Does not make sense for static non-iteractive sites, client-first apps with simple routing, and is not suitable for offline PWAs.

* Load balancing and roll-outs without user interruption require different strategies with stateful server (mechanics to make it simpler is included).

Where it fits best: Apps with heavy user flows and complex business logic. Single execution context and no API/endpoint permission management burden makes it easier.

Peculiarities:

* Purposely build [Go language extension](https://github.com/doors-dev/gox) with its own LSP, parser, and editor plugins. Adds HTML as Go expressions and \`elem\` primitives.

* Custom concurrency engine that enables non-blocking event processing, parallel rendering, and tree-aware state propagation

* HTTP/3-ready synchronization protocol (rolling-request + streaming, events via regular post, no WebSockets/SSE)

From the author (me): It took me 1 year and 9 month to get to this stage. I rewrote the framework 6 or 7 times until every part is coherent, every decision feels right or is a reasonable compromise. I am very critical to my own work and I see flaws, but overall it turned out solid, I like developer experience as a user. Mental model requires a bit of thinking upfront, but pays off with explicit code and predictable outcome.

Code Example:

  type Search struct {
    input doors.Source[string] // reactive state
  }

  elem (s Search) Main() {
    <input
      (doors.AInput{
        On: func(ctx context.Context, r doors.RequestInput) bool {
          s.input.Update(ctx, r.Event().Value) // reactive state
          return false
        },
      })
      type="text"
      placeholder="search">

    ~// subscribe results to state changes
    ~(doors.Sub(s.input, s.results))
  }

  elem (s Search) results(input string) {
    ~(for _, user := range Users.Search(input) {
      <card>
        ~(user.Name)
      </card>
    })
  }

Comments

starwalkn•2h ago
It looks interesting, I'll wait for it to stand the test of time, maybe I'll get around to using it myself.
derstruct•1h ago
I hope you will find time to test it out and I will be happy to assist. In the current AI hype era, it's difficult to get attention to anything not AI related, regardless of how good it is.

Invoicly – Free invoice generator for freelancers, no login required

https://invoicly.io/
1•skillsettler•35s ago•0 comments

Show HN: Thesaner.com – a troll-proof platform for harder discussions

1•abhishek0922•1m ago•0 comments

BGPChained [pdf]

https://bgpchained.github.io/bgp.pdf
1•uchenic•2m ago•0 comments

Reports of RAG's death have been greatly exaggerated

https://atomicapp.ai/blog/llm-wiki-needs-a-substrate/
1•kenforthewin•3m ago•0 comments

Ask HN: Thought experiment: AGI giving us answers we don't like?

1•Arodex•6m ago•0 comments

Show HN: Grove – Open-source remote MCP server for Obsidian vaults

https://github.com/jmilinovich/grove
1•jmilinovich•7m ago•0 comments

Inter-Channel Decorrelation Below R=0.01 with Spatial Autocorrelation Above 0.99 [pdf]

https://github.com/PearsonZero/asymmetric-channel-decorrelation/blob/main/baetzel_2026_asymmetric...
1•PearsonZero•9m ago•0 comments

Show HN: UniText – Industrial-grade Unicode text engine for Unity

https://github.com/LightSideKittens/UniText
1•malvislight•9m ago•0 comments

Show HN: SEOLint – MCP server that lets Claude scan any site for SEO issues

https://seolint.dev
1•cleverdash•9m ago•1 comments

Show HN: LogicPearl – Synthesizing deterministic executable logic from traces

https://github.com/LogicPearlHQ/logicpearl
2•kenerwin88•10m ago•1 comments

Daycare Illnesses

https://blog.ninapanickssery.com/p/daycare-illnesses
1•barry-cotter•14m ago•1 comments

Peat – A typed functional language that compiles to JavaScript

https://peat-lang.fly.dev/
1•asiimo•15m ago•0 comments

Show HN: Host, share, promote and track release artifacts via your coding agent

https://jfrog.com/fly/
2•guyle•20m ago•0 comments

ASI-Evolve: AI Accelerates AI

https://arxiv.org/abs/2603.29640
1•foruhar•20m ago•0 comments

Show HN: Bor – Policy management for Linux desktops

https://getbor.dev/
1•eniac111•22m ago•0 comments

Toward an Open-Source Playbook for OpenClaw Deployment

https://autoclaw.sh
5•anuveyatsu•23m ago•0 comments

Amazon rolls out 1-hour, 3-hour delivery

https://www.cnbc.com/2026/03/17/amazon-rolls-out-1-hour-3-hour-delivery-in-latest-fast-shipping-t...
2•surprisetalk•26m ago•0 comments

Algebrica: A Mathematical Knowledge Base

https://algebrica.org/
3•surprisetalk•26m ago•0 comments

Think Tanks Have Defeated Democracy

https://letter.palladiummag.com/p/early-article-think-tanks-have-defeated
1•surprisetalk•26m ago•0 comments

Conflict is the art of checking underneath the rocks

https://www.avabear.xyz/p/conflict-is-the-art-of-checking-underneath
1•surprisetalk•26m ago•0 comments

Key evidence disappears from Tesla involved in crash

https://electrek.co/2026/04/13/tesla-norway-crash-evidence-stolen-network-card-missing/
4•doener•29m ago•0 comments

Show HN: Techno Kick

https://technokick.com
1•stagas•29m ago•0 comments

Show HN: Voight-Kampff Machine: Diagnostics of the "Is" vs. "Wish" Clash

https://zenodo.org/records/19538276
1•Weatherill•30m ago•1 comments

The exponential curve behind open source backlogs

https://armanckeser.com/writing/jellyfin-flow
2•armanckeser•31m ago•0 comments

The Usefulness of Useless Knowledge

https://timharford.com/2026/04/the-usefulness-of-useless-knowledge/
2•rpgbr•31m ago•0 comments

Absurd in Production: Durable Execution with Just Postgres

https://lucumr.pocoo.org/2026/4/4/absurd-in-production/
1•lapnito•33m ago•0 comments

The missing catalogue: why finding books in translation is still so hard

https://blogs.lse.ac.uk/impactofsocialsciences/2026/04/13/the-missing-catalogue-why-finding-books...
2•AusiasTsel•33m ago•0 comments

OpenAI Codex Telepathy feature flag: sidecar for passive screen-context memories

https://github.com/openai/codex/pull/17777/commits/da513220f971346718399012300665a93dfb8883
1•matthieu_bl•34m ago•0 comments

Ask HN: I quit my job over weaponized robots to start my own venture

16•barratia•38m ago•9 comments

Building a Real-Time Routing System for Payment Success at Cashfree Payments

https://tech.cashfree.com/building-a-real-time-routing-system-for-high-volume-payment-success-at-...
1•shritama_saha•39m ago•0 comments