28 مستودعات
Tools that generate idiomatic Go source code from parsed OpenAPI specifications.
Distinct from OpenAPI Specification Parsers: Focuses on the generation of Go-specific source code rather than the general parsing of the specification.
Explore 28 awesome GitHub repositories matching software engineering & architecture · Go Code Generators. Refine with filters or upvote what's useful.
Protocol Buffers is a binary serialization framework used to encode structured information into compact payloads to reduce network bandwidth and storage. It functions as a cross-language data interchange standard that enables different platforms and languages to exchange structured data using a shared schema. The project includes an interface definition language compiler that transforms schema definitions into type-safe source code for multiple target programming languages. This mechanism decouples data structures from specific language memory layouts and ensures consistent data handling acro
Converts data definitions into source code for multiple programming languages to ensure consistent data handling.
go-swagger is a toolkit for working with Swagger/OpenAPI 2.0 specifications in Go. It generates server, client, and CLI code from a specification document, and can also produce a specification by scanning annotated Go source code. The project includes a static validation engine that checks documents against the schema and project-specific rules, and a specification transformation pipeline that resolves, flattens, and merges documents. The toolkit generates both client and server code from the same specification, ensuring consistency in request and response handling. It also produces a command
Generates Go server, client, and CLI code from Swagger/OpenAPI 2.0 specification documents.
oapi-codegen is an OpenAPI specification compiler and code generator for Go. It transforms OpenAPI definitions into type-safe Go client libraries, server boilerplate, and data models to facilitate contract-first API development. The tool distinguishes itself through a flexible customization system that allows users to override generated types and imports via specification extensions. It supports the use of custom text templates to redefine the final source code structure and provides a specification overlay mechanism to modify or remove endpoints without altering the original source file. Th
Compiles OpenAPI specifications into type-safe Go client libraries and server boilerplate.
LaVague is an LLM web agent framework and large action model designed to translate natural language instructions into executable browser automation scripts. It functions as a multi-modal orchestrator that reasons over web page states and HTML content to automate multi-step tasks via a Selenium-based automation engine. The framework features a modular model provider layer, allowing users to swap between different language and vision models from providers such as Anthropic, Gemini, and Azure OpenAI. It employs a multi-modal world model to process screenshots and HTML structures, utilizing retri
Transforms test specifications into executable code for web applications without requiring manual CSS or XPath selectors.
CUE is a constraint-based configuration language designed for data validation, schema definition, and code generation. At its core, it unifies types and values into a single concept, enabling compile-time validation that catches structural and value errors before runtime. The language treats data and constraints as the same thing, allowing a single definition to serve as both a schema and concrete configuration data. CUE distinguishes itself through its constraint-based unification engine, which combines multiple configuration sources into a single coherent result by merging their constraints
Generates Go code, Protobuf definitions, and OpenAPI specs from CUE schemas.
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
Reads OpenAPI or Swagger specifications and produces TypeScript API clients, hooks, and mocks.
Tailwind Starter Kit is a copy-paste UI component library built with Tailwind CSS, designed to accelerate front-end development by providing pre-built, reusable interface blocks that can be inserted directly into any project without package managers or build tools. It delivers identical UI components as native code for React, Vue, Angular, and plain HTML, making it a framework-agnostic resource for assembling responsive layouts. The kit structures its UI blocks as plain Tailwind markup that AI code generators can parse and reproduce from natural-language descriptions, making it compatible wit
Generates framework-specific component code from a single source of Tailwind utility classes and HTML structure.
Material Kit is an open-source UI component library that provides pre-styled Material Design elements for building responsive web interfaces with Bootstrap 5. It offers a collection of reusable components like buttons, inputs, navbars, cards, and modals that follow Google's Material Design guidelines, along with a 12-column flexbox grid system for fluid layouts that adapt to any screen size. The kit distinguishes itself by including pre-built page sections such as headers, feature blocks, pricing tables, and footers that can be combined into complete page layouts, reducing the time needed to
Generates framework-specific component code from a single Material Design source for multiple frameworks.
Gorgonia is a Go library that provides an automatic differentiation engine and a computation graph framework for building and training neural networks. It functions as a CUDA-accelerated tensor library and a SIMD-optimized math library, enabling machine learning workflows entirely within the Go ecosystem. The library distinguishes itself through a dual-backend architecture that dispatches neural network operations to either a GPU or CPU depending on CUDA availability at runtime. It constructs differentiable directed acyclic graphs of tensor operations, supports reverse-mode automatic gradient
Generates hardware-specific CUDA kernel source files and Go bindings for GPU acceleration.
Lamp Cloud is a multi-tenant SaaS backend framework built on Java and Spring Cloud that provides a complete foundation for building enterprise-grade administration systems. Its core identity centers on supporting multiple tenant isolation strategies—including database-per-tenant, schema-per-tenant, and shared-table modes—that can be switched without altering business code, alongside a role-based access control system enforced at the gateway layer across all microservices. The framework distinguishes itself through comprehensive tenant lifecycle management tools that allow creating, configurin
Generates controller, service, mapper, and frontend files from database tables to accelerate CRUD development.
seL4 is a formally verified microkernel whose C implementation is backed by machine-checked mathematical proofs of correctness, confidentiality, integrity, and availability. It enforces strict isolation between processes through hardware-enforced address space separation and a capability-based access control system, where each process holds explicit rights only to the resources it has been granted. The kernel exposes hardware resources through a minimal API of system calls that manage threads, address spaces, and inter-process communication, with synchronous IPC supporting sender-identifying b
Generates C bitfield types with accessor functions from declarative bit-level specifications.
The Azure SDK for Python is a collection of libraries that enables programmatic management of Azure cloud resources and services directly from Python code. It provides a credential-based authentication pipeline for secure access, along with an async-first client design that supports concurrent I/O operations without blocking the event loop. The SDK is built on AutoRest-generated client code from OpenAPI specifications, offering both synchronous and asynchronous service clients. It includes a long-running operation poller abstraction for managing operations that require status checks and retry
Generates Python client libraries from OpenAPI specifications using AutoRest code generation.
MyBatis Generator هي أداة تفحص جداول قاعدة البيانات لإنتاج كائنات النموذج، وواجهات mapper، وملفات تكوين SQL تلقائياً. تعمل كأداة تعيين مخطط قاعدة البيانات ومولد عمليات CRUD، حيث تترجم أعمدة قاعدة البيانات العلائقية إلى فئات وسجلات خاصة باللغة. المشروع عبارة عن مولد كود قابل للتوسيع يسمح بتخصيص ملفات المخرجات من خلال آلية إضافات. يتيح إطار العمل هذا إضافة منطق عمل محدد أو تعديل عملية التوليد لإنتاج ملفات مخرجات مصممة خصيصاً. يغطي المولد مجموعة واسعة من القدرات، بما في ذلك تنفيذ الاستعلامات الديناميكية، وإنشاء نماذج غير قابلة للتغيير، وأتمتة عمليات الإنشاء والقراءة والتحديث والحذف القياسية. يدعم تعيين مخطط قاعدة البيانات مع مفاتيح أساسية افتراضية ويمكنه إنشاء كود للغات متعددة، بما في ذلك Kotlin. يمكن تنفيذ عملية التوليد عبر أدوات سطر الأوامر، أو استدعاءات الوظائف المباشرة، أو كإضافة أداة بناء مدمجة في خطوط أنابيب التكامل المستمر.
Produces source files and XML configurations by inspecting database table metadata and column definitions.
Blog.Core هو نموذج أساسي جاهز للإنتاج لبناء واجهات برمجة تطبيقات للمؤسسات وخدمات مصغرة باستخدام ASP.NET Core. يوفر بنية تحتية أساسية للأنظمة الموزعة، بما في ذلك أدوات لإنشاء السقالات (scaffolding) لقاعدة البيانات أولاً وتنفيذ أطر عمل واجهة برمجة تطبيقات متعددة المستأجرين. يتميز المشروع بإنشاء طبقة بيانات آلية، والتي تنتج نماذج الكيانات وطبقات المستودع مباشرة من مخططات قاعدة البيانات. وينفذ نظام إدارة هوية مركزي باستخدام بروتوكولات خادم الهوية القياسية للتعامل مع المصادقة والترخيص عبر عملاء ومشاريع متعددة. يغطي إطار العمل مجموعة واسعة من إمكانيات المؤسسات، بما في ذلك معالجة الرسائل غير المتزامنة عبر ناقلات الأحداث، وذاكرة التخزين المؤقت الموزعة، وتقسيم حركة مرور قاعدة البيانات للقراءة والكتابة. ويدمج التحكم في الوصول القائم على الأدوار مع قيود بيانات الأقسام ويوفر مراقبة النظام من خلال تحليل أداء واجهة البرمجة وتدقيق النشاط. يتضمن النظام أيضًا دعمًا للاتصال ثنائي الاتجاه بين الخادم والعميل لإشعارات الدفع، وتكامل البحث بالنص الكامل، وإعداد الخدمة المركزي.
Automatically generates entity models and API controllers by scanning database schemas using predefined templates.
LoopBack Next هو إطار عمل API لـ Node.js يستخدم لبناء واجهات برمجة تطبيقات REST ومتعددة البروتوكولات. يعمل كتنفيذ لخادم OpenAPI يمكنه إما إنشاء مواصفات قابلة للقراءة آلياً من الكود أو إنتاج وحدات تحكم ونماذج تنفيذ من مواصفات موجودة. يتميز إطار العمل بحاوية حقن تبعية مركزية وطبقة وصول للبيانات تعتمد على نمط المستودع (repository pattern). تفصل هذه البنية منطق التطبيق عن بناء المكونات والتخزين الدائم، مما يسمح بنظام قابل للتوصيل حيث يتم عزل مصادر البيانات ومنطق الأعمال من خلال نظام موصل موحد. يغطي المشروع مجموعة واسعة من الإمكانات بما في ذلك التحكم في الوصول القائم على الأدوار مع استراتيجيات مصادقة قابلة للتوصيل وتنسيق خدمات REST و SOAP الخارجية. كما يوفر أدوات للاتصال في الوقت الفعلي عبر نقاط نهاية WebSocket، والتحقق من صحة مخطط JSON، وسقالات المشروع الآلية من خلال واجهة سطر أوامر. يتم دعم التطوير من خلال مجموعة من أدوات CLI لبدء التطبيقات، وإنشاء مكونات API، وإدارة تبعيات المشروع.
Enables automatic generation of OpenAPI specifications from code and the production of controllers from existing specifications.
Prototool هي مجموعة أدوات تطوير لـ Protocol Buffers توفر مجموعة من الأدوات للتدقيق (Linting)، والتنسيق، وتوليد الكود من ملفات المخطط. تعمل كنظام لإدارة دورة حياة تعريفات Protocol Buffer من خلال واجهة سطر أوامر. تتميز مجموعة الأدوات بتوفير كاشف للتغييرات الكاسرة (Breaking change detector) يقارن بين إصدارات مختلفة من التعريفات لتحديد التغييرات غير المتوافقة مع السلك أو المصدر. كما تتضمن واجهة عميل gRPC قادرة على استدعاء نقاط النهاية باستخدام طلبات JSON عن طريق تجميع تعريفات Protobuf ديناميكياً. يغطي المشروع مجالات قدرات واسعة بما في ذلك التحقق من المخطط وفرض الأسلوب، وتوليد stub الكود الخاص باللغة، وإدارة ثنائيات المترجم الآلية. كما يوفر أدوات لتصدير مجموعة واصف الملفات وتوليد ملفات المخطط مع boilerplate آلي.
Transforms schema definitions into source code for various languages using managed compiler versions.
JSONExport هو مولد كود متعدد اللغات ومحول مخطط JSON يحول هياكل بيانات JSON إلى فئات كود مصدري ذات أنواع قوية. يعمل كمخطط استجابة API، ويحول كائنات JSON إلى كائنات نقل بيانات لأتمتة إنشاء فئات النماذج. تتخصص الأداة في تركيب النماذج متعددة اللغات، مما يسمح للمستخدمين بتعريف نماذج البيانات عبر لغات برمجة مختلفة باستخدام إدخال JSON واحد. وتولد كود الفئات المكرر (Boilerplate)، بما في ذلك المنشئات والمصلحات، وتوفر خط أنابيب معاينة لمراجعة الكود المصدري الناتج قبل حفظه. يغطي المشروع تنفيذ نموذج البيانات وإنشاء كود Boilerplate من خلال نهج قائم على القوالب يربط أنواع بيانات JSON بتركيب لغوي محدد.
Automates the creation of DTOs and class definitions across multiple target languages from a single JSON source.
AITemplate is an ahead-of-time deep learning compiler that translates PyTorch neural networks into standalone C++ source code. It functions as a PyTorch to C++ compiler and a GPU kernel fusion engine, producing self-contained executable binaries that run inference without requiring a Python interpreter or deep learning framework runtime. The project generates optimized CUDA and HIP C++ code specifically for NVIDIA TensorCores and AMD MatrixCores. It focuses on maximizing throughput for half-precision floating-point operations through a system that combines multiple neural network operators in
Generates optimized CUDA and HIP C++ code specifically tailored for NVIDIA TensorCores and AMD MatrixCores.
Kaitai Struct هو إطار عمل لمواصفات ثنائية تصريحية يوفر توليداً مؤتمتاً للمحلل والمُسلسل عبر لغات برمجة متعددة. يستخدم لغة محمولة خاصة بالمجال لوصف تخطيط الملفات الثنائية وحزم الشبكة، محولاً هذه المواصفات إلى كود مصدر لقراءة وكتابة البيانات الثنائية. يمكن النظام من معالجة البيانات عبر اللغات عن طريق ترجمة تعريف هيكلي واحد إلى كود مصدر أصلي للغات بما في ذلك C++ و C# و Go و Java و JavaScript و Python و Rust. يسمح هذا النهج بتنفيذ نفس مواصفات البيانات الثنائية عبر منصات مختلفة دون إعادة كتابة منطق التحليل يدوياً. يغطي إطار العمل نمذجة ومعالجة البيانات الثنائية، بما في ذلك القدرة على إدارة مؤشرات القراءة للتنقل في الإزاحة وتطبيق تحويلات البيانات مثل فك الضغط وفك التشفير. كما يوفر أدوات لتصحيح أخطاء مواصفات التنسيق للتحقق من التعيين بين تخطيطات البيانات الثنائية وأوصافها التصريحية.
Generates native source code for multiple target languages from a single structural binary specification.
Luban is a game configuration toolchain designed to convert spreadsheet-based data into optimized binary formats and type-safe source code for multiple languages. It functions as a comprehensive suite for configuration validation, data serialization pipelines, and code generation to ensure data consistency across different platforms. The system features a multi-language code generator that produces strongly-typed data classes from schemas, eliminating the need for reflection. It includes a localization manager for exporting translated text and assets with locale-specific patching, and a seria
Generates source code for a variety of target languages from a single configuration specification.