# tmenier/Flurl

Fluent URL builder and testable HTTP client for .NET

Repository: https://github.com/tmenier/Flurl
Canonical: https://ross.abutalabs.com/products/flurl
Homepage: https://flurl.dev
Language: C#
License: MIT
License Family: permissive
Topics: http, url-builder, c-sharp, rest-client, dotnet
Last push: 2025-01-01T23:14:30+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4581, "days_push": 609, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4403, forks 397 (observed 2026-08-28T04:08:48.329748+00:00)

## What it is
Flurl is a fluent URL builder and testable HTTP client library for .NET, available as a stand-alone URL builder (Flurl) or with HTTP features (Flurl.Http). It wraps HttpClient with a chainable, clientless API and built-in HTTP call faking for unit tests.

## Use cases
- build and manipulate URLs fluently in C#
- call REST APIs with a fluent HTTP client
- deserialize JSON API responses into typed objects
- unit test code that makes HTTP calls without a real server
- manage HttpClient instances per host automatically
- configure timeouts, redirects, and headers per request or client

## When to choose
- you're on .NET and want a concise, chainable alternative to raw HttpClient
- you need easy mocking/faking of HTTP calls in unit tests
- you want automatic client lifetime management to avoid socket exhaustion
- you frequently construct URLs with query params, path segments, and encoding

## When to avoid
- you need gRPC, GraphQL, or non-HTTP protocols
- you prefer explicit control over HttpClient/Polly pipelines
- you're not on the .NET platform
- you rely heavily on dynamic JSON responses (dropped in 4.0)

## Facets
- artifact type: library
- maturity: stable
- function: http-client, testing, serialization
- domain: web-development, developer-tools, apis
- platform: dotnet, cross-platform
- tags: fluent-api, url-builder, rest-client, http-testing, nuget

## Member repositories
- tmenier/Flurl (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:48.329748+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:21:07.358519+00:00, confidence not recorded.
  - readme: https://github.com/tmenier/Flurl (fetched 2026-08-28T04:08:48.329748+00:00, sha b86b6200ef77)
  - homepage: https://flurl.dev (fetched 2026-08-29T09:09:07.858779+00:00, sha 7a4b47c4c121)
  - site_page: https://flurl.dev/docs/fluent-url (fetched 2026-08-29T09:09:07.868658+00:00, sha 434b4b4dffdd)
  - site_page: https://flurl.dev/docs/fluent-http (fetched 2026-08-29T09:09:07.871105+00:00, sha 5ac3affa872f)
  - site_page: https://flurl.dev/docs/testable-http (fetched 2026-08-29T09:09:07.873116+00:00, sha d8c9c41138fb)
  - site_page: https://flurl.dev/docs/clients (fetched 2026-08-29T09:09:07.874833+00:00, sha 12f8fb39b4cd)
  - site_page: https://flurl.dev/docs/configuration (fetched 2026-08-29T09:09:07.877177+00:00, sha 904acdbd19ec)
  - site_page: https://flurl.dev/docs/extensibility (fetched 2026-08-29T09:09:07.879534+00:00, sha da4da1fc3a4c)
  - site_page: https://flurl.dev/docs/upgrade (fetched 2026-08-29T09:09:07.881238+00:00, sha 7be0786fb0ec)
- Data as of 2026-08-30T08:39:29.467469+00:00.
