Source: https://seerepo.com/compare/gofr-dev/gofr/vs/hashicorp/terraform
Markdown source: https://seerepo.com/compare/gofr-dev/gofr/vs/hashicorp/terraform.md
Description: gofr and terraform share 6 technologies: pq, s3, golang.org/x/oauth2, OpenTelemetry, go.opentelemetry.io/otel/sdk, and github.com/aws/aws-sdk-go-v2. Both are written in Go.

# gofr vs terraform

gofr and terraform share 6 technologies: pq, s3, golang.org/x/oauth2, OpenTelemetry, go.opentelemetry.io/otel/sdk, and github.com/aws/aws-sdk-go-v2. Both are written in Go.

- [gofr-dev/gofr](https://seerepo.com/r/gofr-dev/gofr): An opinionated GoLang framework for accelerated microservice development. Built in support for databases and observability.
- [hashicorp/terraform](https://seerepo.com/r/hashicorp/terraform): Terraform enables you to safely and predictably create, change, and improve infrastructure. It is a source-available tool that codifies APIs into declarative configuration files that can be shared amongst team members, treated as code, edited, reviewed, and versioned.

## What they share and what sets them apart

- In common: pq, s3, golang.org/x/oauth2, OpenTelemetry, go.opentelemetry.io/otel/sdk, github.com/aws/aws-sdk-go-v2
- Only in gofr: Gorilla, go-redis, pgx, SQLite, NATS.io, Redis, github.com/gocql/gocql, MySQL, ClickHouse, github.com/nats-io/nats-server/v2, Dgraph, github.com/Azure/azure-sdk-for-go/sdk/storage/azblob, github.com/Azure/azure-sdk-for-go/sdk/storage/azfile, github.com/jlaffaye/ftp, github.com/golang-jwt/jwt/v5, github.com/aws/aws-sdk-go-v2/credentials, go.opentelemetry.io/otel, go.opentelemetry.io/otel/sdk/metric, go.opentelemetry.io/otel/metric, github.com/aws/aws-sdk-go-v2/config, go.opentelemetry.io/contrib/detectors/gcp, go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc, go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc, Prometheus, github.com/Azure/azure-sdk-for-go/sdk/azcore, go.opencensus.io, go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp, go.opentelemetry.io/otel/exporters/prometheus
- Only in terraform: github.com/aliyun/aliyun-oss-go-sdk, Consul, github.com/aws/aws-sdk-go-v2/service/dynamodb, github.com/aws/aws-sdk-go-v2/feature/s3/manager, github.com/xanzy/ssh-agent, go.opentelemetry.io/otel/trace, github.com/hashicorp/go-hclog, github.com/oracle/oci-go-sdk/v65, go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc, github.com/aws/aws-sdk-go-v2/feature/ec2/imds, go.opentelemetry.io/contrib/exporters/autoexport

## Side by side

| | gofr | terraform |
|---|---|---|
| Size | 203,252 lines written, 381 code files | 663,387 lines written, 1,189 code files |
| Who writes it | 0.9% of its commits signed by AI. With Claude Code and Codex | 0% of its commits signed by AI. With Claude Code |
| Activity | Last push November 5, 2026, 3,178 commits, 20,819 stars | Last push November 5, 2026, 29,067 commits, 50,150 stars |
| Tests | 362 test files. 90.6% of its code files have a test that imports them | 810 test files. 74.8% 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, gofr or terraform?

terraform, with 663,387 lines written; gofr has 203,252.

The proof: [hashicorp/terraform's code at commit 7cf2eaf](https://github.com/hashicorp/terraform/tree/7cf2eaf97bfb766c959cc8da91ad60ced0055569)

### Which has more GitHub stars, gofr or terraform?

terraform, with 50,150 stars; gofr has 20,819.

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

### Which has more tests, gofr or terraform?

terraform, with 810 test files; gofr has 362.

The proof: [hashicorp/terraform's code at commit 7cf2eaf](https://github.com/hashicorp/terraform/tree/7cf2eaf97bfb766c959cc8da91ad60ced0055569)

### Which was updated more recently, gofr or terraform?

Both got their last push on November 5, 2026.

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

### Which has more commits signed by AI, gofr or terraform?

gofr: an AI signed 0.9% of its commits, with Claude Code and Codex.

The proof: [the commits each tool signed in gofr-dev/gofr](https://seerepo.com/r/gofr-dev/gofr/ai)

## Sources

- gofr-dev/gofr: Read on November 5, 2026, at commit b8747c3 (https://github.com/gofr-dev/gofr/tree/b8747c3233e7a05d89d60ae2fdaf5bf3b40fb812)
- hashicorp/terraform: Read on November 5, 2026, at commit 7cf2eaf (https://github.com/hashicorp/terraform/tree/7cf2eaf97bfb766c959cc8da91ad60ced0055569)

## 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.
