29 个仓库
Tools that analyze data models to produce formal schema definitions for validation.
Distinct from Configuration Schema Generators: Existing candidates focus on configuration schemas or LLM-driven generation rather than general model-to-schema analysis.
Explore 29 awesome GitHub repositories matching data & databases · Schema Generators. Refine with filters or upvote what's useful.
Blitz 是一个用于 Next.js 的全栈开发框架扩展,以及一个用于引导项目结构和编排本地开发服务器的命令行界面。它将前端和后端逻辑集成到一个工作流中,以促进完整 Web 应用程序的创建。 该框架采用零 API 后端集成和直接数据库访问层,允许前端组件连接到无服务器函数和数据库,而无需手动定义 API。它具有一个模式驱动的类型生成器,通过分析后端数据库模式自动创建 TypeScript 定义,以同步客户端和服务器之间的数据模型。 该项目提供用于快速应用程序原型设计和 TypeScript 全栈工作流的工具。其能力涵盖多进程服务器编排和生成结构化项目模板,以集成前端和后端开发模式。
Automatically generates TypeScript definitions based on backend database schemas.
This project is a markdown knowledge base used to maintain a curated collection of concise technical notes and write-ups across various programming languages and tools. It serves as a searchable personal reference library for documenting technical discoveries and software development patterns. The system implements a learning in public workflow, transforming markdown-based content storage into a static site. It utilizes directory-based routing to map folder structures to URL paths and employs schema-driven type generation to ensure data consistency across the knowledge base. The codebase cov
Generates TypeScript definitions from content schemas to ensure data consistency across the knowledge base.
EmDash is an open-source content management system built on Astro that combines a visual admin panel with a plugin-driven architecture and server-side rendering. It provides a complete content management system with structured content modeling, a rich text editor using Portable Text format, and a TypeScript API for type-safe content queries. The system supports authentication through passkeys, OAuth 2.1, and external providers, with role-based access control and fine-grained permission scopes. What distinguishes EmDash is its plugin development framework, which supports both native plugins ru
Produces TypeScript types from the content schema for full type safety and autocomplete.
Doctrine ORM is a PHP object-relational mapper that connects application objects to relational database tables. It uses the data mapper and identity map patterns to decouple the in-memory object model from the database schema, allowing developers to manage data persistence without writing manual SQL. The project features a dedicated object-oriented query language and programmatic builder for retrieving data based on entities rather than tables. It implements a unit-of-work system to track object changes during a request and synchronize them via atomic transactions. The capability surface inc
Analyzes entity models and metadata to generate the corresponding relational database schema.
Jackson is a Java data binding framework and multi-format data serializer used to translate data structures into native language objects. It functions as a JSON data binding library and a streaming parser that reads and writes data as discrete tokens to process large datasets with minimal memory. The project distinguishes itself through a bytecode serialization accelerator that replaces standard reflection with generated bytecode to increase data binding speed. It employs a module-based extensibility model to support a wide range of formats beyond JSON, including XML, YAML, CSV, TOML, and bin
Produces external schema definitions by analyzing internal class structures and their associated markers.
atproto is a decentralized social networking protocol implementation and a schema-driven API framework. It provides the networking and data standards required to build interoperable social networks where users control their own identity and data through a personal data server specification. The project distinguishes itself through a DID-based identity system for managing cryptographic keys and verifiable profiles, alongside a lexicon-based protocol definition that uses versioned schemas to ensure consistency across network services. It utilizes Merkle Search Trees for verifiable data storage,
Produces type-safe validation and builder utilities from JSON schema files for TypeScript environments.
gRPC-Web is a JavaScript client library that enables browser applications to call gRPC services through an HTTP proxy, using Protocol Buffers for serialization. It provides a browser-based gRPC client that supports unary, server-streaming, and bidirectional streaming RPCs, along with a code generator that produces JavaScript and TypeScript client stubs from .proto service definitions. The library includes an interceptor framework for attaching cross-cutting logic like authentication and retries to client calls, and supports setting Unix timestamp deadlines on RPCs for server-side timeout enfo
Generate type definitions or full TypeScript output alongside the stub so editors provide type checking.
A polyglot web converter.
Translates Flow type annotations into equivalent TypeScript type definitions.
Rushstack 是一个用于管理大规模 TypeScript 单体仓库(monorepo)的综合工具集,为构建流水线自动化、依赖协调和静态分析提供了框架。它作为一个增量构建编排器和管理系统,旨在在共享工作区中的多个包之间保持一致性和性能。 该系统通过基于有向无环图和基于内容哈希的增量模型脱颖而出,确保仅重建受影响的项目。它通过与 S3、Azure 和 HTTP 集成的远程构建工件缓存进一步优化开发工作流,并利用基于符号链接的工作区管理来实现本地更改的即时可见性。 该工具集涵盖了广泛的功能,包括自动化发布工作流、API 合约分析以及通过标准化 Linting 配置文件强制执行企业代码质量。它还为资产打包、TypeScript 转译以及从 JSON 模式和静态资产生成类型定义提供了广泛支持。 其他实用领域包括本地化管理、许可证声明生成以及具有同步进程输出的命令行界面编排。
Generates TypeScript declaration files from JSON schemas to provide type safety for assets and configurations.
Hibernate ORM 是一个 Java 对象关系映射器,也是 Jakarta Persistence API 的完整实现。它作为 SQL 数据库抽象层,将 Java 对象模型转换为关系数据库模式,以管理数据持久化和生命周期。 该框架以其多租户数据隔离框架而著称,可在单个数据库实例中分离客户数据。它还具有数据库模式生成器,可根据实体映射自动生成和更新关系结构。 该系统涵盖了广泛的功能领域,包括事务管理、并发锁定控制以及用于审计日志的时间数据跟踪。它通过实体图策略提供数据获取优化工具,并支持向量数据和国家化字符等高级数据类型。 该项目包含一套全面的持久层测试工具,包括数据库方言过滤和规范合规性测试。
Analyzes entity metadata to produce DDL scripts that automatically align the database structure with the domain model.
Orval is an OpenAPI-to-TypeScript code generator that produces fully typed API clients, data-fetching hooks, mock data, validation schemas, and server handlers from OpenAPI or Swagger specifications. It reads any YAML or JSON API specification and generates TypeScript interfaces, HTTP request functions, and framework-specific integration code that ensures compile-time correctness for all API calls. The project distinguishes itself by generating production-ready data-fetching hooks for React Query, Vue Query, Svelte Query, Solid Query, Angular, and SWR, complete with automatic cache invalidati
Generates TypeScript interfaces and types from OpenAPI schemas for type-safe API interactions.
graphql-request is a lightweight, type-safe GraphQL client library for JavaScript that runs across browsers, Node.js, and other JavaScript environments. It provides a minimal HTTP client for sending queries and mutations, with a promise-based execution model that uses the native fetch API for cross-runtime compatibility without additional dependencies. The client supports reusable selection set composition at runtime, allowing fragments to be shared across multiple requests to reduce duplication. It includes a plugin-based extension system for adding custom middleware, tracing, or file upload
Generates fully typed TypeScript client methods from GraphQL schemas for compile-time validation.
Clean and simple starter repo using the T3 Stack along with Expo React Native
Generates Drizzle-compatible database schemas and migrations from Better Auth configuration.
GraphQL.NET 是一个用于在 C# 应用程序中构建和执行 GraphQL API 的服务端框架。它提供了一套全面的工具包,用于模式构建、分布式数据图的联合引擎,以及用于管理实时数据流的订阅处理器。 该项目的独特之处在于其灵活的模式构建器,支持程序化的代码优先定义和使用标准模式定义语言的声明式模式优先方法。它包括一个专门的联合引擎,用于将数据图拆分为子图并将其组合成统一的网关,以及一个专门设计用于通过批处理和缓存解决 N+1 查询问题的数据加载器实现。 该框架涵盖了广泛的操作功能,包括用于服务生命周期管理的依赖注入集成、用于字段解析拦截的中间件流水线,以及针对值类型优化以减少内存分配的执行流水线。它还提供用于查询复杂度分析、文档缓存和基于角色的访问控制的工具,以保护 API 端点。 对提前(AOT)模式编译的支持允许该框架在禁止动态代码生成的环境中执行。
Maps .NET classes to GraphQL types by interpreting attributes such as Name and OutputType on properties.
Tortoise ORM is an asynchronous object-relational mapper for Python that mirrors Django's model and queryset API while running on asyncio. It defines database tables as Python classes with typed fields and supports foreign key, many-to-many, and one-to-one relations, providing a chainable query API for filtering, annotating, grouping, and prefetching related objects without blocking the event loop. The ORM includes a built-in migration engine that detects model changes, generates migration files, and applies or reverts schema changes through a command-line tool. It connects to PostgreSQL, MyS
Creates database tables automatically from model definitions for development and prototyping.
TinyBase 是一个响应式数据存储和内存关系数据库,专为客户端状态持久化而设计。它作为一个本地优先(local-first)的同步引擎,使用无冲突复制数据类型(CRDT)和逻辑时钟合并分布式状态,以确保确定性的数据收敛。 该项目具有一个模式验证库,可将来自 Zod、Yup 和 TypeBox 等工具的外部定义转换为类型安全的存储定义。它为实时协作编辑提供了基础设施,利用与 Automerge、Yjs 和 PartyKit 的同步来维护跨多个客户端和服务器的一致状态。 能力范围包括具有表和外键的关系数据建模、类似 SQL 的查询和索引,以及用于分组变更的原子事务。它支持广泛的持久化适配器,包括浏览器存储、SQLite 和 Cloudflare Durable Objects。该系统还提供双向状态绑定和用于与 React、SolidJS 和 Svelte 集成的声明式组件。
Transforms schemas defined with the Effect library into a format compatible with the data store schema system.
react-native-config 是一个跨平台的移动端环境管理器和原生构建配置工具。它通过将特定于环境的设置与应用程序代码分离,实现了“十二要素应用”的配置原则。 该项目提供了一种在编译过程中将环境变量直接注入原生项目文件和构建设置的机制。它还作为一个类型安全的配置加载器,为环境变量生成 TypeScript 定义,以确保自动补全和安全性。 该工具通过根据活跃的构建目标或部署阶段从文件中加载特定变量来管理多环境配置。它将这些值从原生平台存储桥接到 JavaScript 运行时。
Produces TypeScript type definitions for environment variables to ensure autocompletion and type safety.
该项目是一个用于 Node.js 的 gRPC 框架,用于实现高性能远程过程调用。它提供了一个客户端-服务器通信库,利用 HTTP/2 进行流式传输、多路复用和二进制帧处理,并结合了用于定义结构化数据和生成服务存根的协议缓冲区(Protocol Buffers)实现。 该框架包含一个将协议缓冲区文件编译为特定语言对象的工具链,并支持生成静态 TypeScript 类型定义以在运行时验证对象。 该库涵盖了分布式系统网络和微服务通信,包括 SSL/TLS 加密、消息压缩和负载均衡。它通过截止日期、重试、连接恢复和调用取消来管理请求生命周期。其他功能包括双向数据流、用于程序化发现的服务反射以及标准化的健康检查服务。
Provides a utility to generate static TypeScript type definitions from protobuf files for runtime validation.
This project is a database version control system and schema evolution manager designed to track and apply incremental changes to database structures. It serves as a tool for versioning SQL database migrations using both programmatic PHP classes and SQL scripts. The system is designed specifically for integration with the Doctrine Object Relational Mapper for PHP, allowing database schemas to evolve incrementally without data loss through reversible migration steps. It covers capabilities for automated database migrations, environment synchronization, and schema versioning. These features fa
Designed to work specifically with the Doctrine ORM to generate and manage database schemas.
Scala.js 是一个编译器和跨平台语言工具链,将 Scala 源代码转换为 JavaScript 或 WebAssembly。它作为 JavaScript 生态系统的一种静态类型工具,支持为 Web 浏览器和 Node.js 环境开发应用程序。 该项目作为一个 JavaScript 互操作框架,允许创建类型安全的门面(facades)和绑定,以与外部库和全局对象进行交互。它提供了静态和动态 JavaScript 调用机制,包括生成 TypeScript 绑定以及导出内部逻辑以供外部 JavaScript 代码使用的能力。 该工具链包含一个用于生产环境打包和输出优化的前端构建工具,包括死代码消除和模块拆分。它涵盖了广泛的功能面,包括用于 UI 开发的 DOM 元素类型检查、用于全栈开发的跨平台代码共享,以及用于验证优化构建产物的各种测试框架。 编译后的脚本可以使用 JavaScript 解释器直接在命令行环境中执行。
Converts type definition files into facades to provide static typing for JavaScript libraries.