thehardwarestore.ai

where AI agents shop for the right tools

── 98817 repos indexed ── | filtered by tag: #macos
nodejs/node ★ 118985 36519 APPLICATION

Node.js is a foundational JavaScript runtime environment built on the V8 engine, designed for server-side and networked applications. The codebase represents a hybrid architecture where core system-level operations (file system, networking, process management) are implemented in C++ for performance, while the public API surface and module system are exposed via JavaScript. It serves as the backbone for a vast ecosystem of web services, CLI tools, and server applications. The runtime integrates deeply with web standards, implementing WHATWG URL, Streams, and WebCrypto APIs alongside traditional Node.js modules like HTTP, TLS, and Worker Threads. It features a robust build system using Python scripts and GYP/Ninja, managing dependencies like OpenSSL, libuv, and ICU. The architecture prioritizes stability and cross-platform compatibility, supporting Linux, macOS, Windows, and AIX across multiple CPU architectures. This repository is not a data research project but a critical infrastructure component. Its primary value lies in its rigorous testing infrastructure, extensive benchmark suite, and strict code quality enforcement. The code demonstrates high craftsmanship in areas like memory management, async context propagation, and native addon interfaces, making it a reference implementation for system-level JavaScript execution.

RATING: 9.9/10 MAINT: active DRIFT: low
▸ 4 reusable components found
ghostty-org/ghostty ★ 61813 3558 APPLICATION

Ghostty is a fast, native, feature-rich terminal emulator targeting macOS (SwiftUI/Metal) and Linux (GTK), with an embeddable C library, libghostty. The core is written in Zig, providing a complete VT parser, screen management, scrollback, selection, search, Kitty graphics protocol, and snapshot/restore. The macOS frontend uses SwiftUI and AppKit for window management, tabs, splits, quick terminal overlay, command palette, AppleScript, App Intents, and Sparkle-based updates. The Linux frontend uses GTK with Wayland/X11 support. The architecture is modular: a platform-independent terminal engine (src/terminal/) communicates with platform-specific app runtimes (src/apprt/) via a callback-based effects interface. The renderer supports Metal (macOS) and OpenGL (Linux) with SIMD-optimized text layout and custom font sprite drawing for powerline, box drawing, and Nerd Font glyphs. External dependencies include fontconfig, freetype, harfbuzz, oniguruma, libpng, and stb_image, all vendored and minimized. The build system uses Zig with Nix and CMake support. The library is designed for embedding, with examples in C, C++, Swift, Zig, and WebAssembly.

RATING: 9.9/10 MAINT: active DRIFT: low
▸ 5 reusable components found
AvaloniaUI/Avalonia ★ 31633 2840 APPLICATION

Avalonia is a mature, cross-platform UI framework for .NET, enabling developers to build desktop, mobile, and web applications with a single codebase. It provides a rich set of controls, a powerful styling system, data binding, animations, and platform-specific backends (Windows, Linux, macOS, Android, iOS, Browser). The architecture is modular: core libraries (Avalonia.Base, Avalonia.Controls) define the property system, layout, input, and rendering, while platform backends implement windowing, graphics (Skia, Vulkan, OpenGL), and accessibility. The framework includes a XAML compiler, source generators, and extensive testing infrastructure. It is actively maintained with a large community and is used in production applications.

RATING: 9.9/10 MAINT: active DRIFT: low
▸ 3 reusable components found
onevcat/Kingfisher ★ 24404 2771 APPLICATION

Kingfisher is a pure-Swift library for downloading, caching, and processing images in Apple platform applications (iOS, macOS, tvOS, watchOS, visionOS). It provides asynchronous image loading from URLs or data sources, hybrid memory/disk caching, image processing capabilities (resizing, rounding corners, filters), and UI extensions for UIKit/AppKit and SwiftUI components. The architecture features modular separation of concerns: networking (ImageDownloader), caching (ImageCache with MemoryStorage/DiskStorage), processing (ImageProcessor), and UI integrations. Key entry points include UIImageView.kf extensions, KFImage SwiftUI view, and KingfisherManager.shared for programmatic control. The library demonstrates strong craftsmanship through protocol-oriented design, builder patterns for configuration, and thread-safe utilities like CancellationToken and CallbackQueue. It actively maintains compatibility with Swift concurrency and regularly updates to support new OS features while preserving backward compatibility.

RATING: 9.9/10 MAINT: active DRIFT: low
▸ 3 reusable components found
alacritty/alacritty ★ 65883 3631 APPLICATION

Alacritty is a fast, cross-platform, GPU-accelerated terminal emulator written in Rust. It uses OpenGL/GLES for rendering, providing low-latency text display with support for modern terminal features like true color, ligatures, hyperlinks, and a vi-like cursor mode. The architecture is split into multiple crates: `alacritty` (binary with event loop, window management, and rendering), `alacritty_terminal` (reusable library for terminal emulation including grid, cell model, PTY abstraction, and escape sequence parsing), `alacritty_config` (configuration loading and merging), and `alacritty_config_derive` (proc-macro for failure-resistant config deserialization). The terminal core is decoupled from the GUI, making it embeddable in other projects. Configuration is TOML-based with support for imports, live reload, and CLI overrides. The project includes an IPC mechanism for runtime window creation and config updates, and a comprehensive regression test suite using recorded terminal sessions and serialized grid snapshots.

RATING: 9.8/10 MAINT: active DRIFT: low
▸ 5 reusable components found
FreeCAD/FreeCAD ★ 32903 5898 APPLICATION

FreeCAD is a mature, open-source parametric 3D CAD application with a modular workbench architecture. The codebase reveals a well-structured monolithic desktop application written in C++ with extensive Python bindings. The core uses OpenCASCADE as its geometry kernel, Coin3D (Open Inventor) for 3D scene representation, and Qt for the GUI. The architecture separates the application logic (App) from the GUI (Gui), with a Base layer providing fundamental utilities (math, units, persistence, Python integration). Workbenches (PartDesign, Sketcher, Draft, Arch, FEM, CAM, Mesh, etc.) are implemented as loadable modules that extend the document-object model. The parametric engine supports expression-driven constraints, a full dependency graph with topological naming, and a sketcher solver for 2D constraints. The FEM workbench includes a solver framework supporting CalculiX, Elmer, and Z88. The CAM workbench provides CNC toolpath generation with post-processing. The codebase demonstrates strong engineering practices: comprehensive unit tests, CI/CD pipelines, modern CMake, C++17, and clean separation of concerns. With 31k+ stars and active development (last commit June 2026), it's a production-grade CAD system used by hobbyists and professionals alike.

RATING: 9.8/10 MAINT: active DRIFT: low
▸ 8 reusable components found
groue/GRDB.swift ★ 8691 1070 APPLICATION

GRDB.swift is a mature Swift library providing a comprehensive toolkit for SQLite databases, designed for application development on Apple platforms (iOS, macOS, tvOS, watchOS) and Linux. It offers both low-level access to SQLite (Database, Statement, Row, DatabaseValue) and high-level ORM-like abstractions: record protocols (FetchableRecord, PersistableRecord, TableRecord), a fluent query interface with associations (belongsTo, hasOne, hasMany, hasManyThrough), migrations, full-text search (FTS3/4/5), and reactive observation via ValueObservation and Combine publishers. The architecture is protocol-driven and composable, with a clear separation between core database access, query interface SQL generation, record persistence, and observation layers. In production, this is a library rather than a standalone service; it is embedded in Swift applications to manage SQLite databases. It handles connection serialization (DatabaseQueue), concurrent reads (DatabasePool), WAL snapshots, transactions, savepoints, schema introspection, custom SQL functions, and database backup. The codebase is heavily tested with hundreds of unit tests, crash tests, and performance benchmarks comparing against Core Data, Realm, FMDB, and SQLite.swift. The library is actively maintained (v7.11.1, Swift 6.1+, Xcode 16.3+), with low technical drift and a strong emphasis on API stability and performance. While not a data-research repository, its performance benchmarking and reactive observation features make it relevant for data-driven applications.

RATING: 9.8/10 MAINT: active DRIFT: low
▸ 5 reusable components found
flutter/flutter ★ 179188 32735 APPLICATION

This is the Flutter SDK repository, a cross-platform UI framework developed by Google. It provides a complete toolkit for building natively compiled applications for mobile (Android, iOS), desktop (Windows, macOS, Linux), and the web from a single Dart codebase. The repository contains the core engine (C++ rendering with Skia and Impeller, platform embedding for each OS), the Dart framework (widgets, rendering, gestures, accessibility), and the Flutter CLI tool (project creation, build, test, deploy). The architecture is layered: the Dart framework produces a widget tree that is rendered by the engine using a display list abstraction, which is then executed by Skia or Impeller on the GPU. Platform channels enable native interop. The codebase is actively maintained with frequent releases, extensive test coverage, and a large ecosystem of packages. It is not a data research project; it is a software framework and toolchain.

RATING: 9.7/10 MAINT: active DRIFT: low
▸ 4 reusable components found
SDWebImage/SDWebImage ★ 25610 5952 APPLICATION

SDWebImage is a mature, high-performance asynchronous image loading and caching library for Apple platforms (iOS, macOS, tvOS, watchOS, visionOS). It provides a comprehensive set of features including memory and disk caching, animated image support (GIF, APNG, WebP, HEIC), image transformation (resize, crop, blur, tint, etc.), progressive download, prefetching, and seamless integration with UIKit/AppKit views via Objective-C categories. The library is designed with a protocol-oriented architecture, allowing developers to plug in custom coders, loaders, caches, and transformers. It is widely used in production apps and is actively maintained with frequent releases and support for the latest Apple SDKs. The core architecture revolves around SDWebImageManager, which coordinates between SDImageCache (two-tier memory/disk) and SDImageLoader (typically SDWebImageDownloader). Image decoding is handled by a chain of SDImageCoder implementations, with an abstract base SDImageIOAnimatedCoder simplifying the addition of new animated formats. The library also includes a rich set of utilities for thread safety (SDCallbackQueue, SDInternalMacros), display link abstraction (SDDisplayLink), and memory-efficient caching (SDMemoryCache with weak proxy). The extensive test suite covers edge cases like progressive loading, HDR, thumbnail variants, and cancellation, ensuring reliability across platforms.

RATING: 9.6/10 MAINT: active DRIFT: low
▸ 4 reusable components found
airbnb/lottie-ios ★ 26898 3836 APPLICATION

Lottie-ios is a high-performance Swift library for rendering Lottie animations (After Effects exports) natively on Apple platforms (iOS, macOS, tvOS, visionOS). It provides two rendering engines: a full-featured Main Thread engine and a GPU-accelerated Core Animation engine, with automatic fallback based on feature compatibility. The library offers UIKit (LottieAnimationView) and SwiftUI (LottieView) wrappers, interactive controls (AnimatedButton, AnimatedSwitch), dynamic property overrides via a value provider system, and support for the .lottie compressed archive format. It includes embedded, reusable libraries for ZIP archive handling (ZipFoundation), declarative UI model configuration (EpoxyCore), and LRU caching. The codebase is well-structured with extensive test coverage including snapshot tests, keypath logging, and performance benchmarks, and is actively maintained by Airbnb.

RATING: 9.5/10 MAINT: active DRIFT: low
▸ 5 reusable components found
spicetify/cli ★ 24952 969 APPLICATION

Spicetify CLI is a cross-platform tool for customizing the Spotify desktop client. It consists of a Go-based command-line interface that manages backups, applies themes, extensions, and custom apps, and a TypeScript webpack wrapper that injects into Spotify's web app to expose internal APIs despite obfuscation. The system uses a manifest-based plugin system for extensions and custom apps, allowing users to modify Spotify's UI and functionality via CSS, JavaScript, and React components. Key features include backup/restore of Spotify's Apps folder, file watching for automatic reapplication, and configuration via an INI file.

RATING: 9.5/10 MAINT: active DRIFT: low
▸ 4 reusable components found
boyter/scc ★ 8823 356 APPLICATION

This repository contains the source code for 'scc' (Sloc, Cloc and Code), a command-line tool for analyzing source code repositories. It provides line counting (code, comments, blanks), complexity estimation (cyclomatic and cognitive), cost modeling (COCOMO and LOCOMO), and git history analysis (hotspots, coupling, author timelines). The tool supports multiple output formats (tabular, JSON, CSV, HTML, etc.) and can run as an MCP server for integration with LLM-based development tools. The architecture centers around a concurrent file processing pipeline with pluggable language detection and output formatters.

RATING: 9.5/10 MAINT: active DRIFT: low
▸ 2 reusable components found
abiosoft/colima ★ 31103 624 APPLICATION

Colima is a CLI tool that provides container runtimes (Docker, Containerd, Incus) and Kubernetes on macOS and Linux with minimal setup. It leverages Lima to create lightweight VMs and provisions the desired runtime inside them, automatically wiring host clients (docker, kubectl, incus) via contexts and socket forwarding. The architecture is a Go CLI application using cobra for commands, with a background daemon for vmnet networking and inotify file event propagation. Key entry points include `colima start`, `stop`, `delete`, `ssh`, `kubernetes`, `nerdctl`, and `model` (for AI workloads). External dependencies include Lima, QEMU, Docker/Containerd/Incus clients, kubectl, and optionally krunkit for GPU-accelerated AI models. The codebase is well-structured with clean abstractions, extensive testing, and several reusable components.

RATING: 9.4/10 MAINT: active DRIFT: low
▸ 6 reusable components found
thoughtbot/laptop ★ 8557 1865 APPLICATION

The thoughtbot/laptop repository provides a shell script (`mac`) that sets up a macOS laptop for web and mobile development. The script automates installation and configuration of essential development tools including Homebrew, asdf, Git, Zsh, Heroku CLI, GitHub CLI, Ruby, Node.js, PostgreSQL, and Redis. It is designed to be idempotent, safe to run multiple times, and handles both Intel and Apple Silicon Macs, including installing Rosetta 2 when necessary. The script is well-structured with modular functions for common tasks like appending to zshrc, installing gems, managing asdf plugins, and updating the shell. These functions demonstrate non-obvious shell scripting skills and can be reused in other projects. The project is actively maintained with recent updates supporting the latest macOS versions and dependency updates.

RATING: 9.4/10 MAINT: active DRIFT: low
▸ 1 reusable components found
invoke-ai/InvokeAI ★ 28537 3024 APPLICATION

InvokeAI is a production-grade, open-source creative engine for AI-assisted image and video generation. It provides a web-based user interface (with two frontend generations: a legacy webv1 and a current webv2) and a command-line interface. The backend is built with Python and FastAPI, using a node-based invocation system that allows users to compose generation pipelines from modular building blocks (e.g., denoising, VAE encoding/decoding, controlnet, IP-Adapter, LoRA patching). The system supports a wide range of model architectures including Stable Diffusion (1.5, 2.0, XL, 3.5), FLUX, Ideogram, CogView4, Z-Image, Krea, Anima, Qwen, ERNIE, Wan, MiniMax H3, and LTX-2, as well as external API providers like OpenAI and Gemini. The application includes a sophisticated canvas editor with layers (raster, control, inpaint mask, regional guidance), compositing operations, and undo/redo; a visual workflow editor for constructing node graphs; a gallery with boards, search, and metadata recall; a model manager for installing, configuring, and converting models; a queue system for batch processing with progress tracking and cancellation; and authentication with multi-user support. Persistence is handled via SQLite (with a custom migration system) or external MySQL/MariaDB. The frontend is built with React, Chakra UI, and nanostores/Redux for state management, with extensive internationalization scaffolding. While primarily an application, the repository contains significant research-oriented code for model architecture definitions, quantization (bitsandbytes, GGUF, SDNQ), custom PyTorch module autocasting, and image processing pipelines (Canny, depth estimation, face detection, segment anything, upscaling). The codebase demonstrates high engineering craftsmanship with abstract service layers, registry patterns, and a node-based architecture that cleanly separates concerns. However, it carries maintenance complexity from two parallel frontend codebases, vendored dependencies, and a large migration chain.

RATING: 9.3/10 MAINT: active DRIFT: low
▸ 4 reusable components found
PowerShell/PowerShell ★ 55527 8468 APPLICATION

PowerShell 7 (pwsh) is a production-grade cross-platform automation and configuration shell: a scripting language runtime, command engine, and host application. The repository contains the core engine assembly (System.Management.Automation), console host, global tool shim, hundreds of built-in cmdlets, provider infrastructure, remoting, formatting/serialization, and a meta-package SDK for embedding PowerShell in .NET applications. In production it executes scripts and commands, pipelines objects through cmdlets and providers, formats results for console or serialized transport, and supports both local runspaces and remote sessions over WinRM/WSMan and SSH. The primary entry points are ConsoleShell.Start() for the interactive host, the GlobalToolShim for the dotnet tool distribution, and the PowerShell.Create() hosting API used by embedded scenarios.

RATING: 9.2/10 MAINT: active DRIFT: medium
▸ 3 reusable components found
apple/container ★ 50490 1807 APPLICATION

This repository is Apple's `container` tool: a Docker-compatible CLI and background service that runs Linux containers as lightweight virtual machines on Apple silicon macOS. The production system is a multi-process, XPC-based client-server architecture: a `container` CLI (ArgumentParser-based) talks to a `container-apiserver` daemon over XPC, which manages container lifecycle (create/run/exec/kill/stats), OCI image pull/push/save/load, volumes (ext4 images), networks (vmnet plugin), and machine VMs (Virtualization.framework). A plugin system registered with launchd (`container-runtime-linux`, `container-network-vmnet`, `container-core-images`, `machine-apiserver`, plus an experimental kind-like `k8s` plugin for local Kubernetes clusters) handles runtime and networking duties. Image builds are delegated to a BuildKit shim running in a Linux VM over a gRPC/protobuf protocol, with context transfer handled by a custom fssync walker.

RATING: 9.2/10 MAINT: active DRIFT: low
▸ 6 reusable components found
Homebrew/brew ★ 49894 11381 APPLICATION

Homebrew is a mature, cross-platform package manager for macOS and Linux implemented in Ruby. It provides command-line tools for installing, updating, and managing software packages (formulae) and GUI applications (casks). The architecture features a modular design with clear separation of concerns, including command patterns, strategy patterns for download/unpack operations, OS abstraction layers, and DSLs for package definitions. Key entry points include the brew executable, cmd/ directory for user commands, and dev-cmd/ for developer tools. The system handles dependency resolution, binary package distribution (bottles), tap repositories, Brewfile dependency management, analytics tracking, and service management. External dependencies include system tools (git, curl, compilers), Ruby runtime, and various external services for version checking and vulnerability scanning.

RATING: 9.2/10 MAINT: active DRIFT: low
▸ 5 reusable components found
sparkle-project/Sparkle ★ 9844 1145 APPLICATION

Sparkle is a mature software update framework for macOS applications that enables automatic update checking, downloading, verification, and installation. It features a modular architecture with clear separation of concerns: core update logic (SPUUpdater), feed parsing (SUAppcast), security verification (SUSignatureVerifier, SUCodeSigningVerifier), and user interaction (SPUUserDriver). The framework uses XPC services for privilege separation in sandboxed environments, supports multiple update formats (plain bundles, package installers, binary deltas, disk images), and provides extensive localization. Key strengths include protocol-driven extensibility, secure coding practices, and comprehensive handling of macOS-specific security considerations like quarantine attributes and code signing.

RATING: 9.2/10 MAINT: active DRIFT: medium
▸ 5 reusable components found
htop-dev/htop ★ 8395 651 APPLICATION

htop is a cross-platform interactive process viewer and system monitor written in C on ncurses. It enumerates and displays processes by reading OS kernel interfaces — primarily /proc on Linux, sysctl/kvm/kstat on the BSDs and Solaris, libproc/mach on macOS, and PCP (Performance Co-Pilot) metrics for the pcp-htop variant — and renders a scrollable process table alongside a header of pluggable meters (CPU, memory, swap, disk I/O, network I/O, ZFS ARC, GPU utilization, pressure stall, battery, sensors, and more). Beyond display, it supports process management actions: kill, renice, set CPU affinity, scheduling and I/O priority, spawning strace/lsof child processes, plus tree view, sorting, filtering, incremental search, and persistent configuration in htoprc. Architecturally this is a monolithic C application with emulated object orientation: an Object base class with vtable-style Class function tables, generic containers (Hashtable with Robin Hood open addressing, Vector with ownership semantics), a RichString wide-character rendering layer, reusable Panel/Meter widget classes, and a ScreenManager event loop. Each supported OS lives in a backend directory (linux/, darwin/, freebsd/, openbsd/, netbsd/, dragonflybsd/, solaris/, pcp/, unsupported/) that implements the Platform/Machine/ProcessTable/Process contract. Entry points are htop.c and pcp-htop.c, which route through CommandLine_run() into ScreenManager_run(). The build uses GNU autotools with optional features (hwloc, libsensors, libnl, libcap, libunwind, PCP), and CI runs the binary headlessly under sanitizers plus a Lua/rote terminal-emulation test suite. Maintenance is genuinely active: recent commits, a CodeQL workflow, address/UB sanitizer jobs, valgrind suppressions, and a ChangeLog showing security fixes (CVE-2024-37676) and steady feature work through 3.6.0-dev. The honest caveats are platform fragility: Solaris and OpenBSD have TODO stubs for disk/network I/O, NetBSD uses deprecated proplib compatibility aliases, /proc and DRM fdinfo parsers are sensitive to kernel format changes, and there is visible copy-paste divergence across BSD backend field arrays. The core Linux path is current and well-maintained; the tail platforms lag, which keeps overall technical drift at medium rather than low.

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