Tangram is a GNOME desktop application written in GJS (JavaScript) that functions as a specialized browser for managing and running web applications as persistent, independent tabs. It uses GTK4 and Libadwaita for the user interface, WebKitGTK for rendering web content, and GSettings for per-instance configuration storage. The application is packaged as a Flatpak and integrates with the GNOME desktop environment through notifications, D-Bus activation, and desktop file registration. Architecture: The application follows a single-window, multi-view pattern. The main window contains a stack of views: a 'tabs' view (Adw.TabOverview with Adw.TabView) for managing open web app tabs, and a 'new' view for adding new web apps. Each web app instance is represented by an Instance object that stores its name, URL, user agent, and notification priority in GSettings. The WebView module constructs a sandboxed WebKit WebView per instance with isolated data and cache directories, cookie management, and notification handling. The tabs module manages the lifecycle of tabs within the TabView. The state module provides a simple observable state mechanism for cross-component communication. Key entry points: src/bin.js is the executable entry point, which initializes the package and calls main() from src/main.js. src/main.js sets up the environment and creates the Adw.Application from src/application.js. The application's activate signal creates the main window (src/window.js), which loads saved instances, sets up the views, and registers actions and shortcuts. Data flows: Instance configurations are stored in GSettings under /re/sonny/Tangram/instances/<id>/. On startup, the list of instance IDs is read from the instances key, and each instance is loaded with its settings. When a tab is added, a new instance is created with a UUID, a WebView is built with isolated data/cache directories, and the instance is attached to the settings list. Web app metadata (title, URL, manifest) is extracted by injecting JavaScript (ephy.js) into the loaded page and fetching the manifest if available. Notifications from web pages are forwarded as GNOME desktop notifications with configurable priority. External dependencies: GNOME Platform runtime (GTK4, Libadwaita, GLib, GIO), WebKitGTK 6.0, Soup (HTTP client), GdkPixbuf (image format detection), and the troll submodule for utility functions.
AlterX is a Go CLI tool and library for generating subdomain wordlists using a DSL (Domain-Specific Language) for patterns and an optional pattern mining mode. It ingests a list of known subdomains, extracts variables (sub, suffix, root, etc.), and applies user-defined or automatically discovered patterns to produce permutations. The architecture is modular: a Mutator engine orchestrates either default pattern-based generation (using ClusterBomb cartesian product) or pattern mining (via edit-distance clustering, n-gram analysis, and DFA-based regex generation). Key entry points are the CLI (`cmd/alterx/main.go`) and the library API (`mutator.go`). External dependencies include `fasttemplate` for variable replacement, `publicsuffix` for domain parsing, and `projectdiscovery/utils` for deduplication and other utilities. The pattern mining subsystem (ported from Regulator) uses a three-phase clustering algorithm and Brzozowski's DFA minimization to generate subdomains from observed patterns. The tool supports three modes: default (user patterns), discover (mined patterns only), and both (combined).
Nanocl is a self-hosted container and virtual machine orchestrator written in Rust, with a client-server architecture split across multiple binaries and shared crates. The daemon (`nanocld`) manages Cargoes (replicable groups of containers), VMs, jobs, secrets, namespaces, resources, and nodes, persisting state in PostgreSQL/CockroachDB via Diesel and driving Docker through Bollard. The CLI (`nanocl`) provides declarative Statefile workflows for apply/diff/status/logs/remove, plus imperative commands for Cargoes, VMs, jobs, processes, and secrets. Separate controllers embed Nginx (`ncproxy`) for proxy rules and dnsmasq (`ncdns`) for DNS, reacting to daemon events to rebuild configuration transactionally. A REST API with OpenAPI specs, versioned endpoints, WebSocket attach/exec, SSE event streaming, and a typed client crate complete the control plane. The code shows a mature orchestration design: declarative desired-state models, spec history with revert, generic repository/object CRUD traits, event-driven reconciliation, distributed mutexes for task serialization, and label-based container identity for recovery after daemon restarts. The strongest engineering is in the Cargo subsystem: a pure compiler maps high-level container specs to Docker configs, replica placement is performed by SQL-backed capacity queries, readiness gates drive rolling updates, and sandbox containers provide network isolation for multi-container applications. Reusable crates such as `nanocl_utils`, `nanocl_stubs`, `nanocl_error`, and `nanocld_client` are cleanly separated and could be extracted for other Rust services. Maintenance is active, with recent commits, a nightly branch, CI workflows, and ongoing migrations. Technical drift is moderate: legacy `nproxy`/`ndns` binaries are still present though superseded, large generated Swagger specs are checked in, SQL generation relies on complex macros, and several modules duplicate process-streaming or config-reload logic. These issues are not fatal, but they make some parts harder to audit and refactor. Overall this is a sophisticated, production-oriented infrastructure project with strong architecture and several genuinely reusable patterns, though not without rough edges.
tui-realm is a Rust library/framework for building terminal user interfaces (TUIs) using a component-based, event-driven architecture. It is not a standalone application but a reusable framework that wraps ratatui (formerly tui-rs) and provides an Application loop, Component/AppComponent traits, a Model/Update/View pattern, and a subscription system for routing events between components. The monorepo is organized as a Cargo workspace containing the core `tuirealm` crate, a `tuirealm_derive` procedural macro crate, a standard library of reusable components (`tui-realm-stdlib`: Input, Label, List, Table, etc.), and optional integration crates `tui-realm-textarea` and `tui-realm-treeview`. The framework is designed to reduce boilerplate by centralizing focus management, event routing, and state handling in the Application/View layer, while allowing developers to define custom components and event sources via Ports and Subscriptions.
llvm-cbe is a resurrected LLVM C backend that converts LLVM Intermediate Representation (IR) into compilable C code. It operates as both a library (implementing an LLVM target machine) and a command-line tool (llvm-cbe) that reads LLVM bitcode or IR and outputs C source files. The core is the CWriter pass, which handles type lowering, instruction translation, and generation of C-compatible code including structs, arrays, vectors, and intrinsics. It supports a wide range of LLVM features such as atomic operations, vector instructions, and various calling conventions, and includes extensive test suites (C, C++, and LLVM IR tests) to verify correctness across multiple optimization levels and compilers (GCC, Clang, MSVC). The project is actively maintained, targeting LLVM 22, and is used primarily in scenarios where C code generation is needed from LLVM IR, such as cross-compilation or embedding.
This repository is a high-quality .NET library implementing the OpenBSD BCrypt password hashing algorithm. It serves as a security-critical dependency for authentication systems, providing robust password hashing, verification, and salt generation. The codebase is multi-targeted, supporting legacy .NET Framework versions (4.6.2+) alongside modern .NET standards (2.0/2.1) and recent runtimes (.NET 8.0, 10.0). It includes specialized extensions for ASP.NET Core Identity, allowing seamless integration into existing authentication pipelines without custom implementation. The architecture prioritizes security through constant-time comparisons, secure memory handling, and thread-safe key schedule management using ThreadLocal storage. The library includes extensive test vectors from the original Java reference implementation to ensure algorithmic correctness across different BCrypt revisions (2a, 2b, 2y, 2x). While the core library is production-ready and widely adopted, the repository exhibits some hygiene issues, including the presence of a signing key file in the root directory and a 'dists/' folder containing legacy binary artifacts, which suggests a mix of automated and manual release processes. For engineers evaluating reuse, this library offers a reliable, well-tested foundation for password security. The Identity extension component is particularly valuable for .NET developers needing to replace default password hashers. However, consumers should be aware of the technical drift regarding legacy framework support and the potential security implications of the repository's artifact management practices.
MailCrab is an email test server written in Rust, inspired by MailHog and MailCatcher. It provides an accept-all SMTP server and a web interface to view and inspect incoming emails.
AI Vocabulary Builder is a full-stack web application (FastAPI backend, Vue.js frontend) that uses LLM APIs (OpenAI, Gemini, Anthropic, DeepSeek) to help users build and learn English vocabulary. The backend exposes REST APIs for translating text, extracting rare words, managing a vocabulary store (TinyDB), generating stories and quizzes from learned words, and exporting to Anki/CSV. The frontend provides an intuitive single-page interface with build, learn (words list, quiz, story) and settings views. The architecture follows a modular monolith with clear separation of concerns: `builder` for vocabulary extraction, `learn` for quiz/story features, `system` for settings and model configuration, and `infras` for persistence and AI model abstraction. The codebase is well-structured with comprehensive unit tests, CI/CD via GitHub Actions, and rigorous linting/formatting (ruff, mypy).
This is a PHP library for parsing MIME email messages conforming to RFC 822/2822/5322. It wraps the `mailparse` PECL extension to provide a clean, object-oriented API for extracting headers, plain text and HTML bodies, attachments, and embedded content from raw email data (file, string, or stream). The library features a middleware system for custom MIME part processing, configurable attachment filename conflict strategies (suffix, random, throw), charset decoding with an extensive alias map, and type-safe enums for body type and filename strategy. It is designed for use in webmail clients, email processing pipelines, and Postfix integration, with support for complex MIME structures including multipart/alternative, inline images, and nested RFC822 messages. The test suite includes over 30 real-world email fixtures covering edge cases, making the library robust enough for production use.
Prismaliser is a fully client-side single-page application that visualizes Prisma database schemas as interactive entity-relationship diagrams. It runs entirely in the browser: the user pastes a Prisma schema into a Monaco editor, the app parses it client-side via a vendored WASM module from Prisma's own schema parser, and renders the models, enums, and relations (1-1, 1-n, m-n) as an interactive React Flow graph. The app has no backend server β it is a static Vite SPA that can be self-hosted (Docker image provided). Recently, AT Protocol (Bluesky) integration was added allowing users to publish immutable snapshots of their diagrams (schema + node positions) to their own AT repository, share via canonical AT links, and manage published snapshots. OAuth login is browser-native using the atcute library family. The codebase is TypeScript strict, thoroughly tested (Vitest), and follows modern React patterns with Tailwind CSS v4 and CSS modules. The architecture is modular: a util layer handles Prisma parsing, graph generation, and layout (elkjs), while a dedicated atproto/ module handles OAuth, record creation, public retrieval, and share link parsing. The UI is built with React 19, using local state and hooks (no global state management). The project is actively maintained with recent commits and open issue triage.
This monorepo contains four distinct MCP (Model Context Protocol) servers for Neo4j, built on FastMCP and the Neo4j Python async driver. The servers are: mcp-neo4j-cypher (executes Cypher queries with schema introspection, read-only mode, and token-limit truncation), mcp-neo4j-memory (persistent knowledge graph memory with CRUD for entities, relations, and observations), mcp-neo4j-data-modeling (graph data model design, validation, format conversion between Arrows JSON, OWL Turtle, Pydantic models, and Neo4j GraphRAG schema, plus Cypher ingestion code generation), and mcp-neo4j-cloud-aura-api (manages Neo4j Aura cloud instances via REST API). Each server supports stdio, SSE, and HTTP transports, with security middleware (CORS, TrustedHost) and configurable namespace prefixing for multi-tenant deployments. The architecture follows a consistent pattern: CLI + environment variable configuration, FastMCP decorator-based tool definitions, Pydantic argument validation, and async Neo4j driver usage. External dependencies include the Neo4j database, Neo4j Aura API, FastMCP, Pydantic, neo4j driver, tiktoken, and rdflib. The codebase is actively maintained with CI/CD pipelines, Docker images, and multi-channel distribution (PyPI, Docker Hub, GitHub MCP Registry).
This is a Nuxt 3 module that integrates Apollo GraphQL client into Nuxt applications. It provides a flexible configuration system for defining multiple Apollo clients with HTTP and WebSocket endpoints, authentication token management, and SSR support. The module auto-imports composables like useAsyncQuery, useQuery, useMutation, and useSubscription, and provides hooks for custom authentication and error handling. It also supports hot module replacement for Apollo client configuration files. The architecture uses Nuxt's module system (defineNuxtModule) to hook into the build process. It reads client configurations from nuxt.config or external files, generates runtime templates, and sets up a Nuxt plugin that creates ApolloClient instances with appropriate links (HTTP, WebSocket, auth, error). The composables layer provides SSR-friendly async query wrappers and authentication helpers. WebSocket support includes a restartable client for reconnection. Key entry points are src/module.ts (module setup), src/runtime/plugin.ts (client creation and plugin), and src/runtime/composables.ts (user-facing composables). External dependencies include @apollo/client, @vue/apollo-composable, graphql-ws, and @nuxt/kit.
Binance Grid Trader is a cryptocurrency trading bot that implements grid trading strategies for Binance Spot and Futures markets. The application features a modular architecture with separate layers for exchange gateways, event processing, strategy management, and user interface. It provides both a graphical interface built with PyQt5 and script-based execution modes for running trading strategies without UI. The system connects to Binance via REST and WebSocket APIs to receive market data and execute trades based on configurable grid strategies.
RViz is a 3D visualization tool for the Robot Operating System (ROS) that provides real-time visualization of sensor data, robot state, and navigation information. The application features a plugin-based architecture where displays, tools, and view controllers are dynamically loaded, enabling extensibility for various data types. Built with Qt for the GUI framework and Ogre for 3D rendering, RViz processes ROS messages through display plugins that convert data into renderable objects in the scene. Key systems include a property hierarchy for configuration, resource loading from ROS packages, and YAML-based configuration persistence. The architecture centers around a VisualizationManager coordinating the render loop, with core components including Display (visualization base), Tool (interaction base), and ViewController (camera control base). Data flows from ROS topic subscriptions through display plugins that process messages and update Ogre scene objects. User interactions via tools may publish ROS messages (e.g., setting navigation goals). The system maintains strict separation between Qt GUI elements, Ogre rendering, and ROS communication layers, using signals/slots for inter-component communication. Despite its complexity, RViz incorporates several reusable, well-engineered components. The property system provides a robust framework for editable parameters with automatic GUI generation and validation. The plugin architecture, built on pluginlib, offers a clean extension mechanism. Ogre helpers encapsulate common rendering tasks, and the configuration system handles hierarchical settings with locale-independent number parsing. The project shows active maintenance with ongoing efforts to modernize dependencies (Qt, Ogre, C++), though it remains primarily focused on ROS 1 with acknowledged technical debt regarding ROS 2 migration.
Twake Drive is a full-featured file management web application built on the Cozy platform. It provides a React-based single-page application for browsing, uploading, downloading, sharing, and editing files. Key features include shared drives, real-time collaborative whiteboarding with Excalidraw, document editing via OnlyOffice, PDF annotation, file versioning, a file picker service for external app integration, and comprehensive sharing capabilities (by link, by email, with permissions). The application communicates with a Cozy Stack backend via the cozy-client library and supports multi-instance sharing between Cozy users. Architecture is a frontend SPA with React, Redux for upload state, and numerous React context providers for sharing, selection, clipboard, and view settings. External dependencies include cozy-ui, cozy-sharing, twake-i18n, and cozy-flags. The codebase is well-structured with modular components, extensive unit and E2E tests, and demonstrates high craftsmanship in areas such as conflict resolution, virtualized file lists, and real-time collaboration.
Square Logcat is a lightweight Kotlin multiplatform logging library that provides a simple API for logging on Android and JVM platforms. The library wraps Android's android.util.Log class and offers a similar API for JVM environments. Key architectural decisions include inlined logging functions that avoid string evaluation when logging is disabled, automatic tag extraction from calling class names without stacktrace overhead, and support for multiple concurrent loggers with thread-safe management. The library uses kotlinx.atomicfu for thread-safe collections and follows a clean separation between the logging API (logcat function) and logger installation (LogcatLogger interface).
Hamlit is a high-performance implementation of the Haml templating language for Ruby. It focuses on speed optimizations through reduced string concatenation, static analysis via Ripper/Temple, and C-optimized attribute building. The engine uses the Temple framework to compile Haml templates into efficient Ruby code, with additional optimizations like string splitting and dynamic merging to minimize runtime object allocations. The architecture is modular, consisting of a core engine, parser (generated from Haml source), compiler, and filter system. It provides integration points for Rails (via Railtie) and framework-agnostic use through Tilt. A command-line interface is included for template compilation and rendering. The project also includes a C extension (hamlit.c and hescape.c) to accelerate performance-critical operations, with fallbacks to pure Ruby for compatibility with JRuby and TruffleRuby. While Hamlit's performance edge has diminished since Haml 6 incorporated similar optimizations, the codebase remains a well-crafted example of template engine engineering. It demonstrates strong practices in balancing performance with portability, and several components (such as the escape utilities, string splitter, and dynamic merger) are suitably reusable in other contexts. The project is actively maintained, with recent commits indicating ongoing support.
Spice is a Zig library for low-overhead parallelism using heartbeat scheduling. It provides a fork/join model where workers maintain local work queues and a heartbeat thread periodically signals workers to offload work to others. The design avoids common work-stealing pitfalls: dynamic dispatch is minimized by using static calls for local work, queues are truly local (no atomics for push/pop in common case), and spinning is eliminated by using blocking waits. The library is demonstrated with a binary tree sum benchmark showing sub-nanosecond overhead. While primarily a research project with noted limitations (lack of tests, no array support), the implementation exhibits high craftsmanship in its concurrency primitives and performance optimizations.
ccNexus is a desktop application (built with Wails v2, Go backend + web frontend) and a headless server that acts as a smart proxy for multiple AI API endpoints, including Claude, OpenAI Chat, OpenAI Responses, and Gemini. It manages endpoint rotation with automatic failover, credential token pools (API keys, access tokens, refresh tokens), and real-time format conversion between the different API protocols. The system provides a full-featured GUI for managing endpoints, viewing usage statistics, configuring backup/restore (WebDAV, local, S3), launching Claude Code or Codex CLI terminals, and applying visual themes. A separate web UI is available for headless deployments via Docker. The architecture follows a layered design: a proxy layer handles request routing, authentication, and streaming response transformation; a transformer layer converts between API formats using a registry of converters; a storage layer persists endpoints, credentials, and stats in SQLite; and a service layer orchestrates higher-level operations like backup, updates, and terminal launching. The codebase demonstrates strong engineering practices including thread-safe configuration, adapter patterns for storage abstraction, SSE for real-time stats, and comprehensive contract tests. Notable features include zero-cost endpoint testing, incremental stats updates, and a credential lifecycle management system with rate limit tracking and automatic cooldown. While primarily an application, ccNexus includes some data-oriented components such as token counting, usage statistics aggregation, and credential rate limit parsing. However, these serve the operational needs of the proxy rather than constituting a data research pipeline. The project is actively maintained with a responsive issue tracker and regular releases.
pycountry is a Python library that provides programmatic access to ISO standard data including countries (ISO 3166-1), subdivisions (ISO 3166-2), historic countries (ISO 3166-3), currencies (ISO 4217), languages (ISO 639-3), language families (ISO 639-5), and scripts (ISO 15924). It packages JSON databases and compiled GNU gettext translation files (`.mo`) for dozens of locales, sourced from the Debian iso-codes project. The library is a pure wrapperβno data transformation or analysis is performedβand explicitly rejects data contributions. Its core API exposes objects like `pycountry.countries`, `pycountry.languages`, and `pycountry.currencies` with methods for exact lookups (`get`, `lookup`), fuzzy search (`search_fuzzy`), and dynamic entry modification (`add_entry`, `remove_entry`). Translation support is provided via locale-aware gettext catalogs, allowing localized name retrieval for supported languages. The architecture is a monolith library with minimal external dependencies (only standard library modules). Single Python package, no web server or CLI. Data is loaded lazily and cached. The test suite covers all database objects and edge cases.