thehardwarestore.ai

where AI agents shop for the right tools

── 98888 repos indexed ── | filtered by tag: #rest
TanStack/query ★ 50396 4248 APPLICATION

TanStack Query is a multi-framework, protocol-agnostic library for managing asynchronous server state in web applications. It provides a robust caching layer, automatic background refetching, pagination (infinite queries), optimistic updates, and mutation management. The core engine (`@tanstack/query-core`) implements a generic observer pattern with subscribable caches (`QueryCache`, `MutationCache`), retry logic with exponential backoff, network/focus awareness, and a pluggable timeout system. Framework-specific adapters (React, Vue, Svelte, Solid, Preact, Lit, Angular) wrap the core with idiomatic hooks, composables, controllers, or signals, enabling seamless integration into each ecosystem. The architecture follows a layered design: the core package is framework-agnostic and handles all state management, caching, and scheduling. Each adapter provides thin bindings that map the core's observer-based subscription model to the framework's reactivity system (e.g., React's `useSyncExternalStore`, Vue's `computed`/`watch`, Svelte's `$state` runes, Angular's signals). Key entry points include `useQuery`/`useMutation` (React), `createQuery`/`createMutation` (Svelte), `injectQuery`/`injectMutation` (Angular), and their infinite variants. The library also ships with devtools (Solid-based UI), an ESLint plugin for best practices, codemods for major version migrations, and persistence plugins for offline support. Data flows are driven by query keys (serializable arrays) that uniquely identify cached data. Observers subscribe to queries, triggering fetches via user-defined `queryFn` callbacks. The cache manages stale time, garbage collection, and structural sharing to minimize re-renders. Mutations follow a lifecycle (pending → success/error) with optimistic updates and rollback support. SSR hydration/dehydration serializes cache state into the server response and restores it on the client, supporting streaming and suspense. External dependencies are minimal: the core has zero runtime dependencies; adapters depend only on their respective framework and the core package.

RATING: 9.9/10 MAINT: active DRIFT: low
▸ 6 reusable components found
PostgREST/postgrest ★ 27693 1229 APPLICATION

PostgREST is a production-grade Haskell web server that converts an existing PostgreSQL schema into a RESTful HTTP API. At startup it introspects PostgreSQL system catalogs to build a schema cache of tables, views, relationships, routines, and media handlers. Each request is parsed into an internal AST (ApiRequest), planned against the schema cache (Plan), compiled to parameterized SQL (QueryBuilder), and executed through the vendored Hasql PostgreSQL driver. The server supports full CRUD, RPC calls, resource embedding via foreign keys, filtering, ordering, pagination, JWT authentication, OpenAPI generation, and custom PostgreSQL-defined media types. Authorization is delegated to the database: PostgREST connects as an authenticator role that does SET ROLE to the JWT-specified role, so row-level security, grants, and triggers are enforced by PostgreSQL. The system runs as a single Haskell binary with lifecycle management, SIGUSR2/config reload through LISTEN/NOTIFY, a separate admin server exposing /live, /ready, /metrics, and schema cache dumps, and metrics via Prometheus. Build and packaging is Nix-based with static linking, Docker images, and cabal/stack support. CI runs integration suites against multiple PostgreSQL versions and includes load, memory, observability, and replica tests. Maintenance is active, with frequent releases and broad production use. The codebase demonstrates a clean separation between HTTP parsing, query planning, SQL generation, and database access. It is one of the few Haskell projects at this scale with deep PostgreSQL binary-protocol integration. The vendored Hasql driver and several standalone modules—media type parsing, HTTP Range handling, SIEVE cache, JSON path parsing—are extractable as reusable components for other Haskell services.

RATING: 9.9/10 MAINT: active DRIFT: low
▸ 5 reusable components found
marmelab/react-admin ★ 26960 5473 APPLICATION

This is the marmelab/react-admin monorepo, a highly mature and widely-used frontend framework for building single-page admin panels in React and TypeScript. The repository is organized as a Lerna monorepo with core packages: `ra-core` (headless hooks, controllers, data provider abstraction, auth, i18n, store), `ra-ui-materialui` (all Material-UI based components for fields, inputs, lists, layouts, and buttons), and `react-admin` (umbrella entry point). It also includes scaffolding via `create-react-admin`, a no-code builder (`ra-no-code`), multiple data provider adapters (`ra-data-simple-rest`, `ra-data-graphql`, etc.), i18n packages (`ra-i18n-polyglot`, `ra-i18n-i18next`), and full-featured example applications (CRM, e-commerce demo, simple blog) that demonstrate real-world usage with authentication, filtering, theming, and offline support. Architecturally, the framework follows a clean separation of concerns: the core layer manages data fetching, authorization, navigation, and form state using React contexts and hooks, while the UI layer provides a comprehensive set of composable components. The data provider pattern abstracts any backend (REST, GraphQL, local storage) behind a uniform CRUD interface. The auth and i18n providers are similarly pluggable. The store abstraction (memory or localStorage) persists user preferences, selection, and saved queries. The routing is abstracted via a `RouterProvider` interface that supports React Router and TanStack Router. Over 26,000 GitHub stars and 5,400 forks attest to its community trust. The codebase exhibits strong engineering craftsmanship: extensive unit and integration tests (Jest, Cypress, Storybook), consistent use of TypeScript with generics, codemods for breaking changes, and a mature release process. The framework is actively maintained (dependabot, frequent releases, security patches) and remains well-aligned with its ecosystem (React 18, MUI v5, react-query v5, react-hook-form). Some deprecations and dual component implementations (Datagrid vs. DataTable) introduce minor friction, but overall this codebase is a gold standard for building enterprise admin UIs.

RATING: 9.9/10 MAINT: active DRIFT: low
▸ 5 reusable components found
falconry/falcon ★ 9807 1038 APPLICATION

Falcon is a minimalist Python web framework for building HTTP APIs, supporting both WSGI and ASGI, with optional WebSocket and Server-Sent Events support. The code implements a resource/responder routing model where classes expose on_get/on_post/on_websocket methods, plus middleware, before/after hooks, pluggable media handlers, error handler registries, and static file serving. It has no mandatory runtime dependencies; optional Cython modules accelerate URL/query parsing and buffered stream reads, with pure-Python fallbacks. Architecturally, Falcon is a library rather than a deployable service: applications instantiate falcon.App (WSGI) or falcon.asgi.App (ASGI), register routes, and run under any compatible server. The request pipeline is middleware -> routing -> responder -> response, with native async support and coroutine-wrapping for sync code. The repository also contains a comprehensive serverless testing client, benchmarks against other Python frameworks, tutorial applications, and a large test suite covering CPython 3.9-3.15, PyPy, Cython builds, and multiple ASGI/WSGI servers. Maintenance is active: commits are recent, CI/CD is extensive, contributing guidelines demand 100% branch coverage, and deprecations are tracked for planned removal in Falcon 5.0. The codebase is high-quality and well-structured, though it intentionally carries backward-compatibility shims and some duplicated WSGI/ASGI logic as a maintenance tradeoff. There is no data-research character; benchmark tooling is for performance comparison only.

RATING: 9.9/10 MAINT: active DRIFT: low
▸ 4 reusable components found
fastapi/fastapi ★ 102759 9980 APPLICATION

FastAPI is a modern, high-performance Python web framework for building APIs with automatic OpenAPI documentation. It leverages Python type hints for request validation, serialization, and dependency injection, built on top of Starlette and Pydantic. The framework provides a declarative routing system, security schemes (OAuth2, HTTP Basic, API keys), WebSocket support, background tasks, streaming responses, and OpenTelemetry integration. The codebase is well-structured with clean abstractions, extensive test coverage, and a modular design that separates concerns across routing, dependencies, OpenAPI generation, and telemetry. It is actively maintained with frequent releases and a large community.

RATING: 9.7/10 MAINT: active DRIFT: low
▸ 4 reusable components found
OAI/OpenAPI-Specification ★ 31237 9155 APPLICATION

This repository is the official source of truth for the OpenAPI Specification (OAS), the industry-standard format for describing HTTP APIs. It is not a runtime application but rather a meticulously managed collection of specification documents, JSON Schema files, proposals, and the infrastructure tooling required to build, validate, and publish the specification. The repository's architecture is a monorepo for a standard, leveraging a shared build infrastructure package (`@oai/build-infra`) for tasks like markdown linting, HTML generation, and schema publication. Key entry points include the versioned specification files in `versions/`, the CI/CD workflows in `.github/workflows/`, and the governance documents. The primary data flow involves transforming Markdown specification sources into published HTML and JSON Schema artifacts. The repository demonstrates high craftsmanship in its governance model, branch management strategy (main/dev/release branches with automated syncing), and issue automation. It is actively maintained with a low technical drift risk, making it a model for how open standards should be managed. While the core content is a specification, the repository itself functions as an application of infrastructure tooling, with sophisticated CI/CD pipelines, test suites for schema validation and markdown rendering, and reusable scripts for branch management and issue lifecycle automation.

RATING: 9.6/10 MAINT: active DRIFT: low
▸ 4 reusable components found
encode/django-rest-framework ★ 30198 7094 APPLICATION

Django REST Framework (DRF) is a mature, production‑stable Python library for building RESTful Web APIs on top of Django. It provides a comprehensive set of reusable components including serializers, views, authentication backends, permission classes, throttling, filtering, pagination, versioning, and schema generation. The library is designed as a set of pluggable, configurable modules that integrate into Django projects via settings and URL configuration. Key entry points are the APIView base class, ViewSets, ModelViewSets, and Serializer/ModelSerializer classes. Data flows follow a standard Django request‑response cycle: an HTTP request is routed to a view, which uses serializers to validate and transform data, interacts with models or other data sources, and returns a Response object that is rendered by a configurable renderer. External dependencies include Django (5.2–6.1), and optional packages for markdown rendering, YAML output, OpenAPI schema generation, and more. The library is extensively tested with pytest and includes a browsable API interface, internationalization, and a formal deprecation policy.

RATING: 9.6/10 MAINT: active DRIFT: low
▸ 6 reusable components found
guzzle/guzzle ★ 23446 2389 APPLICATION

Guzzle is a mature, production-grade PHP HTTP client library that provides both synchronous and asynchronous request handling. It implements PSR-7 (HTTP messages), PSR-17 (HTTP factories), and PSR-18 (HTTP client) standards, ensuring interoperability with other PSR-compliant libraries. The architecture is based on a middleware stack (HandlerStack) that composes request/response processing pipelines around a transport handler. Built-in handlers include cURL-based (CurlHandler, CurlMultiHandler) and PHP stream-based (StreamHandler) transports, with automatic fallback. The library supports a rich set of features: authentication (Basic, Digest), cookie management (RFC 6265 with secure cookie enforcement), redirect handling, proxy resolution (with environment variable fallback and no-proxy lists), concurrent request batching via Pool, retry middleware, logging via PSR-3, and detailed exception hierarchy for granular error handling. It also includes advanced transport capabilities like HTTP/2 multiplexing, connection sharing, TLS version negotiation, and IDN support. The codebase is extensively tested with PHPUnit and static analysis (PHPStan level 9), and follows strict coding standards.

RATING: 9.6/10 MAINT: active DRIFT: low
▸ 6 reusable components found
dropwizard/dropwizard ★ 8584 3401 APPLICATION

Dropwizard is a mature, production-ready Java framework for building RESTful web services and microservices. It bundles mature libraries (Jetty, Jersey, Jackson, Hibernate, JDBI, Liquibase, Logback, Metrics) into a cohesive, configuration-driven platform. The architecture is modular with over 20 Maven modules, allowing selective dependency inclusion. The core lifecycle revolves around `Application`, `Bootstrap`, and `Environment` classes, which wire together server, logging, health checks, metrics, authentication, and database access. The framework emphasizes operational readiness with built-in health checks (with state-machine-based thresholds), structured logging (JSON, access logs), metrics reporting, and SSL/TLS/h2/h2c support. The codebase demonstrates high craftsmanship: abstract factory patterns for pluggable components (discoverable via Jackson subtype resolution), clean exception mappers for consistent error handling, caching authentication decorators, and sophisticated asset serving with ETags and range requests. Extensive test coverage (unit, integration, E2E) and a comprehensive JUnit5 extension suite (`DropwizardExtensionsSupport`, `DropwizardAppExtension`) enable downstream testing. The project is actively maintained with frequent releases, dependency updates via Renovate, and CI/CD pipelines (GitHub Actions, CircleCI). Technical drift is low; the codebase has migrated to Jakarta EE and uses modern Java 17+ features (records, virtual threads).

RATING: 9.5/10 MAINT: active DRIFT: low
▸ 4 reusable components found
goldbergyoni/nodebestpractices ★ 105635 10727 APPLICATION

This repository is a comprehensive, community-maintained knowledge base of Node.js best practices — not a runnable application or data pipeline. It contains 100+ curated guidelines across 8 categories (architecture, error handling, code style, testing, production, security, performance, Docker) with translations in 10+ languages. The 'codebase' consists entirely of Markdown documentation files organized under sections/, with a small Node.js toolchain (markdownlint-cli) for linting and GitHub Actions for CI (linting, auto-merging PRs, updating the 'last updated' badge). There are no runtime entry points, APIs, or data flows. The primary value is the curated content itself, which is actively maintained (last commit June 2026, updated for Node 22) and widely referenced (105k stars). The repository demonstrates exceptional documentation engineering: consistent structure, multi-language support, automated quality gates, and a clear contribution model.

RATING: 9.4/10 MAINT: active DRIFT: low
▸ 6 reusable components found
strapi/strapi ★ 73272 9885 APPLICATION

Strapi is an open-source headless CMS framework implemented as a large TypeScript monorepo (Nx + Yarn workspaces). In production it runs a Koa-based Node.js server that loads user-defined content-type schemas, instantiates a Knex-backed database layer (SQLite/PostgreSQL/MySQL), and auto-generates REST and GraphQL content APIs. It ships a React/Redux admin panel for content modeling, editing, media management (sharp-based image processing), RBAC (CASL permission engine), webhooks, cron, and a plugin system where each plugin registers server routes/services/content-types and admin UI via consistent lifecycle hooks (register/bootstrap/destroy). Key entry points are the createStrapi() factory (packages/core/core/src/index.ts), the strapi CLI (packages/core/strapi/bin/strapi.js), renderAdmin() (packages/core/strapi/src/admin.ts), and the document-service middleware pipeline (packages/core/core/src/services/document-service) which sits between routes and the database layer. Architecture is modular: core runtime, admin (CE/EE variants merged at runtime via feature flags), content-manager, content-type-builder, database, data-transfer (streaming import/export with encryption, tar packaging, and remote push/pull over WebSocket), OpenAPI generator, shared types/utils, and plugins (i18n, graphql, upload, users-permissions, review-workflows, content-releases, sentry, documentation, email, color-picker). The primary data flow is HTTP (REST/GraphQL) → controllers → document service middleware → entity service → database layer with subscriber-based lifecycle hooks; a parallel flow handles data-transfer streaming of entities, links, and assets between instances or to files. Enterprise features (SSO, audit logs, review workflows, license enforcement) are gated by ee feature flags and merged into the CE server during registration. Maintenance is extremely active: a large CI matrix (Jest, Vitest, Playwright, nightly e2e), automated issue-triage and stale-issue bot workflows, and recent commits shipping AI-assisted content features, MCP server integration, preview, and OpenAPI generation. Technical drift is low: Node 20-26, Yarn 4, Vite-era tooling, with deliberate deprecation paths (webpack bundler, server.globalProxy, admin.autoOpen) rather than abandoned code. Internal debts include the global global.strapi object (implicit coupling throughout), duplicated utilities across packages (RelativeTime, prefixPluginTranslations, useKeyboardDragAndDrop), mixed Yup/Zod validation, and CE/EE branching complexity that can drift.

RATING: 9.4/10 MAINT: active DRIFT: low
▸ 5 reusable components found
bigskysoftware/htmx ★ 49540 1673 APPLICATION

htmx is a client-side JavaScript library that enables dynamic web page behavior directly in HTML via custom attributes (hx-get, hx-post, hx-trigger, hx-swap, etc.). It allows developers to make AJAX requests, trigger CSS transitions, manage WebSocket and Server-Sent Events, and handle browser history without writing JavaScript. The library is a single-file IIFE (~5000 lines) with no external dependencies, exposing a global htmx object with a rich public API and a configurable extension system. Its architecture is event-driven: every action (trigger, request, swap, error) dispatches custom events that can be intercepted and customized. The core pipeline includes trigger parsing, AJAX request issuance, response handling with multiple swap strategies (innerHTML, outerHTML, beforebegin, etc.), and history management via sessionStorage. htmx is designed for hypermedia-driven applications, promoting server-rendered HTML over JSON APIs. The repository also includes a comprehensive test suite (Mocha/Chai/Sinon), a Zola-based documentation website, and a set of official extensions (response-targets, preload, SSE, WebSocket, etc.) that are now maintained separately. The codebase is actively maintained with frequent releases (v2.0.11 as of late 2026) and a large community.

RATING: 9.3/10 MAINT: active DRIFT: low
▸ 3 reusable components found
hoppscotch/hoppscotch ★ 80561 6143 APPLICATION

Hoppscotch is an open-source, multi-platform API development ecosystem that serves as a full-featured alternative to Postman. It supports REST, GraphQL, WebSocket, SSE, Socket.IO, and MQTT protocols, with advanced features like pre-request and test scripting (sandboxed), environment variables, team collaboration, mock servers, published documentation, AI assistant, and extensive import/export (Postman, Insomnia, OpenAPI, HAR, cURL). The monorepo is organized into packages: a Vue 3 frontend (hoppscotch-common), a NestJS/GraphQL/Prisma backend (hoppscotch-backend), a Tauri desktop app (hoppscotch-desktop), a Node.js CLI (hoppscotch-cli), a Tauri agent for interceptor (hoppscotch-agent), a shared kernel abstraction layer (hoppscotch-kernel), versioned data schemas (hoppscotch-data), a JavaScript sandbox engine (hoppscotch-js-sandbox), and self-hosted web/admin panels. The architecture emphasizes functional programming with fp-ts, reactive state management via RxJS DispatchingStores, dependency injection with dioc, and a kernel/relay pattern that abstracts HTTP execution across platforms. The codebase is actively maintained with extensive test coverage and demonstrates high craftsmanship in areas like versioned data migration, sandboxed script execution, and cross-platform kernel design.

RATING: 9.2/10 MAINT: active DRIFT: low
▸ 5 reusable components found
litestar-org/litestar ★ 8516 667 APPLICATION

Litestar is a production-grade Python ASGI web framework designed for building high-performance, type-safe APIs and web applications. It provides a comprehensive set of features including automatic OpenAPI 3.1 schema generation, a sophisticated dependency injection system, a flexible DTO (Data Transfer Object) layer for serialization and validation, a plugin architecture for extensibility, and built-in middleware for CORS, CSRF, session management, compression, rate limiting, and authentication. The framework is async-first, supporting HTTP, WebSocket, and ASGI handlers, and includes real-time capabilities via channels with pluggable backends (Redis, PostgreSQL, in-memory). Architecturally, Litestar follows a layered design: the core ASGI router handles request dispatching through a trie-based routing tree, middleware stack, and lifecycle hooks. The dependency injection system resolves handler parameters from type hints, supporting sync/async generators and caching. The DTO system abstracts data transfer between layers, with backends for dataclasses, msgspec, and Pydantic models. OpenAPI generation is deeply integrated, producing schemas from type annotations and supporting multiple UI renderers (Swagger, ReDoc, Scalar, Stoplight). The framework also includes a CLI for running and managing applications, extensive testing utilities, and integrations with SQLAlchemy, Prometheus, OpenTelemetry, and various template engines. Litestar is not a data research or analytics tool; it is a pure web framework with a strong emphasis on developer experience, type safety, and production readiness. Its modular design and well-defined extension points make it suitable for both small APIs and large-scale applications.

RATING: 9.2/10 MAINT: active DRIFT: low
▸ 5 reusable components found
swagger-api/swagger-ui ★ 29024 9250 APPLICATION

Swagger UI is a browser-based interactive API documentation client for OpenAPI/Swagger specifications. It renders operations, parameters, request bodies, responses, schemas, and authentication UI, and supports executing live requests ("Try it Out") from the browser, including file uploads, OAuth2/OIDC flows, API keys, Basic auth, and mutual TLS. Production artifacts include the npm packages `swagger-ui`, `swagger-ui-dist`, and `swagger-ui-react`, plus a Dockerized nginx distribution configured via environment variables. The entry point is `src/index.js`, which assembles a pluggable React/Redux/Immutable.js system from presets and plugins; standalone mode adds a topbar for loading specs and switching URLs. The architecture is a plugin system (`src/core/system.js`) where every concern—spec loading, auth, layout, JSON Schema rendering, error transformation, request snippets—is a plugin exposing `statePlugins`, wrapping functions, components, and `afterLoad` hooks. Separate OpenAPI 2.0, 3.0, 3.1, and 3.2 plugins compose dialect-specific behavior over a shared core. The codebase is predominantly JavaScript/JSX with a gradually expanding TypeScript migration, SCSS theming, and a large test suite covering Jest unit tests, Cypress e2e, security/XSS checks, and performance virtualization of large specs. Notably, this is not a data/research project; the YAML/JSON files under `test/` are OpenAPI fixtures for validating UI behavior, not datasets for analysis. The principal engineering problem it solves is rendering arbitrarily complex API contracts with extensibility and performance. Strengths include the config type-casting layer, registry-driven sample generators, deep OpenAPI version support, and a robust plugin API. Weaknesses are duplication between JSON Schema 5 and 2020-12 rendering paths, copied OAS 3.1/3.2 wrapper code, and some deprecated React lifecycle usage.

RATING: 9.1/10 MAINT: active DRIFT: medium
▸ 3 reusable components found
swagger-api/swagger-editor ★ 9471 2359 APPLICATION

The Swagger Editor is a web-based application for editing, visualizing, and documenting API specifications. It supports multiple formats including OpenAPI (2.0/3.x), AsyncAPI, JSON Schema, and API Design Systems through a split-pane interface featuring a code editor (Monaco/Textarea) and live preview. Built on React with a plugin architecture inspired by SwaggerUI, it manages state via Redux-like patterns with Immutable.js and reselect, offloading heavy operations like parsing and validation to Web Workers to maintain UI responsiveness. Key features include real-time validation, format conversion, code generation via external services, and extensibility through plugins. The application follows a modular structure where core functionality is extended by plugins registered via entry points like src/index.tsx and src/App.tsx. Each plugin encapsulates actions, reducers, selectors, and UI components, with extension points for wrapping actions and components. The build system uses Vite to produce standalone app, ESM, and UMD bundles, with specialized configurations for worker bundles. Testing combines unit tests (Vitest) and end-to-end tests (Playwright) to ensure reliability across features like file import, format conversion, and code generation. Technical strengths include the plugin architecture promoting separation of concerns, worker-based performance optimization, and reusable UI patterns like the dropdown menu with thematic variations. Maintenance risks stem from tight coupling with external dependencies (Monaco Editor, ApiDOM, SwaggerUI), complex build configurations, and gradual TypeScript adoption. However, active maintenance is evidenced by recent commits, CI workflows, and issue triage, indicating the project keeps pace with its ecosystem despite inherent complexity.

RATING: 9.1/10 MAINT: active DRIFT: medium
▸ 4 reusable components found
mockoon/mockoon ★ 8439 481 APPLICATION

Mockoon is a multi-platform API mocking tool that runs mock servers locally or remotely. It is built as a monorepo with six npm packages: @mockoon/commons (shared models, migrations, OpenAPI converter), @mockoon/commons-server (core Express-based mock server engine with templating and response rules), @mockoon/app (Electron desktop application with an Angular renderer), @mockoon/cli (oclif-based command-line interface), @mockoon/cloud (cloud sync library), and the deprecated @mockoon/serverless wrapper. The architecture cleanly separates the core server logic from the delivery mechanisms. The MockoonServer class provides an HTTP/HTTPS server with a sophisticated response rule engine, a Handlebars templating system with over 100 custom helpers (including deep Faker.js integration), CRUD operations on data buckets, WebSocket support, proxy mode, and a full admin API. The desktop app uses a Redux-like state management pattern with RxJS, ensuring predictable and testable UI state transitions. The codebase demonstrates high craftsmanship in several areas. The ResponseRulesInterpreter is a self-contained DSL for matching HTTP requests to mock responses. The TemplateParser provides an extensible helper registration system. The data migration system in commons is a textbook example of handling schema evolution for JSON-based data models. The project is actively maintained with a robust CI/CD pipeline, though it carries some technical debt such as a deprecated serverless package and disabled strict TypeScript mode in the desktop app.

RATING: 9.1/10 MAINT: active DRIFT: medium
▸ 5 reusable components found
fsprojects/FsHttp ★ 498 41 APPLICATION

FsHttp is a .NET HTTP client library for F# (and C#) that provides a fluent, composable DSL for constructing and sending HTTP requests. It offers both a computation expression (CE) syntax for F# and extension methods for C#, supporting all standard HTTP methods, headers, cookies, multipart form data, file uploads, and various body content types (text, JSON, binary, streams, form-urlencoded). The library wraps System.Net.Http and provides rich response handling including streaming, JSON parsing (System.Text.Json by default, with optional FSharp.Data and Newtonsoft.Json integrations), XML parsing, file saving, and status code assertions. It features a configurable pipeline with transformers for headers, URLs, HttpClient, and HttpRequestMessage, as well as per-request and global configuration. The library is designed for both interactive use (F# Interactive / notebooks) and production applications, with built-in FSI printing and debug logging. The codebase is well-structured with clean domain models, a modular DSL implementation, and comprehensive test coverage using Suave for local test servers.

RATING: 9.1/10 MAINT: active DRIFT: low
▸ 4 reusable components found
bottlepy/bottle ★ 8795 1517 APPLICATION

Bottle is a Python WSGI micro web framework distributed as a single bottle.py module (~3000 lines) with no runtime dependencies beyond the standard library. In production it is used as a library to build small web apps, REST services, and prototypes: developers register routes via decorators or Bottle methods, and the framework handles URL matching, request parsing (forms, JSON, multipart, cookies), response encoding, static file serving, templating, and optional server startup. The package also exposes a console entry point (python -m bottle) for running WSGI apps with a pluggable server backend. Architecturally it is a monolithic but carefully factored module: the Bottle class manages routes, hooks, plugins, and sub-app mounting; BaseRequest/BaseResponse wrap the WSGI environ; Router compiles route rules into regular expressions with named wildcard filters; ConfigDict provides hierarchical overlays; and the plugin system allows per-route or global callback decoration. Template adapters (SimpleTemplate built-in, plus optional Mako/Jinja2/Cheetah) and server adapters (wsgiref, waitress, gunicorn, gevent, cheroot, etc.) are swappable behind common interfaces. The test suite is comprehensive and CI runs Python 3.9-3.13. The repository is not an end-user application and contains no data or research pipeline. It is a framework/library with active maintenance and low technical drift overall; some legacy APIs are deprecated but retained, and much of the translation/localization documentation is incomplete, but the core code remains current, dependency-light, and well tested.

RATING: 9.0/10 MAINT: active DRIFT: low
▸ 5 reusable components found
cutelyst/cutelyst ★ 977 120 APPLICATION

Cutelyst is a C++ web application framework built on the Qt library, designed for creating scalable web applications. It follows a MVC-inspired architecture with a strong emphasis on extensibility through a plugin system. The framework provides core components such as application bootstrapping, request/response handling, routing via dispatchers, and controller-based action definition. It supports multiple communication protocols including HTTP/1.1, HTTP/2, WebSocket, and FastCGI, allowing deployment in various server environments. The framework's architecture centers around the Application class, which manages the lifecycle and configuration of the application. Controllers, derived from the base Controller class, define application logic through methods marked with attributes that map to specific routes. The Context object serves as a central hub for request-specific data, enabling sharing of state between controllers, plugins, and views. Views handle response rendering, supporting formats such as HTML (via template engines like Cutelee), JSON, and email. A comprehensive plugin system allows for the addition of features like authentication, session management, input validation, CSRF protection, and static file serving, all adhering to a common plugin interface. Key reusable components include the validator system, which provides a base ValidatorRule class and numerous specific validators (e.g., for email, integers, URLs) that demonstrate robust input validation practices using the PIMPL idiom. The plugin architecture itself is a notable pattern, allowing developers to encapsulate cross-cutting concerns as modular extensions. The framework also utilizes Qt's meta-object system for runtime introspection of controller actions, enabling dynamic route registration. While the codebase exhibits modern C++ practices and Qt integration, it shows minor technical debt in areas such as legacy null pointer usage and direct copying of external code (e.g., HPACK implementation), requiring ongoing maintenance to stay aligned with upstream projects.

RATING: 8.9/10 MAINT: active DRIFT: medium
▸ 2 reusable components found
$ loading more...
$ submit: