krzysztofzablocki/Sourcery

Meta-programming for Swift, stop writing boilerplate code.

55
/ 100
Established

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.

Swift development iOS development macOS development boilerplate reduction code testing
No Package No Dependents
Maintenance 10 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 19 / 25

How are scores calculated?

Stars

7,981

Forks

632

Language

Swift

License

MIT

Category

code-generation

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.