krzysztofzablocki/Sourcery
Meta-programming for Swift, stop writing boilerplate code.
Sourcery helps Swift developers automate repetitive coding tasks by generating boilerplate code. It takes your existing Swift code and a set of rules (templates) to produce additional code, such as mock objects for testing or conformance to protocols like `Equatable`. This tool is for Swift application developers who want to reduce manual coding and ensure consistency across their projects.
7,981 stars.
Use this if you are a Swift developer tired of writing the same patterns or boilerplate code repeatedly for tasks like creating mocks, implementing `Equatable`, or handling `Codable`.
Not ideal if you are not a Swift developer or are looking for a general-purpose code generation tool outside of the Swift ecosystem.
Stars
7,981
Forks
632
Language
Swift
License
MIT
Category
Last pushed
Feb 11, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/krzysztofzablocki/Sourcery"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related tools
Dav1dde/glad
Multi-Language Vulkan/GL/GLES/EGL/GLX/WGL Loader-Generator based on the official specs.
Aleph-Alpha/ts-rs
Generate TypeScript bindings from Rust types
apollographql/apollo-tooling
✏️ Apollo CLI for client tooling (Mostly replaced by Rover)
mmcloughlin/avo
Generate x86 Assembly with Go
awtkns/fastapi-crudrouter
A dynamic FastAPI router that automatically creates CRUD routes for your models