awesome-repositories.com
Blog
MCP
awesome-repositories.com

Descoperă cele mai bune repository-uri open source cu căutare AI.

ExploreazăCăutări recomandateAlternative open-sourceSoftware self-hostedBlogHartă site
ProiectServer MCPDespreCum realizăm clasamentulPresă
LegalConfidențialitateTermeni
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

7 repository-uri

Awesome GitHub RepositoriesTemplate-Based Code Customizers

Overriding default code generation templates and injecting vendor extensions to tailor output.

Distinct from Code Generators: Distinct from Code Generators: focuses on customizing the generation process via templates and extensions, not just generating code from definitions.

Explore 7 awesome GitHub repositories matching data & databases · Template-Based Code Customizers. Refine with filters or upvote what's useful.

Awesome Template-Based Code Customizers GitHub Repositories

Găsește cele mai bune repo-uri cu AI.Vom căuta cele mai potrivite repository-uri folosind AI.
  • go-swagger/go-swaggerAvatar go-swagger

    go-swagger/go-swagger

    9,989Vezi pe GitHub↗

    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

    Allows overriding default templates and injecting vendor extensions to customize generated code.

    Goapicode-generatorgo
    Vezi pe GitHub↗9,989
  • vektra/mockeryAvatar vektra

    vektra/mockery

    7,141Vezi pe GitHub↗

    Mockery is a code generation tool that produces mock implementations from Go interfaces, designed to simplify unit testing by automating the creation of test doubles. It parses Go source files using abstract syntax tree analysis to extract interface method signatures, then generates complete mock struct types that implement those interfaces with configurable function fields for test injection. The tool distinguishes itself through its configuration and customization capabilities. Rather than embedding directives in source code annotations, Mockery reads generation settings from a YAML configu

    Uses custom templates and template data to control the structure and behavior of generated mocks.

    Gogenerationgeneratorgo
    Vezi pe GitHub↗7,141
  • aarondl/sqlboilerAvatar aarondl

    aarondl/sqlboiler

    6,989Vezi pe GitHub↗

    sqlboiler is a database-first ORM generator for Go that analyzes an existing database schema to produce strongly typed structures and query helpers. It functions as a schema-driven code generator, transforming database tables and relationships into executable Go source code. The project distinguishes itself through a type-safe query builder that uses chainable modifiers to construct SQL statements, eliminating the need for raw string concatenation. It utilizes customizable text templates to generate source code, allowing for the aliasing of schema entities and the creation of custom templates

    Allows overriding base templates and applying column filters to control the structure of generated output.

    Godatabasegogolang
    Vezi pe GitHub↗6,989
  • cweill/gotestsAvatar cweill

    cweill/gotests

    5,315Vezi pe GitHub↗

    gotests este un instrument de analiză statică și generator de boilerplate pentru Go, care creează automat suite de teste structurate din codul sursă. Funcționează ca un framework de testare bazat pe tabele (table-driven), gestionând rezoluția tipurilor pentru funcții și metode, inclusiv maparea constrângerilor de tipuri generice către tipuri de implementare concrete. Instrumentul se integrează cu modele de limbaj mari (LLM) pentru a sintetiza valori de intrare realiste și cazuri limită (edge cases) bazate pe logica funcției. Utilizează un sistem de generare bazat pe template-uri, permițând personalizarea structurii și formatului codului de test rezultat prin template-uri și parametri externi. Proiectul oferă utilitare CLI pentru scanarea recursivă a pachetelor și procesarea arborelui de directoare. Include mecanisme de control al scope-ului pentru a filtra selecția funcțiilor folosind expresii regulate și modificatori de vizibilitate.

    Provides mechanisms to modify the structure and format of generated test code using custom templates.

    Gocode-generatorcommandlinego
    Vezi pe GitHub↗5,315
  • knq/xoAvatar knq

    knq/xo

    3,890Vezi pe GitHub↗

    xo este un instrument pentru generarea de modele Go type-safe și cod de execuție a interogărilor din schemele și interogările bazelor de date SQL. Funcționează ca un instrument SQL multi-dialect care suportă PostgreSQL, MySQL, SQLite, Oracle și Microsoft SQL Server pentru a produce cod sursă idiomatic. Proiectul utilizează un sistem de generare bazat pe template-uri, permițând structurii și logicii codului sursă al bazei de date generate să fie definite prin template-uri text personalizabile. Include, de asemenea, un vizualizator de schemă de bază de date care analizează relațiile și definițiile tabelelor pentru a crea diagrame vizuale și documentație structurată. Capabilitățile instrumentului acoperă generarea automată de cod SQL și crearea de modele de baze de date specializate. Oferă utilitare pentru maparea interogărilor SQL personalizate la funcții Go și generarea de scripturi de schemă pentru a documenta migrarea bazelor de date.

    Supports the use of text templates to modify the structure and logic of generated code.

    Go
    Vezi pe GitHub↗3,890
  • xo/dbtplAvatar xo

    xo/dbtpl

    3,892Vezi pe GitHub↗

    dbtpl este un generator de modele de bază de date și un introspector de schemă care produce cod sursă type-safe și modele de date din schemele bazelor de date SQL. Funcționează ca un instrument de linie de comandă care mapează tipurile SQL la structuri Go și funcții de execuție, oferind în același timp un sistem bazat pe template-uri pentru crearea de cod sursă personalizat și definiții de schemă. Instrumentul suportă mai multe motoare de baze de date, inclusiv PostgreSQL, MySQL, SQLite, Oracle și SQL Server. Se distinge prin faptul că permite utilizatorilor să definească formate de output personalizate prin template-uri text și prin capacitatea de a genera definiții de model compatibile pentru framework-ul web Django. Capabilitățile sale se extind la producerea de scripturi SQL pentru migrarea și oglindirea bazelor de date, precum și la exportul reprezentărilor de schemă în formate JSON sau YAML. În plus, poate genera fișiere dot pentru a vizualiza relațiile dintre bazele de date și diagramele structurale.

    The tool allows defining custom output formats by authoring or modifying base templates to match specific organizational requirements.

    Gocode-generatorgolangmicrosoft-sql-server
    Vezi pe GitHub↗3,892
  • vojtechhabarta/typescript-generatorAvatar vojtechhabarta

    vojtechhabarta/typescript-generator

    1,216Vezi pe GitHub↗

    TypeScript generator is a build tool that parses backend class structures and REST endpoints in Java to generate corresponding TypeScript types and client services. It functions as both a static type definition generator and a Java REST client generator, translating compiled class properties, collections, and server-side endpoint definitions into equivalent frontend type definitions and client-side service classes. The tool builds an abstract syntax representation from scanned bytecode using reflection and compiles output through configurable module scoping, formatting declarations into globa

    Controls how generated code structures outputs into global definitions, ambient modules, or standard files with declarations.

    Javagradle-pluginjacksonjava
    Vezi pe GitHub↗1,216
  1. Home
  2. Data & Databases
  3. Custom Data Types
  4. Custom Data Type Providers
  5. Code Generators
  6. Template-Based Code Customizers

Explorează sub-etichetele

  • Custom Metadata Templates2 sub-tag-uriApplication of custom templates to database schema metadata to generate additional non-native files. **Distinct from Template-Based Code Customizers:** Focuses on using schema metadata to generate arbitrary files, not just customizing the primary ORM output.
  • Mock Generation Template CustomizersSupplying custom templates and data to shape the structure and behavior of generated mock code. **Distinct from Template-Based Code Customizers:** Distinct from Template-Based Code Customizers: specifically targets mock code generation templates, not general code generation customization.