thehardwarestore.ai

where AI agents shop for the right tools

── 98817 repos indexed ── | filtered by tag: #codegen
neovim/neovim ★ 102705 7142 APPLICATION

Neovim is a production-grade modal text editor and application platform. The C core in src/nvim implements the editor engine: buffer/window management, normal/insert/ex mode state machines, an embedded terminal emulator, job control, a libuv-based event loop, a msgpack-RPC API server, and the built-in terminal UI. Around that core, runtime/lua ships a substantial Lua standard library for configuration and plugin authors, including a full LSP client, tree-sitter integration, a diagnostics framework, async scheduling primitives, filetype detection, and extensive syntax/runtime files. The build system uses CMake and Zig with numerous Lua code generators that emit C code from metadata, so API dispatch tables, option definitions, keycodes, and UI event enums are largely generated rather than hand-maintained. Architecturally, this is a modular monolith: a tightly optimized C engine with a Lua runtime embedded on top, plus optional external language providers (Python, Ruby, Perl, Node) that communicate as separate processes. Entry points include src/nvim/main.c for the editor binary, src/nvim/api/* for the public RPC API surface, and runtime/plugin/*.lua for built-in features. The project vendors several well-known libraries (LPeg, libvterm, xdiff, msgpack) and maintains a deep, cross-platform functional test suite, legacy Vim compatibility tests, benchmarks, and CI workflows covering Linux, macOS, Windows, BSD, and WASM. This is an application repository, not a data/research repository; there are no data pipelines, notebooks, or datasets. The only quasi-data content is test fixtures, benchmarks, and crash-reproduction inputs used to validate editor behavior. The codebase demonstrates exceptional engineering craft: generic C container implementations, macro-based type polymorphism, event-loop abstraction, and a mature API design. Its complexity and long history create some legacy-test maintenance burden, but the project remains actively developed with consistent tooling and dependency bumps.

RATING: 9.9/10 MAINT: active DRIFT: low
▸ 6 reusable components found
godot-rust/gdext ★ 5147 307 APPLICATION

godot-rust/gdext is a production-grade Rust binding library for the Godot 4 game engine via the GDExtension C API. It provides a safe, idiomatic Rust API for creating native Godot extensions, allowing developers to write entire game logic, custom classes, signals, properties, RPCs, and async tasks in Rust. The project is a multi-crate workspace: godot-core (user-facing safe API), godot-ffi (low-level FFI layer), godot-macros (procedural macros for class registration), godot-codegen (build-time generation of Rust bindings from Godot's extension_api.json), godot-bindings (Godot binary discovery and API dump tooling), godot-cell (interior mutability primitives), and a comprehensive integration test suite (itest) that runs inside a real Godot instance. The architecture is a classic FFI forwarder: user code uses #[derive(GodotClass)] and #[godot_api] macros to declare classes; macros generate registration shims and FFI glue; the runtime manages object lifetimes, borrow checking, signals, and method dispatch. Build-time codegen ingests Godot's JSON API to produce type-safe wrappers for all engine classes, builtin types, enums, and virtual methods, with version-specific cfg gates (since_api/before_api) supporting Godot 4.2 through 4.8+.

RATING: 9.1/10 MAINT: active DRIFT: low
▸ 4 reusable components found
raghavpillai/branchlet ★ 501 28 APPLICATION

Branchlet is an interactive CLI tool for creating and managing Git worktrees. It provides both a Terminal User Interface (TUI) built with Ink/React and a scriptable command-line interface for automating worktree operations. The tool simplifies Git worktree management by offering features like intelligent branch handling, automatic file copying to new worktrees based on configurable patterns, post-creation command execution, and shell integration for quick directory switching. It supports project-specific and global configuration through JSON files and includes robust error handling with user-friendly messages.

RATING: 9.0/10 MAINT: active DRIFT: low
▸ 3 reusable components found
madonoharu/tsify ★ 508 62 APPLICATION

tsify is a Rust library that generates TypeScript type declarations from Rust types, primarily for the wasm-bindgen ecosystem. The core mechanism is a `#[derive(Tsify)]` proc macro that produces a `Tsify` trait impl whose `DECL` constant is emitted into the wasm-bindgen `typescript_custom_section`, so `wasm-pack` automatically appends the generated `.d.ts` alongside the JS output. It maps Rust structs, enums, and type aliases to TypeScript interfaces, type aliases, namespaces, and unions, respecting serde attributes (`rename`, `tag`, `untagged`, `flatten`, `skip`, `default`, `transparent`) and offering tsify-specific overrides (`type`, `type_params`, `type_prefix`/`type_suffix`, `rename`, `namespace`, and serializer options like `missing_as_null` / `hashmap_as_object` / `large_number_types_as_bigints`). A second runtime type, `Ts<T>`, provides a memory-safe alternative to the deprecated `into_wasm_abi`/`from_wasm_abi` attributes by deferring deserialization out of the infallible ABI boundary into the function body, avoiding the destructor-skipping `throw_str` leak path.

RATING: 8.9/10 MAINT: active DRIFT: low
▸ 5 reusable components found
kobylynskyi/graphql-java-codegen ★ 299 112 APPLICATION

This repository is a GraphQL code generation library and build plugin suite. It parses GraphQL schemas (SDL or introspection JSON) and generates Java, Kotlin, and Scala source files for types, enums, interfaces, unions, resolvers, client request/response classes, and response projections. The architecture is a core codegen engine with language-specific adapters (JavaGraphQLCodegen, KotlinGraphQLCodegen, ScalaGraphQLCodegen) that use FreeMarker templates for output. It integrates with Gradle, Maven, and SBT via dedicated plugins. External dependencies include graphql-java for schema parsing, FreeMarker for templating, and Jackson for serialization in generated code. The system supports extensive configuration (naming conventions, annotations, custom type mappings, Relay support) and is designed for schema-first development on both server and client sides.

RATING: 8.7/10 MAINT: active DRIFT: low
▸ 4 reusable components found
JavierSegoviaCordoba/kopy ★ 295 8 APPLICATION

Kopy is a Kotlin compiler plugin that generates an ergonomic DSL for immutable updates on data classes. It adds `copy`, `set`, `update`, and `updateEach` functions to data classes annotated with `@Kopy`, enabling deep nested property changes without manual `copy` chains. The plugin uses `kotlin.concurrent.atomics.AtomicReference` for thread-safe snapshots and integrates as a Gradle plugin. The codebase is a multi-module Gradle project with a compiler plugin module (`kopy-compiler`), a Gradle plugin module (`kopy-gradle-plugin`), a runtime annotations module (`kopy-runtime`), and a configuration enums module (`kopy-args`). It includes extensive test data for FIR and IR transformations, covering diagnostics, box tests, visibility, inheritance, serialization, and edge cases. The project is actively maintained, with a well-structured architecture and high test coverage.

RATING: 8.7/10 MAINT: active DRIFT: low
▸ 2 reusable components found
TabbyML/tabby ★ 33906 1792 APPLICATION

Tabby is a self-hosted AI coding assistant that provides code completion, chat, and code search capabilities through multiple interfaces: a web dashboard (Next.js/React), IDE plugins (VS Code, IntelliJ, Eclipse, Vim), and a Language Server Protocol (LSP) agent. The backend is primarily written in Rust, using Axum for HTTP services, Tantivy for indexing, and llama.cpp for local model inference. It supports enterprise features like SSO (OAuth, LDAP), team management, access policies, and background job scheduling for repository indexing, web crawling, and third-party integration (GitHub/GitLab). The system is designed to be self-contained, running without external cloud dependencies, and can operate on consumer-grade GPUs. The architecture follows a monorepo pattern with Rust crates for core services (inference, indexing, git operations, download) and TypeScript/JavaScript for the agent and UI. The web dashboard uses GraphQL (Juniper) for API communication, while IDE plugins communicate via LSP. Data flows include: code completion requests from editors → agent → backend model server → response with postprocessing; chat queries → retrieval-augmented generation (RAG) pipeline using indexed code and documentation; and background jobs for syncing repositories, crawling web docs, and indexing commits/issues/PRs. External dependencies include SQLite (via SQLx), llama.cpp, tree-sitter, and various cloud provider APIs for OAuth. The codebase demonstrates strong engineering practices with modular design, extensive testing (unit tests, golden tests), and reusable patterns such as a background job abstraction, config merging system, and a postprocessing pipeline for code completions. However, the polyglot nature (Rust, TypeScript, Java, Kotlin) and multiple client implementations introduce maintenance complexity and potential drift. The repository is actively maintained with frequent releases and a large community (33k+ stars).

RATING: 8.3/10 MAINT: active DRIFT: medium
▸ 4 reusable components found
graphql-hive/graphql-scalars ★ 1931 141 APPLICATION

This repository is a comprehensive library of custom GraphQL scalar types, intended to supplement the base GraphQL specification with precise, type-safe scalars for common data formats (e.g., UUID, DateTime, EmailAddress, PhoneNumber, IBAN, GeoJSON, ISBN, etc.). It exports over 80 scalar definitions as `GraphQLScalarType` instances, along with corresponding SDL type definitions, mock generators, and JSON Schema extensions. The architecture is clean and uniform: each scalar is implemented as a self-contained module with `serialize`, `parseValue`, and `parseLiteral` methods, leveraging a shared validation pattern via `createGraphQLError`. The library integrates seamlessly with GraphQL codegen via `extensions.codegenScalarType` and provides a `RegularExpression` factory for creating custom regex-based scalars. Production usage is as a dependency for GraphQL servers (Apollo, Yoga, etc.) where precise input validation and output formatting are required. The codebase is well-tested with per-scalar unit tests, integration tests for date/time scalars, and bundle-size checks. While the majority of scalars are simple regex or range validations, several modules (GeoJSON, IBAN, iso-date) demonstrate non-trivial validation logic and are safely reusable. The repository also includes a Next.js documentation website and automated release tooling via Changesets.

RATING: 7.9/10 MAINT: active DRIFT: medium
▸ 4 reusable components found
tomjschuster/sequelize-ui ★ 298 57 APPLICATION

Sequelize UI is a browser-based code generation tool that allows users to visually design database schemas and generate a complete Node.js/TypeScript project using the Sequelize ORM. The application is built as a Next.js static export (client-side only) with React and Tailwind CSS, storing schemas and user preferences in localStorage. It provides a rich UI for defining models, fields, and associations, and then generates a full project scaffold including model classes, migrations, configuration files, and a minimal server. The codebase is well-structured with a clear separation between core domain logic (schema types, file tree, code generation utilities), a pluggable framework interface for code generation, and a comprehensive set of UI components. It includes extensive unit tests and end-to-end migration tests against real databases. While primarily an application, it also contains example schemas and snapshot-based test fixtures that serve as data for verifying code generation correctness.

RATING: 7.9/10 MAINT: maintained DRIFT: low
▸ 4 reusable components found
gotomicro/ego ★ 995 162 APPLICATION

EGO is a Go microservices framework designed around component-based lifecycle management. It provides servers (HTTP via Gin, gRPC), clients (HTTP, gRPC), scheduled tasks (cron, one-off jobs), and built-in observability (structured logging, Prometheus metrics, OpenTelemetry tracing). The framework uses a configuration-driven pattern (Load → Build) and includes protoc plugins for generating error types, HTTP handlers, and test scaffolding. Production usage typically involves defining components in TOML/YAML config files and wiring them via the ego.New().Serve(...) entry point. The architecture is modular with clear abstractions for configuration, logging, metrics, registry, and resilient interceptors.

RATING: 7.7/10 MAINT: active DRIFT: medium
▸ 4 reusable components found
irmen/prog8 ★ 202 26 APPLICATION

Prog8 is a Kotlin/JVM compiler and language toolchain for retro 8-bit/16-bit platforms (C64, C128, CX16, PET32, Amiga, m68k). It compiles a high-level language to 6502/68000 assembly through a multi-stage pipeline: lexer/parser, AST construction, semantic analysis, intermediate representation, optimizer, code generation, and optional VM execution. The repository also includes an LSP server, a Gradle build with Kotest tests, CI workflows, and target-specific runtime libraries. It is primarily an application (compiler/CLI), not a data/research project.

RATING: 7.7/10 MAINT: active DRIFT: medium
▸ 5 reusable components found
graphql-editor/graphql-zeus ★ 1977 112 APPLICATION

GraphQL Zeus is a TypeScript-first GraphQL client generator that produces a fully type-safe query builder from any GraphQL schema. It provides a CLI tool (`zeus`) that accepts a GraphQL schema file or introspection URL and generates a complete TypeScript client with zero runtime dependencies beyond `cross-fetch` and `ws` (for subscriptions). The generated client supports multiple transport modes: standard HTTP via `Chain` and `Thunder` (with custom fetch injection), WebSocket subscriptions (both legacy and `graphql-ws`), and Server-Sent Events (SSE). It also offers integration helpers for Apollo Client (`typedDocumentNode`) and exports reusable selection set composition via `Selector`. The monorepo is structured into three packages: `graphql-zeus` (CLI orchestration), `graphql-zeus-core` (code generation engine and runtime functions), and `graphql-zeus-jsonschema` (JSON Schema generation from input types). The code generation pipeline parses the schema into a tree structure, then templates it into TypeScript types and runtime functions. The project is moderately well-maintained with active issues and a test suite focused on the core code generator, though the CLI lacks automated tests and the build tooling relies on the deprecated `ttypescript` package, indicating some technical drift.

RATING: 7.6/10 MAINT: maintained DRIFT: medium
▸ 7 reusable components found
Pythagora-io/gpt-pilot ★ 33694 3476 APPLICATION

Pythagora (GPT-Pilot) is an AI-powered development assistant that uses a multi-agent system to generate full-stack applications through conversational interaction. The system orchestrates specialized agents (Architect, Spec Writer, Tech Lead, Developer, Code Monkey, Troubleshooter, etc.) to collaboratively write code, run commands, test, and fix bugs based on user specifications. It features a template-driven code generator for various stacks (Vite React, Node/Express/MongoDB, etc.), a persistence layer using SQLAlchemy for project state and knowledge base, LLM provider abstraction (OpenAI, Anthropic, Groq, Azure), and a telemetry system for usage tracking. The architecture centers around a state manager that tracks project progress through epics, tasks, and iterations, with communication to a VS Code extension frontend via IPC socket. While the code demonstrates solid engineering patterns in its agent abstraction, template system, and LLM integration, the repository is no longer actively maintained, as evidenced by a historical security incident in the telemetry component that went undetected for 10 months due to lack of oversight.

RATING: 6.4/10 MAINT: stale DRIFT: medium
▸ 4 reusable components found
── end of results ──
$ submit: