twostraws/Sitrep
A source code analyzer for Swift projects. observed · 2026-08-28
Health v2 · maintenance only
67/100
- Activity 77
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2400
- days_rel: n/a
- days_push: 138
- n_releases_24m: 0
Adoption not part of the score
1349 stars · 65 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Sitrep is a source code analyzer for Swift projects that reports high-level code statistics such as type counts, lines of code, longest files, imports, and UI view counts. It is built on SwiftSyntax and ships as both a command line tool and a Swift library (SitrepCore).
Use cases
- get an overview of how large my Swift project is
- count classes structs enums and protocols in a Swift codebase
- find the longest files and types in my Swift project
- measure source lines of code excluding comments and whitespace
- see which imports my Swift project uses most
- count UIViews and SwiftUI views in an iOS project
When to choose
- you want quick high-level metrics for a Swift or Xcode project
- you need a simple CLI code statistics tool installable via Homebrew or Mint
- you want to embed Swift code analysis in your own Swift code as a library
When to avoid
- you need deep static analysis, linting, or bug detection rather than summary statistics
- you work in languages other than Swift
- you need CI quality gates or complexity scoring, which Sitrep does not provide
Facets
cli-tool · maturity active
parser developer-tools cli developer-tools programming-languages cli swift swift-syntax code-analysis static-analysis code-metrics command-line macos linux
5 sources
- readme: https://github.com/twostraws/Sitrep · fetched 2026-08-28 · f2980121ef29
- homepage: https://www.hackingwithswift.com/ · fetched 2026-08-29 · 2d9e02e583e0
- site_page: https://www.hackingwithswift.com/about · fetched 2026-08-29 · 06265cc51cf9
- site_page: https://www.hackingwithswift.com/articles/283/how-to-install-and-use-ai-agent-skills-in-xcode · fetched 2026-08-29 · 42e8003985d2
- site_page: https://www.hackingwithswift.com/faq · fetched 2026-08-29 · 6bf188bbb1af
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| twostraws/Sitrep | main | 67 |
For agents
markdown · JSON · MCP: product_card(name="twostraws/Sitrep")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem