sourcery
brew install sourceryMeta-programming for Swift, stop writing boilerplate code
https://github.com/krzysztofzablocki/Sourcery
License: MIT
Development: Pull requests
Formula JSON API: /api/formula/sourcery.json
Formula code: sourcery.rb on GitHub
Bottle (binary package) installation support provided for:
| macOS on Apple Silicon |
golden gate | ✅ |
|---|---|---|
| tahoe | ✅ | |
| sequoia | ✅ | |
| Linux | ARM64 | ✅ |
| x86_64 | ✅ |
Current versions:
| stable | ✅ | 2.4.1 |
| head | ⚡️ | HEAD |
Uses from macOS: ruby (build), swift (build) (since macOS Sonoma), curl, libxml2, ncurses, sqlite, swift
Requires: Xcode >= 14.3
Binaries:
sourcery
GitHub Packages downloads:
| Last 30 days | 39,880 |
|---|---|
| Downloads | 2,730,091 |
| Analytics install events (30 days) | 1,787 |
| Downloads / install events (30 days) | 22.3× |
Source: GitHub Packages, fetched 2026-11-11T00:53:19Z. Analytics dates: 2026-10-12 to 2026-11-11. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.
Analytics:
| 30 days | 90 days | 365 days | |
|---|---|---|---|
| Installs | 1,787 | 5,779 | 53,794 |
Installs (--HEAD) | 0 | 3 | 31 |
| Installs on Request | 1,787 | 5,779 | 53,793 |
Installs on Request (--HEAD) | 0 | 3 | 31 |
| Build Errors | 1 |