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
·
krzysztofzablocki avatar

krzysztofzablocki/Sourcery

0
View on GitHub↗
8,012 stele·634 fork-uri·Swift·MIT·7 vizualizărimerowing.info↗

Sourcery

Sourcery este un instrument de generare de cod pentru Swift care automatizează producția de boilerplate repetitiv și conformitatea cu protocoalele. Acesta funcționează ca un motor de template-uri care scanează fișierele sursă pentru a genera cod structural, cum ar fi implementările Codable, Equatable și Hashable, bazate pe protocoale de marcare și analiză statică.

Proiectul oferă un framework specializat de mocking care creează obiecte mock pentru protocoale, pentru a urmări apelurile de funcții și a captura argumentele în timpul testării. Include, de asemenea, utilitare pentru generarea de struct lenses, colecții de cazuri enum și diff-uri precise de testare la nivel de proprietate.

Sistemul suportă un flux de lucru în timp real folosind un daemon de fundal pentru monitorizarea fișierelor și regenerarea automată a codului. Integrarea este gestionată prin fișiere de configurare bazate pe YAML și plugin-uri pentru sistemul de build, pentru a asigura că codul generat rămâne consistent în timpul refactorizării.

Features

  • Swift Code Generators - Provides a comprehensive tool for automating the creation of boilerplate and protocol conformance code for Swift projects.
  • Template-Based Code Generators - Functions as a template engine that automates the creation of repetitive structural Swift code.
  • Boilerplate Generators - Automates the production of repetitive structural code to eliminate manual errors.
  • Marker Protocol Detection - Implements code generation triggers by scanning for specialized marker protocols on Swift types.
  • Hashable Object Generators - Automates the creation of hashing logic for types to remove manual boilerplate.
  • Codable Implementation Generation - Automatically generates Codable conformance by analyzing associated values and marker protocols.
  • Equatable Conformance Generation - Eliminates manual boilerplate by automatically creating equality comparison logic.
  • Protocol Conformance Automation - Automatically creates implementations for standard Swift protocols to eliminate tedious manual work.
  • Mocking Frameworks - Implements a framework that generates mock objects for protocols to track function calls and capture arguments.
  • Protocol-to-Mock Generators - Creates mock classes for protocols to track function calls and capture arguments during testing.
  • Static Analysis AST Parsing - Parses source code into structural metadata to populate code generation templates.
  • Build System Integrations - Runs custom code generation scripts as plugins during the compilation process.
  • Build Plugin Integrations - Integrates the generation process into the build system via plugins to ensure output is up to date.
  • Automatic Code Regeneration - Automatically regenerates dependent code in real-time to maintain consistency during refactoring.
  • Real-time Generation Previews - Provides immediate feedback by updating generated code in real-time as templates are modified.
  • Swift Refactoring Tools - Maintains project consistency by automatically regenerating dependent code when source properties change.
  • Directory Monitoring Daemons - Provides a background daemon that monitors source files to trigger immediate code regeneration.
  • Real-time Regeneration Engines - Regenerates Swift source code in real-time by monitoring changes to templates and source files via a background daemon.
  • YAML Configuration Files - Uses YAML configuration files to define source paths and template arguments for the generation process.
  • Generation Configuration Schemas - Uses YAML files to define source paths and template mappings for automated code production.
  • Instrumente de dezvoltare - Automates boilerplate code generation via meta-programming.

Istoric stele

Graficul istoricului de stele pentru krzysztofzablocki/sourceryGraficul istoricului de stele pentru krzysztofzablocki/sourcery

Căutare AI

Explorează mai multe repository-uri excelente

Descrie ce ai nevoie în limbaj simplu — AI-ul sortează mii de proiecte open source selectate în funcție de relevanță.

Start searching with AI

Alternative open-source pentru Sourcery

Proiecte open-source similare, clasificate după numărul de funcționalități comune cu Sourcery.
  • ahmed-ali/jsonexportAvatar Ahmed-Ali

    Ahmed-Ali/JSONExport

    4,812Vezi pe GitHub↗

    JSONExport is a multi-language code generator and JSON schema converter that transforms JSON data structures into strongly typed source code classes. It serves as an API response mapper, converting JSON objects into data transfer objects to automate the creation of model classes. The tool specializes in multi-language model synthesis, allowing users to define data models across different programming languages using a single JSON input. It generates class boilerplate, including constructors and accessors, and provides a preview pipeline to review the resulting source code before it is saved.

    Swift
    Vezi pe GitHub↗4,812
  • dotnetcore/utilAvatar dotnetcore

    dotnetcore/Util

    4,610Vezi pe GitHub↗

    Util is a comprehensive development framework for .NET designed to implement layered architectures and domain driven design. It provides a toolkit of base classes and tools for building full stack applications, specifically focusing on the creation of backend admin frameworks and management interfaces. The project distinguishes itself through a boilerplate generator that produces the necessary types and classes to standardize repetitive architectural patterns. It also includes a micro-frontend orchestrator that enables the splitting of large frontend modules into independent projects for sepa

    C#angularaspnetcoredotnetcore
    Vezi pe GitHub↗4,610
  • plopjs/plopAvatar plopjs

    plopjs/plop

    7,666Vezi pe GitHub↗

    Plop is a template-based code generator and interactive command-line scaffolding tool. It functions as a file system automation engine that uses a pipeline of prompt-driven tasks and regular expression replacements to generate and modify codebase structures. The framework combines Handlebars templates with interactive terminal prompts to automate boilerplate code generation. It allows for the enforcement of codebase patterns through shared generators and provides the ability to embed the engine into custom command-line tools. The system covers the creation of project files from templates and

    JavaScriptcligeneratorjavascript
    Vezi pe GitHub↗7,666
  • apple/swift-syntaxAvatar apple

    apple/swift-syntax

    3,671Vezi pe GitHub↗

    swift-syntax is a library for parsing, manipulating, and generating Swift source code. It provides a source-accurate abstract syntax tree representation of Swift code, acting as a parser, transformer, and code generator. The project serves as the infrastructure for Swift macro development, enabling the expansion and transformation of source code during compilation. It is used to build compiler tooling for static analysis, formatting, and automated refactoring. The system covers a broad range of source analysis capabilities, including the ability to convert source code into structured trees f

    Swift
    Vezi pe GitHub↗3,671
Vezi toate cele 30 alternative pentru Sourcery→

Întrebări frecvente

Ce face krzysztofzablocki/sourcery?

Sourcery este un instrument de generare de cod pentru Swift care automatizează producția de boilerplate repetitiv și conformitatea cu protocoalele. Acesta funcționează ca un motor de template-uri care scanează fișierele sursă pentru a genera cod structural, cum ar fi implementările Codable, Equatable și Hashable, bazate pe protocoale de marcare și analiză statică.

Care sunt principalele funcționalități ale krzysztofzablocki/sourcery?

Principalele funcționalități ale krzysztofzablocki/sourcery sunt: Swift Code Generators, Template-Based Code Generators, Boilerplate Generators, Marker Protocol Detection, Hashable Object Generators, Codable Implementation Generation, Equatable Conformance Generation, Protocol Conformance Automation.

Care sunt câteva alternative open-source pentru krzysztofzablocki/sourcery?

Alternativele open-source pentru krzysztofzablocki/sourcery includ: ahmed-ali/jsonexport — JSONExport is a multi-language code generator and JSON schema converter that transforms JSON data structures into… dotnetcore/util — Util is a comprehensive development framework for .NET designed to implement layered architectures and domain driven… plopjs/plop — Plop is a template-based code generator and interactive command-line scaffolding tool. It functions as a file system… apple/swift-syntax — swift-syntax is a library for parsing, manipulating, and generating Swift source code. It provides a source-accurate… dominikh/go-tools — go-tools is a collection of utilities for Go static analysis and memory layout optimization. It provides a toolset… lihengming/spring-boot-api-project-seed — This project is a Spring Boot API starter kit and RESTful project skeleton designed for building backend services. It…