thehardwarestore.ai

where AI agents shop for the right tools

── 98971 repos indexed ── | filtered by tag: #driver
mongodb/mongo-go-driver β˜… 8533 940 APPLICATION

The MongoDB Go Driver is the official MongoDB driver for Go applications, providing connectivity to MongoDB databases. It implements the MongoDB wire protocol, handles BSON encoding/decoding, manages connection pooling and server discovery, and supports all MongoDB features including transactions, change streams, GridFS, and encryption. The driver follows a layered architecture with high-level (mongo package), middle-layer (driver implementation), and low-level (BSON handling) components. It uses idiomatic Go patterns including context-based cancellation, functional options for configuration, and dependency injection for pluggable components like authenticators and loggers.

RATING: 9.3/10 MAINT: active DRIFT: low
β–Έ 5 reusable components found
ipxe/ipxe β˜… 2044 802 APPLICATION

iPXE is an open-source network boot firmware that provides a full PXE implementation with enhanced capabilities. It operates as a pre-boot environment, replacing or supplementing traditional BIOS/UEFI PXE ROMs. The firmware supports booting over HTTP/HTTPS, iSCSI, Fibre Channel over Ethernet (FCoE), AoE, InfiniBand, and wireless networks, with full TLS 1.2 support including modern cipher suites (ECDHE, GCM, X25519, P-256/P-384). It includes a built-in command-line shell, scripting engine, interactive menus, and extensive hardware drivers for network cards, USB controllers, and storage devices across x86, ARM, RISC-V, LoongArch, and s390x architectures. The architecture is modular and table-driven: drivers, protocols, commands, and startup functions are registered via compile-time tables (e.g., `__pci_driver`, `__net_protocol`, `__command`), enabling a highly configurable build. The core uses an interface/refcount pattern for object-oriented-like composition, with reference-counted objects and asynchronous data transfer via `struct interface`. The codebase is well-structured with clear separation between architecture-specific code (under `src/arch/`), platform interfaces (EFI, BIOS, Linux userspace, SBI), and generic core logic. A comprehensive test suite (over 50 unit tests plus Wycheproof vectors) validates cryptographic primitives, network protocols, and data structures. Key entry points include `src/core/main.c` (generic boot flow), EFI application entry (`efiprefix.c`), BIOS PXE ROM entry, and Linux userspace binary. The firmware is typically embedded into option ROMs, UEFI drivers, or bootable images. External dependencies are minimalβ€”the firmware runs directly on hardware or under a hypervisor, relying only on platform firmware services (UEFI, BIOS, SBI) for low-level operations.

RATING: 9.1/10 MAINT: active DRIFT: low
β–Έ 4 reusable components found
winfsp/winfsp β˜… 8972 628 APPLICATION

WinFsp is a Windows File System Proxy that provides a FUSE (Filesystem in Userspace) compatible API for Windows. It allows developers to create custom file systems in user space using C, C++, .NET, or any language that can call a C library. The repository contains a kernel-mode Windows driver (`src/sys/`) that handles IRP dispatch and communicates with a user-mode DLL (`src/dll/`) via a transaction protocol. It includes a comprehensive FUSE v2 and v3 compatibility layer, a native WinFsp API, a service launcher for running file systems as Windows services, a network provider for automatic mounting, and an extensive test suite. The architecture is a hybrid kernel/user-mode system, deeply integrated with Windows NTFS semantics. While primarily an application framework, it also contains performance benchmarking data and analysis notebooks in its documentation. The codebase is actively maintained, demonstrates high craftsmanship in a difficult domain, and contains several reusable components such as a fault injection framework, POSIX-to-Windows security mapping, and a directory buffer abstraction.

RATING: 9.0/10 MAINT: active DRIFT: medium
β–Έ 7 reusable components found
porsager/postgres β˜… 8726 389 APPLICATION

porsager/postgres is a PostgreSQL client library for Node.js, Deno, and Cloudflare Workers. It provides a full-featured, performant interface to PostgreSQL using tagged template literals for safe, parameterized queries. The library implements the PostgreSQL wire protocol from scratch with zero runtime dependencies, supporting advanced features like connection pooling, prepared statements, cursors, COPY streams, logical replication, large objects, and custom type mapping. The architecture is a factory function that returns a `sql` tagged template function, which lazily connects to the database and pipelines queries over persistent connections. The codebase is well-structured across `src/` with separate modules for connection management, query execution, protocol message building, type serialization/parsing, and error handling. It also includes transpiled builds for CommonJS, Deno, and Cloudflare Workers, each with platform-specific polyfills. The library is actively maintained, has extensive test coverage, and is published under a public domain license.

RATING: 8.2/10 MAINT: active DRIFT: low
β–Έ 3 reusable components found
frederik-h/acer-wmi-battery β˜… 330 51 APPLICATION

This repository contains a Linux kernel driver for managing battery health features on Acer laptops via the WMI (Windows Management Interface) interface. The driver enables control of two key battery functions: a health mode that limits charge to 80% to prolong battery lifespan, and a calibration mode that performs a full charge-discharge cycle for accurate capacity reporting. It also provides battery temperature readings. Implemented as a single kernel module (acer-wmi-battery.c), it interacts with the laptop's firmware through WMI methods to query and set battery parameters, exposing these controls via sysfs attributes under /sys/bus/wmi/drivers/acer-wmi-battery/. The driver follows standard Linux kernel module practices, including proper error handling, version-dependent includes for compatibility, and sysfs attribute creation for user-space interaction. It includes reusable WMI helper functions that encapsulate the boilerplate for WMI method calls, buffer handling, and response validation. The project is actively maintained with recent commits, supports multiple Acer laptop models as documented in MODELS.md, and is licensed under GPL-2.0.

RATING: 7.6/10 MAINT: maintained DRIFT: low
β–Έ 1 reusable components found
── end of results ──
$ submit: