Source: https://seerepo.com/compare/goharbor/harbor/vs/hashicorp/consul
Markdown source: https://seerepo.com/compare/goharbor/harbor/vs/hashicorp/consul.md
Description: harbor and consul share 11 technologies: net/http, github.com/olekukonko/tablewriter, github.com/golang-jwt/jwt/v5, golang.org/x/oauth2, github.com/aws/aws-sdk-go-v2/credentials, github.com/coreos/go-oidc/v3, Prometheus, github.com/aliyun/alibaba-cloud-sdk-go, github.com/aws/aws-sdk-go-v2, github.com/aws/aws-sdk-go-v2/config, and js-yaml. Both are written in Go.

# harbor vs consul

harbor and consul share 11 technologies: net/http, github.com/olekukonko/tablewriter, github.com/golang-jwt/jwt/v5, golang.org/x/oauth2, github.com/aws/aws-sdk-go-v2/credentials, github.com/coreos/go-oidc/v3, Prometheus, github.com/aliyun/alibaba-cloud-sdk-go, github.com/aws/aws-sdk-go-v2, github.com/aws/aws-sdk-go-v2/config, and js-yaml. Both are written in Go.

- [goharbor/harbor](https://seerepo.com/r/goharbor/harbor): An open source trusted cloud native registry project that stores, signs, and scans content.
- [hashicorp/consul](https://seerepo.com/r/hashicorp/consul): Consul is a distributed, highly available, and data center aware solution to connect and configure applications across dynamic, distributed infrastructure.

## What they share and what sets them apart

- In common: net/http, github.com/olekukonko/tablewriter, github.com/golang-jwt/jwt/v5, golang.org/x/oauth2, github.com/aws/aws-sdk-go-v2/credentials, github.com/coreos/go-oidc/v3, Prometheus, github.com/aliyun/alibaba-cloud-sdk-go, github.com/aws/aws-sdk-go-v2, github.com/aws/aws-sdk-go-v2/config, js-yaml
- Only in harbor: Gorilla, go-redis, pgx, redigo, Redis, Postgres, github.com/golang-migrate/migrate/v4, Angular, github.com/go-ldap/ldap/v3, github.com/nfnt/resize, loads, spec, validate, github.com/asaskevich/govalidator, OpenTelemetry, go.opentelemetry.io/otel/trace, github.com/aws/aws-sdk-go-v2/service/ecr, go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp, Helm, github.com/prometheus/client_model, go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux, go.opentelemetry.io/otel/exporters/jaeger, go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp, go.opentelemetry.io/otel/sdk, echarts, @angular/animations, ngx-markdown, cron-validator
- Only in consul: github.com/hashicorp/consul/api, github.com/hashicorp/go-memdb, etcd, github.com/hashicorp/golang-lru, github.com/hashicorp/raft-boltdb/v2, github.com/patrickmn/go-cache, Express, @glimmer/tracking, ember-modifier, ember-classic-decorator, ember-source, ember-resolver, github.com/go-jose/go-jose/v3, github.com/hashicorp/cap, github.com/hashicorp/vault-plugin-auth-alicloud, github.com/hashicorp/vault/sdk, github.com/xeipuuv/gojsonschema, HashiCorp, github.com/hashicorp/go-metrics, github.com/hashicorp/serf, github.com/hashicorp/go-discover, github.com/hashicorp/go-syslog, Sass, @glimmer/component, tippy.js, a11y-dialog, d3-scale, d3-scale-chromatic, d3-selection, d3-shape, ember-data, ember-data-model-fragments, hast-util-to-string, unist-util-visit

## Side by side

| | harbor | consul |
|---|---|---|
| Size | 309,680 lines written, 1,267 code files | 772,526 lines written, 1,813 code files |
| Who writes it | 0.2% of its commits signed by AI. With Cursor, GitHub Copilot, and Claude Code | 0.1% of its commits signed by AI. With GitHub Copilot |
| Activity | Last push November 6, 2026, 8,437 commits, 29,693 stars | Last push November 6, 2026, 19,211 commits, 30,107 stars |
| Tests | 922 test files. 76.1% of its code files have a test that imports them | 1,675 test files. 51.4% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## Frequently asked questions

### Which is bigger, harbor or consul?

consul, with 772,526 lines written; harbor has 309,680.

The proof: [hashicorp/consul's code at commit c711a9f](https://github.com/hashicorp/consul/tree/c711a9f2bab4cc41cc826c2bdf80bde6f07d44a6)

### Which has more GitHub stars, harbor or consul?

consul, with 30,107 stars; harbor has 29,693.

The proof: [hashicorp/consul on GitHub](https://github.com/hashicorp/consul)

### Which has more tests, harbor or consul?

consul, with 1,675 test files; harbor has 922.

The proof: [hashicorp/consul's code at commit c711a9f](https://github.com/hashicorp/consul/tree/c711a9f2bab4cc41cc826c2bdf80bde6f07d44a6)

### Which was updated more recently, harbor or consul?

Both got their last push on November 6, 2026.

The proof: [hashicorp/consul's commits on GitHub](https://github.com/hashicorp/consul/commits)

### Which has more commits signed by AI, harbor or consul?

harbor: an AI signed 0.2% of its commits, with Cursor, GitHub Copilot, and Claude Code; in consul, 0.1%.

## Sources

- goharbor/harbor: Read on November 8, 2026, at commit 3852755 (https://github.com/goharbor/harbor/tree/3852755e06aa621ebfc7b665545de1e7d0032b47)
- hashicorp/consul: Read on November 7, 2026, at commit c711a9f (https://github.com/hashicorp/consul/tree/c711a9f2bab4cc41cc826c2bdf80bde6f07d44a6)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
