RepoPilot

spf13/cobra vs terrastruct/d2

Both showing Healthy signals — pick on fit, not health

As of June 2026, cobra and d2 both show healthy maintenance signals. cobra last saw a commit 2 months ago with 51+ active contributors, while d2 last saw a commit 2 months ago with 2+ active contributors. cobra is Apache-2.0-licensed while d2 is MPL-2.0-licensed. Neither has known critical or high-severity CVEs in its dependency tree.

Informational only. RepoPilot summarises public signals at the time of analysis. Not professional, security, or legal advice.

spf13/cobra

Healthy

Healthy across the board

HealthyDependency

Permissive license, no critical CVEs, actively maintained — safe to depend on.

HealthyFork & modify

Has a license, tests, and CI — clean foundation to fork and modify.

HealthyLearn from

Documented and popular — useful reference codebase to read through.

HealthyDeploy as-is

No critical CVEs, sane security posture — runnable as-is.

  • Last commit 2w ago
  • 51+ active contributors
  • Distributed ownership (top contributor 11% of recent commits)
  • Apache-2.0 licensed
  • CI configured
  • Tests present

Computed from maintenance signals — commit recency, contributor breadth, bus factor, license, CI, tests

terrastruct/d2

Healthy

Healthy across all four use cases

HealthyDependency

Permissive license, no critical CVEs, actively maintained — safe to depend on.

HealthyFork & modify

Has a license, tests, and CI — clean foundation to fork and modify.

HealthyLearn from

Documented and popular — useful reference codebase to read through.

HealthyDeploy as-is

No critical CVEs, sane security posture — runnable as-is.

  • Small team — 2 contributors active in recent commits
  • Single-maintainer risk — top contributor 99% of recent commits
  • Last commit 2w ago
  • 2 active contributors
  • MPL-2.0 licensed
  • CI configured
  • Tests present

Computed from maintenance signals — commit recency, contributor breadth, bus factor, license, CI, tests

Signal-by-signal breakdown

cobrad2
Stars43,89323,653
Last commit2mo ago2mo ago
LicenseApache-2.0MPL-2.0
Open issues363500
Has tests
Has CI
Test coverage3%79%
Dependency CVEsNo CVEsNo CVEs
Architecture grade
Cycles
Bottom-lineHealthy signalsHealthy signals

Want the full analysis? spf13/cobra · terrastruct/d2

Ask AI about spf13/cobra vs terrastruct/d2

Open the chat with a comparison question pre-filled.