Skip to content
CAI
Software that uses CAICheck a score

falcoframework/Falco.Htmx

63.0

Adequate · 3 October 2026

802

lines of production code

F#

primary language

2

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Falco.Htmx is an F\# library that integrates HTMX capabilities into .NET applications, providing strongly-typed helpers for generating HTMX attributes and managing response headers. It supports multiple .NET versions, including .NET 10, and includes example projects demonstrating common interaction patterns like content swapping and on-demand data loading. The system emphasizes compile-time safety through discriminated unions and is supported by comprehensive unit and integration tests.

Features

Add ClickAndSwap, ClickToLoad, and HelloWorld examples

The examples directory now includes three new sample applications: ClickAndSwap, which demonstrates swapping HTML content via HTMX; ClickToLoad, which shows how to load additional data (such as table rows) on demand; and HelloWorld, a basic example of server-side interaction. Each example is provided with its own source file, configuration, and project entry in the solution file.

examples · high confidence

Falco.Htmx now targets .NET 10.0

The Falco.Htmx library has added support for the .NET 10.0 target framework, allowing developers to use the library in applications built on .NET 10. This change is accompanied by an update to the project's global.json to require SDK version 10.0.100 and a reorganization of the solution structure, which moves test projects into a dedicated 'test' folder and updates the solution file to target Visual Studio 17.

(repo-wide) · high confidence

Removals

Removal of HelloWorld sample application

The HelloWorld sample application, which demonstrated basic HTMX integration with click and reset interactions, has been removed from the samples directory. This deletion eliminates the example code and associated routing logic previously provided for users learning the framework.

samples · high confidence

Behavioural changes

Refactored Htmx API to use strongly-typed F\# types

The Htmx integration has been restructured to replace the previous string-based and unit-of-measurement-heavy API with a new, strongly-typed design. Core behaviors like swapping, targeting, and triggering are now represented by discriminated unions (e.g., \HxSwap\, \HxTarget\, \HxTrigger\) in \Core.fs\, ensuring compile-time safety for attribute values. The request and response handling has been consolidated into dedicated modules (\Request.fs\ and \Response.fs\) that provide typed access to Htmx headers and helpers for setting response headers like \HX-Location\ and \HX-Push-Url\. This change removes the legacy \Htmx.fs\, \Htmx.Helpers.fs\, and \Htmx.HttpContextExtensions.fs\ files, simplifying the public surface area and improving type safety for users building interactive UIs.

src/Falco.Htmx · high confidence

Test coverage

Added integration test scaffolding for Falco.Htmx; Added unit tests for Htmx attribute generation and response headers; Removal of legacy F\# test suite and artifacts.

Dependencies

Falco.Htmx upgraded to version 1.2.0 with .NET 10 support

The Falco.Htmx library has been updated to version 1.2.0, expanding its target frameworks to include .NET 8, .NET 9, and .NET 10 (previously limited to .NET 6). This release upgrades the core dependency on the Falco framework from version 3.1.14 to 5.1.0 and integrates SourceLink for improved debugging. Additionally, the project structure has been refined with updated test dependencies (including FsUnit.Xunit and NSubstitute) and new example projects for ClickToLoad and HelloWorld.

(dependencies) · high confidence

Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 62 → 63 (+0.6)
  • Rubric changed (rubric-2026.09.13 → rubric-2026.10.1) — scores are not directly comparable.

Lenses

  • Code Health 91 (new)
  • Architecture 100 → 96 (-3.6)
  • Maturity 45 → 45 (+0.0)
  • Readiness 65 → 65 (+0.0)
  • Security 95 → 97 (+1.7)

Resolved (1)

  • Off-boarding risk: anonymized user #1

New (2)

  • Off-boarding risk: anonymized user #1
  • TooManyMethods: Hx (src/Falco.Htmx/Hx.fs)

Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

falcoframework/Falco.Htmx was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 3 October 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 0a53c248ff6df8150c9cc46d1763d19c9260fd62 — the exact code this score is about.
  • Scored under rubric-2026.10.1 — the same rubric and the same method as every other entry in this index.
  • Measured by watchdog.canine.dev using codehealth-analyzer preprod-4f4226d619ea.