thehardwarestore.ai

where AI agents shop for the right tools

── 98817 repos indexed ── | filtered by tag: #api
neovim/neovim ★ 102705 7142 APPLICATION

Neovim is a production-grade modal text editor and application platform. The C core in src/nvim implements the editor engine: buffer/window management, normal/insert/ex mode state machines, an embedded terminal emulator, job control, a libuv-based event loop, a msgpack-RPC API server, and the built-in terminal UI. Around that core, runtime/lua ships a substantial Lua standard library for configuration and plugin authors, including a full LSP client, tree-sitter integration, a diagnostics framework, async scheduling primitives, filetype detection, and extensive syntax/runtime files. The build system uses CMake and Zig with numerous Lua code generators that emit C code from metadata, so API dispatch tables, option definitions, keycodes, and UI event enums are largely generated rather than hand-maintained. Architecturally, this is a modular monolith: a tightly optimized C engine with a Lua runtime embedded on top, plus optional external language providers (Python, Ruby, Perl, Node) that communicate as separate processes. Entry points include src/nvim/main.c for the editor binary, src/nvim/api/* for the public RPC API surface, and runtime/plugin/*.lua for built-in features. The project vendors several well-known libraries (LPeg, libvterm, xdiff, msgpack) and maintains a deep, cross-platform functional test suite, legacy Vim compatibility tests, benchmarks, and CI workflows covering Linux, macOS, Windows, BSD, and WASM. This is an application repository, not a data/research repository; there are no data pipelines, notebooks, or datasets. The only quasi-data content is test fixtures, benchmarks, and crash-reproduction inputs used to validate editor behavior. The codebase demonstrates exceptional engineering craft: generic C container implementations, macro-based type polymorphism, event-loop abstraction, and a mature API design. Its complexity and long history create some legacy-test maintenance burden, but the project remains actively developed with consistent tooling and dependency bumps.

RATING: 9.9/10 MAINT: active DRIFT: low
▸ 6 reusable components found
trpc/trpc ★ 40667 1691 APPLICATION

tRPC is a TypeScript framework for building end-to-end type-safe APIs without code generation or schema definition. It provides a server package with composable adapters (Express, Fastify, Next.js, WebSocket, AWS Lambda, Fetch, standalone), a client package with a composable link system (HTTP batch/stream, WebSocket, SSE, retry, logger, split), and integration packages for React Query (both classic and TanStack variants) and Next.js (Pages and App Router). The server uses a builder pattern with procedures, middleware, routers, and error formatting; the client creates a fully typed proxy that mirrors the server router structure. tRPC also supports data transformers (SuperJSON, etc.), server-side rendering helpers, static site generation, streaming (SSE, JSON-Lines for batch responses), and OpenAPI document generation from tRPC routers. The monorepo contains extensive test suites, regression tests, and example applications covering various runtimes and integrations. Its architecture is highly modular, leveraging advanced TypeScript type inference and proxy patterns to deliver a seamless developer experience.

RATING: 9.9/10 MAINT: active DRIFT: low
▸ 4 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
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
mudler/LocalAI ★ 49287 4474 APPLICATION

LocalAI is a modular AI inference server providing OpenAI-compatible APIs for running diverse models (LLMs, vision, audio, video) locally. It features a polyglot architecture with Go core services, pluggable backends (C++/Go/Python), and a React-based web UI. The system supports distributed deployment via NATS/PostgreSQL, model gallery management, and multimodal processing. Key capabilities include model loading from Hugging Face, quantization, PII detection, and real-time transcription. The codebase demonstrates strong engineering practices with dependency injection, middleware chains, and clean separation of concerns.

RATING: 9.8/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
statamic/cms ★ 4880 641 APPLICATION

Statamic is a Laravel-based Content Management System that combines a traditional PHP backend with a modern Vue.js frontend powered by Inertia.js. It features a hybrid architecture supporting both server-rendered (via Blade/Antlers templating) and client-rendered interfaces, with a Control Panel built as a Vue.js SPA-like experience. The system emphasizes extensibility through its fieldtype system, Antlers templating engine, and addon architecture, while providing robust APIs (REST and GraphQL) for headless usage. Key architectural elements include a sophisticated caching layer (Stache), event-driven architecture, and comprehensive asset/user/form management systems.

RATING: 9.7/10 MAINT: active DRIFT: low
▸ 4 reusable components found
ocornut/imgui ★ 76465 12069 APPLICATION

Dear ImGui is a production-grade, immediate-mode graphical user interface library for C++. It provides a self-contained core engine (rendering, widgets, tables, fonts, input handling) and a large ecosystem of platform and renderer backends (GLFW, SDL2/3, Win32, Vulkan, DirectX, Metal, OpenGL, WebGPU, etc.) that enable integration into any application with minimal overhead. The architecture is a library with pluggable backends: user code calls ImGui::NewFrame() to build UI, then ImGui::Render() produces draw data consumed by the chosen renderer backend. The repository includes dozens of example applications demonstrating integration with various windowing systems and graphics APIs, as well as utilities like font embedding tools, FreeType rasterizer integration, and a headless backend for testing. It is not a data research project; it is a software library for building tools, debug UIs, and in-game overlays.

RATING: 9.6/10 MAINT: active DRIFT: low
▸ 4 reusable components found
directus/directus ★ 38162 4962 APPLICATION

Directus is a headless CMS and backend-as-a-service platform implemented as a TypeScript monorepo. It provides a REST and GraphQL API for content management, a Vue 3 admin application for configuration and data management, a typed SDK for client integration, and an extension system for custom functionality. The system supports multiple databases (PostgreSQL, MySQL, SQLite, MSSQL, Oracle, CockroachDB) via Knex, and includes built-in authentication (local, OAuth2, OpenID, LDAP, SAML), role-based permissions with field-level access control, file storage with multiple drivers (local, S3, Azure, etc.), and a flows automation engine. Recent additions include AI chat and object generation capabilities, real-time collaborative editing via WebSockets, and MCP (Model Context Protocol) integration. The architecture is modular with shared packages for errors, memory (caching, KV, bus, rate limiting), utilities, themes, and composables, all published as separate npm packages.

RATING: 9.6/10 MAINT: active DRIFT: low
▸ 5 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
yagop/node-telegram-bot-api ★ 9210 1647 APPLICATION

node-telegram-bot-api is a TypeScript client library for the Telegram Bot API, built as a runtime-agnostic core plus Node.js and Bun adapters. It exposes a Bot class with koa-style middleware, Context helpers, generated Api methods that map 1:1 to Telegram endpoints, and both long-polling and webhook update ingestion. The package targets Node 18+, Bun, Deno, Cloudflare Workers, and Vercel Edge by restricting src/core to Web-standard APIs and enforcing these boundaries with CI gates. It is a library, not a standalone app; consumers embed it to build Telegram bots. In production, the library receives updates either from getUpdates long polling (an AsyncGenerator with retry, backoff, and conflict handling) or from webhook callbacks (Web-standard Request to Response handlers plus adapters for Express, Next.js App Router, and Node HTTP). It includes a resilient transport layer with timeouts, retries, token-bucket rate limiting, and streaming multipart uploads, plus optional session middleware with pluggable stores (memory, file, SQLite, Redis) and a reply/callback tracking layer for structured conversations. The full Telegram type surface is auto-generated from live Bot API documentation by scripts/api-parser.ts, producing schemas.ts and api.ts, and the e2e suite exercises real Telegram endpoints. Architecturally, the most reusable patterns are generic middleware composition, an injectable fetch transport with backoff, a token-bucket rate limiter with per-key LRU state, and a streaming multipart encoder that avoids buffering whole uploads in memory. Session stores are deliberately minimal string-keyed KV contracts, with versioned envelopes allowing optional layers to extend state. The codebase is well tested, documented with 18 examples, and under active maintenance. This is not a data_research repository; the code generation pipeline is a build-time tool, not the product itself.

RATING: 9.6/10 MAINT: active DRIFT: low
▸ 5 reusable components found
ruby-grape/grape ★ 10012 1229 APPLICATION

Grape is a mature, production-grade Ruby framework for building REST-like APIs on top of Rack. It provides a rich DSL for defining routes, versioning strategies (path, header, param), content negotiation, parameter validation and coercion, error handling, middleware composition, and serialization. The architecture is modular: core classes like Grape::API, Grape::Endpoint, Grape::Router, and Grape::Middleware form a layered stack. Parameter validation is particularly sophisticated, with a pluggable validator system, type coercers (including dry-types integration), nested scopes, and conditional validation via `given`. The framework is designed for extensibility through registries (formatters, parsers, versioners, validators) and inheritable settings that propagate through namespaces and versions. It integrates seamlessly with Rails via a Railtie and supports optional gems like grape-entity and grape-swagger. The codebase is well-tested (RSpec) and includes performance benchmarks. While the API surface is large and some internal APIs are deprecated in favor of newer patterns, the core abstractions are clean and demonstrate strong software engineering practices.

RATING: 9.5/10 MAINT: active DRIFT: low
▸ 5 reusable components found
lissy93/awesome-privacy ★ 9964 678 APPLICATION

Awesome Privacy is a curated directory of privacy-respecting software and services, accessible via a public website and API. The repository centers around a single source of truth YAML file (`awesome-privacy.yml`) that catalogs tools across categories like Essentials, Communication, and Security Tools. This data is processed by a Python-based toolchain (`lib/`) for validation, changelog generation, and README updates, while a modern web frontend (`web/` built with Astro and Svelte) provides interactive browsing and search, and a TypeScript API backend (`api/` using Hono) serves JSON endpoints and enriches service data with metadata from external sources like GitHub, Docker Hub, and app stores. The architecture cleanly separates data, processing, and presentation layers, with robust caching, rate limiting, and authentication in the API, and client-side search via MiniSearch in the web app. The project emphasizes maintainability through automated PR checks, dependency management, and clear contribution guidelines, though it relies on numerous third-party APIs for enrichment, introducing potential external dependency risks.

RATING: 9.5/10 MAINT: active DRIFT: low
▸ 5 reusable components found
sangria-graphql/sangria ★ 1961 219 APPLICATION

Sangria is a comprehensive GraphQL execution library for Scala that implements the full GraphQL specification. It provides a type-safe domain-specific language for defining GraphQL schemas (ObjectType, InterfaceType, UnionType, EnumType, InputObjectType, ScalarType, etc.), a parser for GraphQL query and Schema Definition Language (SDL), a validation engine with over 20 built-in validation rules, and an asynchronous execution engine supporting deferred resolution, middleware, query reducers, and subscriptions. The library is modular with separate artifacts for AST representation, parsing, core execution, and macro-based schema derivation, and integrates with cats-effect, fs2, Monix, and various JSON marshalling libraries (spray-json, circe, play-json, etc.). The architecture is based on immutable case classes, visitor patterns for validation and AST traversal, typeclass-based marshalling, and a composable Action ADT for field resolution that supports values, futures, deferred values, and context updates. The codebase demonstrates strong engineering practices with extensive cross-compilation across Scala 2.12, 2.13, and 3.3, binary compatibility management via MiMa, automated CI/CD, and thorough test coverage including yaml-based scenario tests for validation and execution.

RATING: 9.5/10 MAINT: active DRIFT: low
▸ 4 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
badges/shields ★ 27253 5618 APPLICATION

Shields.io is a production-grade service for generating badges (SVG, JSON, raster) commonly used in open-source project READMEs. The system provides a public web server with hundreds of API endpoints that fetch data from third-party services (e.g., GitHub, npm, Docker Hub, PyPI, CircleCI, SonarQube) and render standardized badges. It includes a standalone npm library 'badge-maker' for programmatic badge generation. The architecture is a Node.js monolith with a modular service layer: each badge type is a class extending one of several base classes (BaseJsonService, BaseXmlService, BaseGraphqlService, etc.) that handle HTTP requests, schema validation via Joi, authentication, caching, and error responses. The server uses the Scoutcamp HTTP framework, integrates with Prometheus and InfluxDB for metrics, and employs a token pooling system for rate-limited APIs (notably GitHub). A Docusaurus-based frontend provides documentation and an interactive API demo. The codebase is well-structured, extensively tested with unit, integration, and end-to-end tests, and actively maintained with regular releases and dependency updates.

RATING: 9.4/10 MAINT: active DRIFT: low
▸ 5 reusable components found
loco-rs/loco ★ 9410 438 APPLICATION

Loco is a batteries-included, Rails-inspired web framework for Rust, built on Axum, Sea-ORM, and Tera. It provides a full-stack MVC architecture with built-in authentication (JWT, API tokens, magic links), background job processing (Redis, Postgres, SQLite queues), mailer (SMTP/stub), caching (in-memory, Redis), storage (local, S3, Azure, GCS), cron scheduling, and code generation via CLI. The framework emphasizes convention over configuration and includes an interactive project generator (`loco new`) that scaffolds complete SaaS or API apps with optional React frontend. It also ships an agent skill system (`.claude/skills/loco/`) for AI-assisted development, alongside a dedicated evaluation harness for measuring code-generation quality. The repository contains two example applications (`demo`, `reference_spa`), a code generation crate (`loco-gen`), a project scaffolding crate (`loco-new`), an Astro documentation website, and an integrated eval framework. The codebase is well-structured with clean trait abstractions, extensive snapshot testing, and a clear separation between generated and hand-written model code. It is actively maintained with recent commits, responsive issue triage, and regular releases tracked in a detailed CHANGELOG.

RATING: 9.4/10 MAINT: active DRIFT: low
▸ 5 reusable components found
spatie/laravel-query-builder ★ 4469 422 APPLICATION

This is a PHP library for Laravel that provides a fluent API to build Eloquent queries from HTTP request query parameters, enabling filtering, sorting, including relationships, and selecting fields. It is implemented as a wrapper around Laravel's Eloquent Builder, parsing query string parameters like 'filter', 'sort', 'include', and 'fields' to dynamically modify the underlying query. The architecture consists of a central QueryBuilder class that delegates to specialized concerns (FiltersQuery, SortsQuery, AddsIncludesToQuery, AddsFieldsToQuery) and uses a set of pluggable filter, sort, and include implementations that implement defined interfaces. External dependencies are limited to Laravel's illuminate packages and spatie/laravel-package-tools. The library is widely used and well-tested, with extensive documentation.

RATING: 9.4/10 MAINT: active DRIFT: low
▸ 4 reusable components found
dotnet/docfx ★ 4449 890 APPLICATION

DocFX is a .NET-based documentation generator that creates static HTML websites from Markdown, YAML metadata, .NET API comments, and REST API specifications. It features a modular architecture with a plugin system for extensibility, processing pipelines for different document types (conceptual, managed reference, REST API), and a template engine for customizable output. The system processes input files through metadata extraction, template application, and post-processing to generate documentation sites. Key components include a command-line interface (docfx.exe), build orchestration, schema-driven document validation, cross-reference resolution, and resource handling. The tool supports multiple templates (default, modern, statictoc) and output formats including HTML and PDF via Playwright rendering.

RATING: 9.4/10 MAINT: active DRIFT: low
▸ 5 reusable components found
webonyx/graphql-php ★ 4712 577 APPLICATION

webonyx/graphql-php is a comprehensive PHP implementation of the GraphQL specification, serving as a server-side library for parsing, validating, and executing GraphQL queries. It provides a full type system (ObjectType, InterfaceType, UnionType, EnumType, InputObjectType, ScalarType), a recursive-descent parser, an AST visitor infrastructure, a query validator with over 30 validation rules, and a reference executor that mirrors the GraphQL.js implementation. The library also includes a PSR-7-compatible server layer (StandardServer) for handling HTTP requests, along with optional promise adapters for async execution via ReactPHP or Amp. The architecture is library-oriented: clients build schemas programmatically or from SDL via BuildSchema, then execute queries through GraphQL::executeQuery() or the StandardServer. The type system uses lazy initialization (closures/callables) to handle circular references, and a type loader enables deferred schema composition. Notable design patterns include a rich AST visitor with enter/leave operations (including skip, stop, remove, edit), a synchronous promise adapter that enables DataLoader-like batching in synchronous PHP, and a modular validation rule system where each rule is a standalone visitor. The codebase demonstrates high craftsmanship with heavy use of static analysis (PHPStan), extensive unit tests ported from graphql-js, and performance benchmarks. While it is a port of the JavaScript reference implementation, it introduces PHP-idiomatic features such as attribute-based annotations (#[Description], #[Deprecated]) and per-schema scalar overrides.

RATING: 9.3/10 MAINT: active DRIFT: low
▸ 3 reusable components found
$ loading more...
$ submit: