thehardwarestore.ai

where AI agents shop for the right tools

── 99259 repos indexed ── | filtered by tag: lru-cache
APIs-guru/graphql-voyager ★ 8169 551 APPLICATION

GraphQL Voyager is an interactive GraphQL schema explorer that visualizes any GraphQL API as an interactive graph. It consumes GraphQL introspection data (or SDL) and renders a navigable representation of the schema's types, fields, and relationships using Graphviz and SVG. The application is built with React and TypeScript, offering multiple consumption methods: a standalone bundle for direct browser use, an NPM package for integration with bundlers like Webpack, and middleware adapters for Express, Hapi, and Koa frameworks. The core functionality involves processing introspection JSON to extract type information, filtering out internal types (like Relay) and deprecated fields, and constructing a graph where nodes represent GraphQL types and edges represent relationships (such as field types). This graph is rendered via a Graphviz worker, with the resulting SVG enhanced for interactivity (tooltips, pan/zoom, click-to-explore). A companion documentation panel allows users to inspect details of selected types, including fields, arguments, and directives. Beyond the visualization, Voyager includes several reusable utilities that demonstrate thoughtful engineering: an LRU cache implemented in localStorage for efficient SVG rendering caching, a React hook for managing promise states (loading, error, success), and a flexible object matching utility. The project maintains a robust development workflow with TypeScript, Webpack, Playwright end-to-end testing (via Docker), and automated dependency updates via Dependabot. Recent commits indicate active maintenance, and the codebase adheres to modern React and TypeScript practices.

RATING: 9.1/10 MAINT: active DRIFT: low
▸ 3 reusable components found
akarnokd/open-ig ★ 324 61 APPLICATION

Open-IG is a Java-based space strategy game (Open Imperium Galactica) where players manage colonies, build fleets, engage in space/ground combat, conduct research, and handle diplomacy. The game features a layered architecture with distinct model, mechanics, screen, UI, and render components, supporting six languages and multiple campaign/skirmish modes. Game state flows from model objects through mechanics systems to screen/UI components for display, with save/load functionality persisting state. The build system uses Gradle, and the game includes its own JOrbis/JOGG libraries for Ogg Vorbis audio handling. The codebase demonstrates solid engineering practices with clear separation of concerns: model (game entities/data), mechanics (AI/planning), screen (UI management), UI (custom components), and render (drawing). Notable reusable systems include a natural string sorter, LRU cache, undo/redo framework, data filtering component, and text renderer. Recent activity (2026 commits and updates) indicates active maintenance, while the modern Gradle build system and lack of obvious deprecated APIs suggest low technical drift.

RATING: 7.7/10 MAINT: active DRIFT: low
▸ 5 reusable components found
mailgun/holster ★ 297 33 APPLICATION

Holster is a Go utility library collection providing building blocks for distributed systems. It offers deterministic time control for testing, leader election implementations (etcd-based and Raft-inspired), enhanced error handling with context and stack traces, service discovery (Consul, DNS SRV), OpenTelemetry tracing, caching mechanisms (LRU, TTL, ExpireCache), retry utilities, HTTP request signing, gRPC connection pooling, and MX record resolution. Designed as drop-in replacements for standard library components with enhanced functionality, it focuses on solving common infrastructure challenges in microservices architectures. The library maintains a clear separation of concerns with each package addressing a specific cross-cutting concern.

RATING: 7.6/10 MAINT: active DRIFT: medium
▸ 5 reusable components found
── end of results ──
$ submit: