Tachikoma is a production-grade Swift SDK/library that provides a unified typed interface to a broad spectrum of LLM providers: OpenAI (Chat Completions, the newer Responses API for GPT-5+ generations, and a ChatGPT Codex OAuth backend), Anthropic (Claude with streaming signed thinking blocks), Google Gemini, Mistral, Groq, Grok/xAI, Kimi, MiniMax, OpenRouter, Together, Replicate, Ollama, LM Studio, Azure OpenAI, and arbitrary OpenAI/Anthropic-compatible endpoints. Its public surface is deliberately modeled on the Vercel AI SDK: generateText/streamText, generateObject/streamObject with partial-JSON repair, embeddings, vision analysis, and multi-step agent tool-calling loops. Beyond generation, it ships composable stop conditions, response caching, retry policies, usage/cost accounting, reasoning-effort controls, and a provider feature-parity adapter that normalizes differences in system roles, vision, and tool limits across backends. The repo is strictly an application SDK in character: no datasets, notebooks, or data pipelines. The one data-like facet is its manually curated model capability catalog (context lengths, pricing, per-generation reasoning support), which is embedded as Swift enums rather than external registries. Architecturally it is a SwiftPM monorepo of five products: Tachikoma (core generation/provider layer), TachikomaAgent (conversations, dynamic tool registry, MCP tool binding), TachikomaAudio (transcription, TTS, and an OpenAI Realtime WebSocket voice client), TachikomaMCP (a client for Model Context Protocol servers over stdio/SSE/HTTP with full JSON Schema bridging), and TachikomaConfigCLI (auth/credential helper), plus two example CLIs (ai-cli, gpt5cli). All providers implement a common ModelProvider protocol with ProviderRequest/ProviderResponse and AsyncThrowingStream-based streaming, with shared SSE/NDJSON parsing funneled through OpenAICompatibleHelper and provider-specific adapters for Anthropic, Google, and Ollama. The code is Swift 6.2, heavily async/await, and covered by a substantial test suite (Swift Testing, mock URLProtocol fixtures, snapshot tests, serialized mutex-guarded tests for shared state), with CI across macOS and Linux. The codebase exhibits strong engineering practice: clean provider abstraction, genuinely reusable utilities (stream transforms, retry policies, TTL caches, typed JSON Schema views), modular product boundaries, and disciplined error modeling. Its principal weaknesses are the enormous provider surface that must be manually maintained (hardcoded capability matrices, context-length string heuristics like isOpus48/isSonnet5, static pricing tables in ModelCostCalculator), a handful of @unchecked Sendable singletons and NSLock-guarded global state, Linux/Apple streaming divergence (Linux buffers the full response instead of streaming bytes), some dead placeholder APIs (the legacy generate() returning a mock string), and a rapid feature-churn cadence visible in the changelog (GPT-5.6/6, Claude 5, reasoning replay). These are maintainability risks more than correctness defects; the tested behavior is consistently thorough. Overall this is a high-craft SDK that an engineer building AI application features in Swift would benefit from studying, particularly its OpenAI-compatible adapter pattern, cache-key determinism, and MCP schema translation.
LiveAdmin is an admin UI library for Phoenix applications built on Phoenix LiveView and Ecto. It provides a customizable administrative interface for managing application data with features like resource-based views (index, show, create, edit), custom actions and tasks, multi-tenancy support via Ecto prefixes, persistent user sessions, notifications via Phoenix.PubSub, and internationalization via Gettext. The architecture follows a modular design with clear separation of concerns between routing, resource management, components, and session handling. Key entry points include the LiveAdmin.Router.live_admin/3 macro for defining admin routes and LiveAdmin.Resource.__using__/1 for defining admin resources. The system relies on external dependencies including Phoenix, Phoenix LiveView, Ecto, Gettext, and Nimble Options for configuration validation.
Config4k is a lightweight Kotlin library that wraps Typesafe Config (HOCON), providing seamless conversion between Config objects and Kotlin types. It offers extension functions `Config.extract<T>` and `Any.toConfig` for deserialization and serialization, supporting data classes, enums, collections, value classes, and a wide range of primitive and JDK types. The library integrates with kotlinx.serialization for HOCON format handling and includes a plugin system (CustomType interface) for extending supported types. It is well-tested, has CI/CD pipelines, and publishes to Maven Central. The architecture is modular with separate readers and serializers per type, making it extensible and maintainable.
Reload is a Node.js library and CLI tool that automatically refreshes web pages in the browser when server-side code changes. It works by injecting a client-side JavaScript file that opens a WebSocket connection to the server. When the server restarts (or a manual reload event is triggered), the WebSocket closes, the client detects the closure, waits for the server to come back up, and then reloads the page. The library integrates with Express applications by creating a route to serve the client script, while the CLI tool serves static files and uses nodemon to watch for file changes. The core logic is in `lib/reload.js`, which handles WebSocket server setup, HTTPS support, and parameter validation. The client-side script (`lib/reload-client.js`) is a self-contained pattern that can be reused in other projects. The codebase is well-tested, actively maintained, and follows modern JavaScript practices.
Garden is a one-URL automated asset discovery and passive security scanning tool designed for authorized targets. It performs passive, read-only scans (bounded GET requests within same-origin boundaries) without active exploitation. The tool supports two primary modes: quick (anonymous) scans and authenticated coverage analysis across three fixed contexts (anonymous, user, admin). Outputs include structured Markdown reports with asset inventory, evidence, security control observations, and explicit coverage gap explanations, emphasizing that zero findings do not imply safety unless coverage is fully qualified. The architecture is a Python 3.10+ application using FastAPI for the web API, Typer for the CLI, SQLAlchemy with Alembic for database management, and Playwright for browser automation during login and inventory collection. The system follows a service layer pattern shared by CLI, Web, and API entry points, with a multi-stage pipeline (validate β collect β normalize β compare coverage β replay authorization β analyze β report) orchestrated by ScanApplicationService. External dependencies include httpx for HTTP requests, Pydantic for data validation, and Jinja2 for templating. Garden is positioned as an internal AppSec workflow for post-authentication verification of authorized application surfaces, not as a general-purpose vulnerability scanner like Burp or ZAP. It features centralized redaction of sensitive data across all outputs, an ephemeral secret store for temporary credential handling, and a plugin-based security check system with six built-in low-risk checks. The codebase includes extensive test coverage (unit, integration, e2e), a comprehensive threat model, and detailed implementation plans for versioned releases (v0.2 trusted report quality, v0.3 passive authenticated coverage).
MuscleMap is a SwiftUI SDK for rendering interactive human body muscle maps with highlighting, heatmaps, and gesture support. It provides male and female body models in front and back views, supports tap/long-press/drag interactions, pinch-to-zoom, multi-select with undo/redo, pulse animations, and extensive localization (11 languages). Built entirely in SwiftUI with zero external dependencies, it uses SVG path parsing for precise muscle rendering and offers both SwiftUI and UIKit interfaces.
Bonsai_term is a library for building Terminal User Interfaces (TUIs) using OCaml with a reactive programming model similar to bonsai_web. It provides a complete framework for handling terminal input/output, event processing (keyboard, mouse, resize), rendering views, and managing application state. The architecture follows a functional reactive pattern with clear separation between event handling, state management, rendering, and the main run loop. Key entry points are the start functions in loop.ml which take an application function defining the view and event handler. The system processes terminal events through an event queue, applies user-defined handlers to produce effects, and renders incremental view updates at a target frame rate.
GistPad MCP is a Model Context Protocol (MCP) server that provides a comprehensive interface for managing GitHub Gists through AI assistants like GitHub Copilot and Claude Desktop. It exposes tools for CRUD operations on gists, file management within gists, comments, daily notes, archiving, starring, and reusable prompts. The server runs over stdio and uses the GitHub REST API via a custom typed fetch client. It features a caching layer with hourly refresh, resource subscriptions, and change notifications. The codebase is written in modern TypeScript (ES2024, Node.js 22+) with strict type safety, comprehensive tests for the file editing tool, and a clean modular architecture separating concerns into tools, server, store, and utilities. It demonstrates strong engineering practices including abstract base classes for stores, automatic tool annotation derivation, and careful error handling.
Thonburian Whisper is a Thai Automatic Speech Recognition (ASR) model fine-tuned from OpenAI's Whisper, provided as a reusable application with associated tools. The repository offers the pre-trained model hosted on Hugging Face, along with utilities for transcription, long-form audio processing, TensorRT conversion, and evaluation. Key components include a CLI tool for long-form transcription using VAD and syllable segmentation, scripts for converting the model to TensorRT format for efficient inference, and evaluation metrics calculation. The architecture consists of modular Python scripts and notebooks that demonstrate usage rather than a monolithic application, with clear separation between model usage, audio preprocessing, and post-processing.
This repository implements an RSS feed aggregator for corporate tech blogs. It fetches RSS/Atom feeds from a predefined list of company technology blogs, processes and enriches the feed items with metadata (Open Graph data, Hatena bookmark counts), generates aggregated feeds in Atom/RSS/JSON formats, and builds a static website using Eleventy to display the aggregated content. The site features a homepage with recent articles grouped by date, a 'hot' page showing popular articles based on Hatena bookmarks, individual blog pages, and a blog listing page. Updates are automated via GitHub Actions that run hourly on weekdays and every two hours on weekends.
This repository provides a comprehensive Solidity implementation of the ERC-734 (Key Holder) and ERC-735 (Claim Holder) standards for decentralized on-chain identities. It includes a core Identity contract that manages cryptographic keys (management, action, claim, encryption) and claims (issuance, storage, revocation), along with a ClaimIssuer contract for issuing and revoking claims. The system supports proxy-based upgradeability via an ImplementationAuthority and IdentityProxy, allowing identity contracts to be upgraded without losing state. A factory contract (IdFactory) enables deterministic deployment of identity proxies using CREATE2, with support for wallet linking and token identity creation. A Gateway contract provides an off-chain authorization layer for identity deployment, managing approved signers and signature revocation. A Verifier contract allows other contracts to verify that an identity holds valid claims from trusted issuers for required topics. The architecture is modular, well-tested, and follows security best practices including signature malleability protection. It is designed for use in decentralized identity (DID) systems on EVM-compatible blockchains.
This R package defines an S3 class `units` that attaches measurement units (e.g., meters, seconds, kg) to numeric vectors, matrices, and data frame columns. It provides automatic unit propagation, conversion, derivation, and simplification through arithmetic operations, built on the UNIDATA udunits2 C library. The package integrates with ggplot2 for axis/scale labeling, supports conversion to/from difftime and POSIXct, and offers helpers like `set_units()`, `mixed_units()`, and `keep_units()` for preserving units across operations that would otherwise strip them. It is actively maintained, with comprehensive tests, CI workflows, reverse dependency checks, and vignettes demonstrating its use in scientific and geospatial computing. While the core unit logic is delegated to udunits2, the R implementation demonstrates clean S3 method dispatch, careful handling of unit symbols, and a reusable pattern for attribute preservation.
This is the Rust userland library for Tock OS, providing safe abstractions over Tock syscalls (command, subscribe, allow) and a comprehensive set of driver APIs for peripherals such as GPIO, I2C, SPI, console, sensors, display, and networking. It includes a runtime with startup code for ARM, RISC-V, and x86 processes, a build system for generating Tock Binary Format (TBF) and TAB archives, and a full unit-testing framework with a fake kernel and fake drivers that enable testing Tock applications on a host machine. The architecture is trait-based, with drivers generic over a `Syscalls` implementation, allowing compile-time dependency injection for testing. This repo is not a standalone application but a library and framework for building Tock processes. It demonstrates high craftsmanship in its safe resource management patterns (e.g., `share::scope` for scoped buffer allocation) and includes a standalone micro-formatting crate (`ufmt`) that is 6-40x smaller than `core::fmt`.
This is the primary game content database for the CMaNGOS World of Warcraft Classic emulator (mangos-classic). It consists entirely of SQL migration files that define creature spawns, waypoints, loot tables, quest scripts, vendor lists, gameobject placements, and creature AI for the vanilla 1.12.1 game client. The repository is a curated dataset derived from multiple sources: official sniffs, web archives (Wowhead, Allakhazam), and cross-ports from other emulator databases (TDB, VDB, vmangos). Updates are applied sequentially via `InstallFullDB.sh` and require the matching mangos-classic core. The data is organized into a flat `Updates/` directory with numbered patches and subdirectories for instance-specific content. Notable patterns include a variable-based GUID allocation system to avoid collisions, extensive use of `spawn_group` for random formation spawns, `creature_spell_list` for data-driven creature AI, and reference loot templates for item pools. While tightly coupled to the MaNGOS schema, the data engineering patterns (idempotent SQL, user-defined variables for GUIDs, incremental updates with version tracking) are well-executed and could be adapted to other game database projects. The ACID subproject provides a standalone EventAI scripting system that is reusable across expansions.
vkbind is a Vulkan API loader and code generator that creates a single header file containing all Vulkan API definitions and functions for dynamically loading Vulkan functions. It parses the official Vulkan XML specifications (vk.xml and video.xml) to generate a comprehensive C header that eliminates the need for the official Vulkan SDK. The generated header includes type definitions, enumerants, function prototypes, and loader functions like vkInit(), vkInitInstanceAPI(), and vkBindAPI() for accessing Vulkan functionality across different platforms.
UIWidgets is a Flutter-inspired UI framework for Unity that enables cross-platform app development within the Unity Engine. It consists of a C++ engine layer (modified Flutter engine) for rendering and a C# runtime layer providing widget libraries (Material and Cupertino), gesture handling, animation systems, and platform integration. The primary entry point is the UIWidgetsPanel component attached to a Unity Canvas, which hosts the UIWidgets view. The framework powers applications like Unity Connect App and Unity Chinese Documentation, featuring samples demonstrating widgets, animations, gestures, and platform-specific integrations. While the core framework exhibits strong architectural patterns, the codebase shows technical drift due to version-specific Unity tight coupling, platform fragmentation, and engine fork maintenance burdens.
This repository provides a WebCrypto API polyfill for Node.js, implementing the W3C Web Cryptography API using Node's native crypto module. It supports a comprehensive set of algorithms including AES (CBC, CTR, GCM, ECB, KW, CMAC), DES (CBC, EDE3-CBC), RSA (SSA, PSS, OAEP, ES), ECDSA, ECDH, EdDSA, ECDH-ES, Ed25519, X25519, HMAC, PBKDF2, HKDF, SHA-1/256/384/512, SHA3-256/384/512, and SHAKE128/256. The architecture follows a provider pattern where each algorithm is implemented as a separate class extending a base provider from the 'webcrypto-core' library. Key management is handled through internal CryptoKey classes with serialization support for JWK, raw, PKCS8, and SPKI formats. The library is designed as a drop-in replacement for the browser's crypto.subtle API, enabling isomorphic JavaScript cryptography.
Nestify is a monorepo that provides a framework for building NestJS applications with a sample order management system demonstrating its use. The repository separates reusable framework capabilities (in packages/) from application-specific code (in apps/api/). The framework provides building blocks for DDD-style NestJS APIs including database integrations (Kysely, ClickHouse), messaging (BullMQ, NATS), caching (Redis/Redisson), observability, resilience patterns, and DDD primitives. The sample application implements an order management system with REST endpoints, PostgreSQL database, Redis integration, and Clean Architecture layers using CQRS pattern. The framework emphasizes separation of concerns, with explicit rules against placing business logic in framework packages.
Calx.js is a spreadsheet calculation engine that brings Excel-like functionality to web applications. It parses and evaluates formulas, manages workbooks/sheets/cells with dependency tracking, and provides both a programmatic API and jQuery plugin interface. The architecture features a modular WorkbookβSheetβCell hierarchy with modern Chevrotain-based formula parsing, FormulaJS integration for function implementations, and efficient recalculation through dependency tracking. Key entry points include the main Calx class and jQuery plugin wrapper, with data flows proceeding from HTML attribute parsing through formula evaluation to DOM updates.
React Code View is a React component library for rendering code with live preview and syntax highlighting. It provides a CodeView component that combines an editable code editor, live preview, and syntax highlighting, allowing developers to create interactive code examples. The library includes build tool plugins (unplugin) for Vite, Webpack, Rollup, esbuild, and Rspack that enable importing markdown files as React components with automatic code block processing. At its core, it uses Sucrase for JSX/TS transformation, Shiki for syntax highlighting, and CodeMirror 6 for the editing experience, with code execution happening in a sandboxed environment.