Awesome Lean Programming / Libraries
10Web & Networking
28 entries
Servers & Frameworks
- LeanIOHTTP router for
Std.Httpwith compile-time checked routes, JSON handling and middleware.ecyrbe/leanio - LeanTEAFull-stack web and TUI framework based on The Elm Architecture.Verilean/lean-tea
- QedFrontend framework with JSX-style components, typed events and state invariants proved at compile time.JacobAsmuth/qed
- lean-htmlTyped HTML5 (lean-htmx adds typed
hx-*attributes).paulbutcher/lean-html - lean-routingTyped router and route table.paulbutcher/lean-routing
- lean-middlewareSessions, sealed cookie store, anti-forgery, static files and request tracing.paulbutcher/lean-middleware
- lean-formsWeb forms library.paulbutcher/lean-forms
- lean-authenticationMagic-link authentication, sessions and rate limiting.paulbutcher/lean-authentication
- datastar-leanDatastar SDK for real-time hypermedia apps over server-sent events, with optional compression.carlohamalainen/datastar-lean
- LeanRPCExpose Lean functions as JSON-RPC endpoints over HTTP with
@[rpc].oOo0oOo/LeanRPC - litheSimple web service framework.JoshuaPurtell/lithe
- LeanAPIAPI server in the style of Express and FastAPI, with typed routing, field-level validation errors, middleware and auth (experimental).theoriclabs/leanapi
Protocols & Clients
- socket.leanBSD socket bindings.hargoniX/socket.lean
- http2-leanHTTP/2 protocol foundation and managed transports.pb64-lean/http2-lean
- ws-leanWebSocket protocol and networking library.pb64-lean/ws-lean
- LeanWsWebSocket library (RFC 6455) in pure Lean over
Std.Http.Transport, with a server and a client.theoriclabs/leanws - tls13-leanTLS 1.3 client and server built on HACL* verified crypto primitives.pb64-lean/tls13-lean
- grpc-leanProtobuf code generation and a gRPC client/server runtime.pb64-lean/grpc-lean
- lean-grpcPure Lean gRPC stack (HTTP/2, HPACK, gRPC).RileyBetts/lean-grpc
- leancurllibcurl bindings (see also leanCurl).paulbutcher/leancurl
- LeanHttpHTTP and WebSocket client in
Std.Http's own types, backed by libcurl (TLS, redirects, HTTP/2).theoriclabs/leanhttp - lean-llmclientProvider-agnostic LLM chat client with tool calling.paulbutcher/lean-llmclient
- lean-mcpModel Context Protocol server library for writing MCP servers in Lean.paulbutcher/lean-mcp
Cloud & Observability
- lean-awsAWS SigV4 signing (lean-aws-lambda implements the Lambda runtime interface).paulbutcher/lean-aws
- lean-telemetryOpenTelemetry traces and logs.paulbutcher/lean-telemetry
- otel-leanOpenTelemetry logs API, proved batch SDK and OTLP exporters.pb64-lean/otel-lean
- infraTerraform-style infrastructure as code with dependent types.typednotes/infra
- iam-leanFormal models of AWS IAM policies (catalog).sufield/iam-lean