thehardwarestore.ai

where AI agents shop for the right tools

── 99193 repos indexed ── | filtered by tag: swift
swiftlang/swift ★ 70415 10822 APPLICATION

This is the Swift compiler and standard library repository, implementing the full Swift language toolchain. It includes the compiler frontend (parser, type checker, SIL optimizer, LLVM IR generation), runtime libraries (memory management, concurrency, reflection), platform overlays (Android, WASI, Windows), interop layers (C, C++, Objective-C), IDE support (SourceKit, code completion, refactoring), and an extensive test suite. The architecture is a monolith of multiple libraries and executables, with key entry points being the `swiftc` compiler driver, `sourcekitd` IDE service, and the Swift runtime libraries. Data flows from source code through AST, SIL, and LLVM IR to machine code, with module serialization/deserialization. External dependencies include LLVM, Clang, libdispatch, and ICU. The codebase demonstrates world-class engineering craftsmanship with well-defined abstractions and comprehensive testing.

RATING: 9.9/10 MAINT: active DRIFT: low
â–¸ 2 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
Alamofire/Alamofire ★ 42406 7653 APPLICATION

Alamofire is a mature, production-grade HTTP networking library for Apple platforms (iOS, macOS, tvOS, watchOS, visionOS). It provides a high-level, protocol-oriented Swift interface over URLSession, featuring request/response serialization, authentication interception, multipart uploads, server trust evaluation, retry policies, event monitoring, and modern concurrency support via Combine and Swift async/await. The library is structured around core abstractions like Session, Request, DataRequest, DownloadRequest, and DataStreamRequest, with extensible protocols for parameter encoding, response serialization, caching, redirect handling, and security. Its architecture emphasizes composability and thread safety, using protected mutable state and serial dispatch queues.

RATING: 9.9/10 MAINT: active DRIFT: low
â–¸ 6 reusable components found
vapor/vapor ★ 26227 1535 APPLICATION

Vapor is a production-grade asynchronous HTTP web framework for Swift. It implements a complete server-side application stack: a NIO-based HTTP/1.1 and HTTP/2 server with TLS, a trie-based router, pluggable middleware chains, content encoders/decoders (JSON, URL-encoded form, multipart, plaintext), session and cookie handling, authentication (Basic, Bearer, session), caching, request validation, static file serving with ETag and byte-range support, and an HTTP client. The repository also ships a compiler-plugin macro system (@Controller, @GET, @POST) that generates route registration and authentication extraction at compile time, plus a dedicated VaporTesting module for in-memory and live integration tests. Architecturally, Vapor is a library/framework rather than a monolithic application. The main entry points are Application, RoutesBuilder, Middleware, ServerConfiguration, and Responder; a development executable under Sources/Development demonstrates server bootstrap. The request lifecycle flows through the NIO server adapter, HTTPServerHandler, middleware chain, DefaultResponder, trie-based router, route closure, and Response, with streaming request/response bodies providing backpressure. External dependencies center on SwiftNIO, swift-nio-ssl, swift-log, swift-metrics, swift-tracing, SwiftSyntax for macros, and the usual Foundation abstractions. The codebase is exceptionally well-tested with Swift Testing suites covering routing, streaming, TLS, middleware, content coding, validation, sessions, and HTTP semantics. It also includes a dedicated Benchmarks package with committed p90 thresholds for CPU, allocations, instructions, and wall-clock performance. Known internal debt exists: WebSocket integration is gated behind a trait with its tests disabled, some compression tests are commented out with #warning directives, and VaporTesting/AHCClient.swift is a manually duplicated client implementation. Despite these blemishes, the core architecture is current, actively maintained, and demonstrates advanced Swift concurrency and framework design.

RATING: 9.9/10 MAINT: active DRIFT: low
â–¸ 5 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
apple/swift-nio ★ 8538 814 APPLICATION

SwiftNIO is a high-performance, cross-platform asynchronous event-driven networking library for Swift, modeled after Netty. It provides the core abstractions for building non-blocking I/O applications: EventLoop, Channel, ChannelPipeline, ChannelHandler, ByteBuffer, and EventLoopFuture/Promise. The library includes in-tree protocol implementations for HTTP/1.1 and WebSocket, as well as a newer async file system module (NIOFS/_NIOFileSystem). It is designed for building servers, clients, and protocol handlers with a composable pipeline architecture. The architecture is modular: NIOCore defines the fundamental protocols and types; NIOPosix provides the concrete POSIX-based I/O implementation (selectors, sockets, threads); NIOEmbedded offers test doubles; and separate modules handle HTTP, WebSocket, TLS, and file system I/O. The library supports Swift Concurrency natively through NIOAsyncChannel, NIOAsyncSequenceProducer, and NIOAsyncWriter, bridging the classic callback-driven pipeline to async/await. External dependencies are minimal—primarily the Swift System package for file system operations and vendored C code for HTTP parsing (llhttp) and SHA-1. Key entry points include ServerBootstrap, ClientBootstrap, and DatagramBootstrap for creating channels, and the various pipeline setup helpers (e.g., configureHTTPServerPipeline). Data flows through channel handlers as NIOAny-wrapped messages, with ByteBuffer as the primary data container. The library is extensively tested with unit tests, integration tests, and a sophisticated allocation-counting benchmark framework that tracks malloc/free and file descriptor leaks across Swift versions.

RATING: 9.9/10 MAINT: active DRIFT: low
â–¸ 5 reusable components found
ReactiveX/RxSwift ★ 24632 4150 APPLICATION

RxSwift is a reactive programming library for Swift implementing the ReactiveX pattern. It provides Observable sequences, operators, schedulers, and disposables for composing asynchronous and event-based programs. The library includes platform-specific extensions (RxCocoa for UIKit/AppKit bindings), testing utilities (RxTest/RxBlocking), and example applications demonstrating real-world usage. Architecture follows a modular design with clear separation of concerns: core reactive primitives, UI binding layer, testing infrastructure, and documentation/examples. Key strengths include comprehensive operator implementations, robust disposable/resource management patterns, and sophisticated scheduling abstractions. The codebase demonstrates high craftsmanship in areas like delegate proxy patterns, trait systems (Driver/Signal), and test schedulers, while maintaining active maintenance with recent Swift concurrency support.

RATING: 9.7/10 MAINT: active DRIFT: low
â–¸ 5 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
pointfreeco/swift-parsing ★ 999 86 APPLICATION

This repository provides a composable, invertible parsing library for Swift, built around the core `Parser` and `ParserPrinter` protocols. It enables developers to define parsers declaratively using result builders (`@ParserBuilder`, `@OneOfBuilder`) and combine them with combinators like `OneOf`, `Many`, `Parse`, `Prefix`, and `Map`. The library supports multiple string abstractions (`Substring`, `UTF8View`, `ArraySlice<UInt8>`) and can round-trip parsed data back to its original format via the `Conversion` protocol, making it suitable for both parsing and serialization tasks. The architecture is protocol-oriented and highly modular. Key entry points include the `Parse` and `ParsePrint` builders, which compose parsers and printers from smaller components. The library provides built-in parsers for common types (`Int`, `Double`, `Bool`, `UUID`, `CharacterSet`) and advanced combinators for backtracking (`OneOf`), repetition (`Many`), abstraction switching (`From`), and error handling (`ReplaceError`, `Backtracking`). External dependencies are minimal: `swift-case-paths` (optional), `swift-syntax` (used in benchmarks), and `xctest-dynamic-overlay` (for test support). The library is designed for performance, with benchmarks showing significant speedups over ad-hoc parsing approaches. In production, this library is used to parse structured data from text, binary protocols, and configuration files. Its invertibility makes it particularly valuable for applications that need to both parse and generate data (e.g., serializers, code generators, DSL interpreters). The codebase is well-tested, with comprehensive unit tests and a dedicated benchmark suite. The library is actively maintained by the Point-Free team and has a large community of adopters in the Swift ecosystem.

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
maxgoedjen/secretive ★ 8999 219 APPLICATION

Secretive is a macOS application that stores SSH private keys in the Apple Secure Enclave (or on smart cards such as YubiKeys) and exposes them through an SSH agent, making private key material non-exportable by hardware design. The architecture is a main SwiftUI management app (Secretive) plus a background login-item agent (SecretAgent) that owns a Unix socket at ~/Library/Containers/.../socket.ssh. SSH clients connect to this socket; the agent parses the SSH agent wire protocol, matches the requested key, enforces the key's access-control policy (Touch ID, Apple Watch, or password), has the Secure Enclave produce the signature, and returns an OpenSSH-formatted response. All untrusted input parsing (agent messages, certificate files) is delegated to sandboxed XPC services with hard-coded code-signing requirements, and network access for update checks is isolated to a dedicated XPC service with a declared Internet Access Policy. The code is Swift 6 with strict concurrency, strict memory safety, and warnings-as-errors, and has zero third-party dependencies by explicit project policy. The codebase is organized into small Swift packages: SecretKit (protocols and type erasers for secrets/stores), SecureEnclaveSecretKit and SmartCardSecretKit (concrete key stores), SSHProtocolKit (binary encoding/decoding of OpenSSH keys, certificates, signatures, and the agent protocol), SecretAgentKit (the agent, socket controller, authentication batcher, request-provenance tracer), XPCWrappers (a typed Codable RPC layer over NSXPCConnection), SettingsKit (keychain-backed settings), and Brief (semver update checking). Several of these are cleanly isolated: OpenSSHReader, SemVer, the FormatStyle data formatters, the keychain-backed SettingsStore, and the typed XPC session wrapper could be lifted into new projects largely untouched. The signature writer's mpint encoding correctly handles OpenSSH's signed-bignum rules (stripping leading zero bytes, prefixing 0x00 when the sign bit is set), which is subtle and covered by dedicated tests. Tests use real captured binary fixtures for protocol compatibility and cover agent identity listing, signing, witness objection behavior, authentication batching, and update selection logic. CI runs tests, CodeQL, nightly notarized builds, and attestation-backed auditable releases. Minor soft spots include duplicated certificate-migration code, two different SecretAgent entry points (SwiftUI App and AppDelegate), and a parsed-but-disabled session-bind extension, indicating ongoing refactoring rather than architectural debt.

RATING: 9.5/10 MAINT: active DRIFT: low
â–¸ 5 reusable components found
kean/Nuke ★ 8678 572 APPLICATION

This repository is a production-grade Swift library for loading, caching, processing, and displaying images on Apple platforms (iOS, macOS, watchOS, tvOS, visionOS). It provides a modular pipeline architecture: the core Nuke module handles image fetching, decoding, processing, and caching; NukeUI offers SwiftUI and UIKit components for declarative image loading and animated image playback; NukeVideo adds video decoding and playback. The system is designed for high performance with concurrency via Swift actors, priority task queues, memory and disk caches with LRU/CLOCK eviction, progressive decoding, resumable downloads, and prefetching. Key entry points include ImagePipeline (central orchestrator), ImageRequest/ImageTask (async request handles), LazyImage/LazyImageView (UI views), AnimatedImage (animated image player), and VideoPlayerView. Data flows from URL or local data through data loading, decoding, processing, caching, and finally to display. External dependencies are primarily Apple platform APIs (Image I/O, Core Image, UIKit, SwiftUI, AVFoundation) and Swift's concurrency features. The library is extensively tested with unit, integration, performance, and thread-safety tests. It includes a demo application with a diagnostic HUD for monitoring pipeline metrics. The codebase demonstrates high craftsmanship with clean abstractions, reusable components (task queue, cache, file type detection, async task framework), and a strong emphasis on correctness and performance.

RATING: 9.5/10 MAINT: active DRIFT: low
â–¸ 6 reusable components found
appwrite/appwrite ★ 57554 5757 APPLICATION

Appwrite is an open-source backend-as-a-service (BaaS) platform that provides a comprehensive set of APIs for authentication, databases, storage, serverless functions, messaging, realtime, and more. The codebase is a hybrid monolithic-microservice architecture: a central PHP application (using the Swoole coroutine-based HTTP server) handles REST, GraphQL, and WebSocket requests, while background workers (over 20 types) process asynchronous tasks such as email delivery, function execution, database migrations, and usage analytics. The platform supports multiple database backends (MariaDB, MongoDB, PostgreSQL, ClickHouse) and a variety of messaging providers (SMS, email, push). It is designed for multi-tenant deployments with per-project isolation, OAuth2 social login, and extensive API versioning. The repository also contains a large collection of reusable PHP packages (the Utopia framework) that provide caching, queueing, query building, DNS resolution, NATS messaging, HTTP client, PSR-7 implementation, and more. These packages are independently published and can be extracted for use in other projects.

RATING: 9.3/10 MAINT: active DRIFT: low
â–¸ 4 reusable components found
Quick/Quick ★ 9820 894 APPLICATION

Quick is a behavior-driven development (BDD) testing framework for Swift and Objective-C, inspired by RSpec, Specta, and Ginkgo. It provides a DSL for writing tests using describe/context/it blocks, supports shared examples via Behavior classes, and includes lifecycle hooks (beforeEach, afterEach, aroundEach, beforeSuite, afterSuite). The framework integrates with XCTest on Apple platforms and supports both synchronous and asynchronous testing styles. Key architectural components include QuickSpec/AsyncSpec as base test classes, a World singleton for tracking test state, and a plugin system for linting and defocusing focus markers. Quick is designed exclusively for test targets and should not be included in application binaries due to its use of private APIs for Xcode integration.

RATING: 9.3/10 MAINT: active DRIFT: low
â–¸ 2 reusable components found
apple/containerization ★ 8975 385 APPLICATION

apple/containerization is a Swift package and CLI for running Linux containers inside lightweight virtual machines. On macOS it drives Virtualization.framework; on Linux it drives Cloud Hypervisor + KVM. The public surface is the Containerization library (consumed programmatically via SwiftPM) plus the cctl command-line tool (image pull/push/save/load, login, rootfs creation, run), with vminitd as the guest-side init agent. The code defines the actual boundaries: OCI registry clients, ext4 image building, VM boot, and in-guest process supervision. The examples/ directory includes a minimal consumer (ctr-example) and a full application (sandboxy) that runs AI coding agents in sandboxed Linux VMs, but the repo itself is a container-runtime framework, not an AI product. Architecture is a multi-module SwiftPM package. Containerization defines the core protocols (Container, VirtualMachineManager, VirtualMachineInstance, Network, Mount, Kernel) with macOS VZ and Linux Cloud Hypervisor implementations; ContainerizationOCI implements the OCI image spec and a full registry client (token auth, realm validation, referrers API, push/pull/catalog) over content-addressed, digest-verified storage; ContainerizationOS provides syscall wrappers, TOCTOU-safe fd-relative filesystem operations, sockets, PTYs, and process reaping; ContainerizationEXT4 is a hand-written ext4 formatter/reader that creates root filesystems and unpacks image layers; ContainerizationNetlink handles Linux interface/route configuration; ContainerizationArchive wraps libarchive with traversal protection; CloudHypervisor is a typed REST client over Unix-domain sockets. Inside the guest, vminitd exposes a gRPC API over vsock (generated from SandboxContext.proto) and performs mounts, cgroups v2 management, process supervision, and stdio relay, launching containers via either runc or the native vmexec helper. Key data flows: images are pulled from Docker Hub/GHCR/other OCI registries through RegistryClient, validated by SHA-256 digest, stored in an ImageStore, unpacked into ext4 root filesystems, then booted as VMs with virtiofs/virtio-blk mounts, bridged TAP networking (iptables NAT on Linux, vmnet on macOS), and vsock-connected stdio. Runtime dependencies include cloud-hypervisor, virtiofsd, and runc binaries, libarchive/zstd C libraries, and a custom Linux kernel (6.18.5) built from in-repo configs. Testing is extensive: per-module unit tests using Swift Testing plus a large integration suite covering process lifecycle, TTY, seccomp, capabilities, cgroup limits, volumes, pods, and network statistics. Engineering quality is high and security-conscious: digest parsing rejects traversal digests, filesystem primitives default to not following symlinks, seccomp profiles are derived from containerd with capability gating, and registry token requests validate realms to prevent SSRF. Maintenance is active with recent commits and CI for both platforms. The main risks are breadth-driven: two VMM backends and two runtime backends (runc vs vmexec) must stay in sync, the hand-maintained ext4 and seccomp implementations must track kernel/upstream changes, and external binaries are pinned rather than auto-updated.

RATING: 9.3/10 MAINT: active DRIFT: low
â–¸ 8 reusable components found
foxglove/mcap ★ 1089 227 APPLICATION

The foxglove/mcap repository implements the MCAP (Message Communication Archive Protocol), a binary serialization format designed for high-performance robotics data logging. It is not a data analysis pipeline but a foundational library and toolset for storing, retrieving, and manipulating timestamped sensor data. The codebase provides a multi-language ecosystem (C++, Rust, Go, Python, TypeScript, Swift) ensuring interoperability across different robotics stacks. The primary function is to act as a durable, schema-aware container for messages, supporting compression, indexing, and attachments. Architecturally, the project follows a monorepo structure with distinct packages for each language, unified by a strict conformance test suite. The core logic is split between low-level binary parsing (often implemented as 'sans-io' readers in Rust) and high-level language bindings (Python ROS support, TypeScript web readers). The Rust CLI serves as the primary command-line interface for inspecting, merging, and converting MCAP files, while the libraries enable embedding MCAP functionality into applications. The repository demonstrates strong engineering practices, particularly in its handling of binary data integrity and cross-language consistency. It solves the recurring problem of robotics data interoperability by providing robust schema management (ROS1, ROS2, Protobuf, JSON) and efficient indexing strategies that allow for random access without full file scans. The extensive conformance testing infrastructure ensures that the binary format specification remains consistent across all language implementations.

RATING: 9.3/10 MAINT: active DRIFT: low
â–¸ 4 reusable components found
rorkai/App-Store-Connect-CLI ★ 7950 679 APPLICATION

This repository implements a comprehensive, production-grade CLI tool (`asc`) for interacting with Apple's App Store Connect API, Apple Ads API, and Apple Developer Portal. It automates the entire lifecycle of Apple platform applications, including authentication, app and build management, versioning, localization, screenshots, pricing, subscriptions, in-app purchases, Game Center features, code signing, distribution, and publishing. The tool is designed for CI/CD integration and supports multiple output formats (JSON, table, markdown) with a rich set of validation and diagnostic capabilities. The architecture is a monolithic CLI application built on a custom Go-like language with a sophisticated build system (`go.mod`, `go.sum`, `//go:build` directives). It follows a clean layered architecture: a command layer using the `ffcli` library, a comprehensive API client layer (`internal/asc/`), a secure authentication layer (`internal/auth/`), and platform-specific implementations for file operations, process management, and security. The codebase is exceptionally well-tested with thousands of unit and integration tests, including platform-specific tests for Darwin, Linux, and Windows. Notable engineering highlights include a generic pagination system with cycle detection, a registry-based output rendering system, a robust validation framework with structured remediation, and cross-platform secure file operations that prevent symlink attacks using platform-specific syscalls. The project also features an embedded workflow engine, telemetry with environment detection, and agent skill definitions for AI-assisted development workflows. The project is actively maintained with a structured release process, low issue count, and active dependency management. Technical drift is managed through explicit deprecation handling and migration paths. Primary risks include reliance on a custom Go toolchain, platform-specific assembly code for macOS security operations, and web session scraping that is inherently fragile to Apple Developer Portal changes.

RATING: 9.2/10 MAINT: active DRIFT: medium
â–¸ 5 reusable components found
apple/swift-openapi-generator ★ 1967 182 APPLICATION

This is a Swift code generator that produces type-safe client and server code from OpenAPI documents (versions 3.0, 3.1, and preliminary 3.2). It is distributed as a Swift Package Manager build plugin, a command plugin, and a standalone CLI tool (`swift-openapi-generator`). The core architecture follows a pipeline: parse the OpenAPI document using YamsParser, translate the parsed representation into a structured Swift intermediate representation (IR) via a multiplex translator, and render the IR into Swift source files using a text-based renderer. The generated code is decoupled from specific HTTP transport libraries via `ClientTransport` and `ServerTransport` protocols, and supports middleware for cross-cutting concerns like logging, authentication, retrying, metrics, and tracing. The repository includes extensive examples covering a wide range of use cases: basic clients and servers, event streaming, multipart content, database integrations, and middleware stacks. The test suite is comprehensive, including unit tests, golden-file reference tests, and integration tests that compile and run generated code against mock transports. The project is actively maintained with a proposal process (SOAR) for feature additions and has a well-documented ecosystem of separate runtime and transport libraries.

RATING: 9.2/10 MAINT: active DRIFT: low
â–¸ 5 reusable components found
openclaw/AXorcist ★ 324 34 APPLICATION

AXorcist is a Swift library and CLI tool for macOS accessibility automation, wrapping the Accessibility (AX) APIs to inspect, query, and control UI elements programmatically. The core library provides a typed `Element` struct over `AXUIElement`, a command-response protocol with JSON envelopes, a powerful observer system with retry/backoff and process-generation tracking, input simulation (mouse, keyboard), and tree traversal with search criteria. The CLI (`axorc`) exposes commands like `find`, `tree`, `raw`, `permissions`, and `observe`, all producing structured JSON output. The architecture is modular with heavy use of Swift extensions, `@MainActor` isolation, and async/await concurrency. The codebase is well-structured, extensively tested (unit and integration tests), and follows modern Swift practices with pinned dependencies (Commander, swift-log) and strict concurrency checking. It is actively maintained with CI workflows for building, linting, and security scanning.

RATING: 9.2/10 MAINT: active DRIFT: low
â–¸ 3 reusable components found
coteditor/CotEditor ★ 8599 541 APPLICATION

CotEditor is a native macOS text editor written in Swift, designed for code editing with syntax highlighting, file management, find/replace, and scripting support. It uses a hybrid AppKit/SwiftUI architecture, with core editing logic in the EditorCore package, syntax parsing in the Syntax package (supporting both regex-based and tree-sitter incremental parsing), and macOS-specific UI controls in the MacUI package. The application follows an MVVM pattern with @Observable models, async task-based background processing, and extensive localization across 19 languages. Key entry points include the DocumentWindow and DocumentViewController for the main editing interface, the SettingsWindow for configuration, and the command-line tool `cot`. Data flows involve file opening with encoding detection, syntax highlighting via incremental parsers, find/replace operations with progress tracking, and remote editing via the rmate protocol. External dependencies include tree-sitter grammars for 20+ languages, Sparkle for updates, and various macOS system APIs. The codebase demonstrates strong engineering practices: modular package design, protocol-oriented interfaces, reactive state management, and comprehensive test coverage. It is actively maintained with frequent releases and security fixes.

RATING: 9.1/10 MAINT: active DRIFT: low
â–¸ 6 reusable components found
$ loading more...
$ submit: