Source: https://seerepo.com/r/authzed/spicedb/built
Markdown source: https://seerepo.com/r/authzed/spicedb/built.md
Description: spicedb is a Go repo built with net/http. It stores its data in Postgres and MySQL, reaches it with github.com/Masterminds/squirrel, and connects to Google.

# What is spicedb built with?

spicedb is a Go repo built with net/http. It stores its data in Postgres and MySQL, reaches it with github.com/Masterminds/squirrel, connects to Google, makes its content with github.com/muesli/roff, validates its data with go and buf.build/go/protovalidate, is tested with rapid, github.com/stretchr/testify, go.uber.org/goleak, and 9 more, runs in production with OpenTelemetry, Prometheus, github.com/rs/zerolog, and 9 more, and uses pgx, pgx-zerolog, pq, and 7 more. It has 321,105 written lines, with 637 test files.

Read on November 20, 2026, at commit 4598c88.

Repository: https://github.com/authzed/spicedb

## Frontend

### Interface

- **[github.com/schollz/progressbar/v3](https://seerepo.com/uses/githubcom-schollz-progressbar-v3)**: 1 file

## Backend

### The base

- **[net/http](https://seerepo.com/uses/net-http)**

### Data

- **[pgx](https://seerepo.com/uses/pgx)**
- **pgx-zerolog**
- **[pq](https://seerepo.com/uses/pq)**
- **[Postgres](https://seerepo.com/uses/postgres)**: 74 files · [internal/datastore/postgres/postgres.go, line 17](https://github.com/authzed/spicedb/blob/4598c8847fca9d85ecd757b59d56ab6313117f77/internal/datastore/postgres/postgres.go#L17)
- **github.com/authzed/authzed-go**: 70 files
- **github.com/pganalyze/pg_query_go/v6**: 13 files
- **[HashiCorp](https://seerepo.com/uses/hashicorp)**: 6 files
- **[MySQL](https://seerepo.com/uses/mysql)**: 5 files · [internal/datastore/mysql/datastore.go, line 15](https://github.com/authzed/spicedb/blob/4598c8847fca9d85ecd757b59d56ab6313117f77/internal/datastore/mysql/datastore.go#L15)
- **github.com/ngrok/sqlmw**: 2 files
- **github.com/aws/aws-sdk-go-v2/feature/rds/auth**: 1 file
- **github.com/jackc/pgio**: 1 file
- **github.com/maypok86/otter/v2**: 1 file

### Data access

- **[github.com/Masterminds/squirrel](https://seerepo.com/uses/githubcom-masterminds-squirrel)**: 36 files

### Services

- **[Google](https://seerepo.com/uses/google)**: 13 files · [internal/datastore/spanner/spanner.go, line 25](https://github.com/authzed/spicedb/blob/4598c8847fca9d85ecd757b59d56ab6313117f77/internal/datastore/spanner/spanner.go#L25)

## Support

### Content

- **github.com/muesli/roff**: 1 file

### Validation

- **go**
- **buf.build/go/protovalidate**: 9 files

### Testing

- **rapid**
- **github.com/stretchr/testify**: 530 files
- **go.uber.org/goleak**: 23 files
- **github.com/testcontainers/testcontainers-go**: 20 files
- **github.com/google/go-cmp**: 9 files
- **Uber**: 5 files
- **github.com/benbjohnson/clock**: 2 files
- **github.com/testcontainers/testcontainers-go/modules/cockroachdb**: 2 files
- **github.com/testcontainers/testcontainers-go/modules/postgres**: 2 files
- **[github.com/moby/moby/api](https://seerepo.com/uses/githubcom-moby-moby-api)**: 1 file
- **[github.com/moby/moby/client](https://seerepo.com/uses/githubcom-moby-moby-client)**: 1 file
- **github.com/testcontainers/testcontainers-go/modules/mysql**: 1 file

### Deploy

- **[OpenTelemetry](https://seerepo.com/uses/opentelemetry)**: 36 files
- **[Prometheus](https://seerepo.com/uses/prometheus)**: 35 files
- **[github.com/rs/zerolog](https://seerepo.com/uses/githubcom-rs-zerolog)**: 33 files
- **github.com/go-logr/zerologr**: 3 files
- **[go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc](https://seerepo.com/uses/goopentelemetryio-contrib-instrumentation-googlegolangorg-grpc-otelgrpc)**: 3 files
- **[github.com/aws/aws-sdk-go-v2](https://seerepo.com/uses/githubcom-aws-aws-sdk-go-v2)**: 1 file
- **[github.com/aws/aws-sdk-go-v2/config](https://seerepo.com/uses/githubcom-aws-aws-sdk-go-v2-config)**: 1 file
- **github.com/exaring/otelpgx**: 1 file
- **github.com/samber/slog-zerolog/v2**: 1 file
- **[go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp](https://seerepo.com/uses/goopentelemetryio-contrib-instrumentation-net-http-otelhttp)**: 1 file
- **go.opentelemetry.io/contrib/propagators/b3**: 1 file
- **[go.opentelemetry.io/otel/exporters/prometheus](https://seerepo.com/uses/goopentelemetryio-otel-exporters-prometheus)**: 1 file

### Tools

- **PlanetScale**
- **github.com/spf13/cobra**: 14 files
- **github.com/magefile/mage**: 7 files
- **buf.build/gen/go/prometheus/prometheus/protocolbuffers/go**: 1 file
- **github.com/felixge/fgprof**: 1 file
- **github.com/muesli/mango-cobra**: 1 file
- **golang.org/x/mod**: 1 file

### Other

- **defaults**
- **go.uber.org/atomic**
- **google.golang.org/protobuf**: 51 files
- **github.com/ccoveille/go-safecast/v2**: 49 files
- **github.com/grpc-ecosystem/go-grpc-middleware/v2**: 19 files
- **golang.org/x/sync**: 10 files
- **github.com/authzed/grpcutil**: 8 files
- **github.com/spf13/pflag**: 8 files
- **go.yaml.in/yaml/v3**: 7 files
- **resenje.org/singleflight**: 7 files
- **github.com/cespare/xxhash/v2**: 6 files
- **github.com/dustin/go-humanize**: 5 files
- **github.com/cenkalti/backoff/v5**: 4 files
- **github.com/fatih/color**: 3 files
- **github.com/shopspring/decimal**: 3 files
- **github.com/sourcegraph/jsonrpc2**: 3 files
- **github.com/ettle/strcase**: 2 files
- **github.com/KimMachineGun/automemlimit**: 2 files
- **github.com/Masterminds/semver**: 2 files
- **github.com/puzpuzpuz/xsync/v4**: 2 files
- **golang.org/x/time**: 2 files
- **github.com/bits-and-blooms/bloom/v3**: 1 file
- **github.com/bmizerany/perks**: 1 file
- **github.com/emirpasic/gods**: 1 file
- **github.com/fsnotify/fsnotify**: 1 file
- **github.com/go-errors/errors**: 1 file
- **github.com/golang/snappy**: 1 file
- **github.com/gosimple/slug**: 1 file
- **github.com/grpc-ecosystem/go-grpc-middleware/providers/prometheus**: 1 file
- **github.com/grpc-ecosystem/grpc-gateway/v2**: 1 file
- **github.com/lithammer/fuzzysearch**: 1 file
- **github.com/mattn/go-isatty**: 1 file
- **github.com/rs/cors**: 1 file
- **github.com/rs/xid**: 1 file
- **github.com/sercand/kuberesolver/v5**: 1 file
- **golang.org/x/term**: 1 file
- **k8s.io/utils**: 1 file

## Other repos with a similar stack

- [infiniflow/ragflow](https://seerepo.com/r/infiniflow/ragflow/built): net/http, pgx, pq, Postgres, MySQL, Google, OpenTelemetry, github.com/aws/aws-sdk-go-v2, github.com/aws/aws-sdk-go-v2/config, go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp · [Compare](https://seerepo.com/compare/authzed/spicedb/vs/infiniflow/ragflow)
- [harness/harness](https://seerepo.com/r/harness/harness/built): pgx, pq, Postgres, Google, github.com/Masterminds/squirrel, OpenTelemetry, Prometheus, github.com/rs/zerolog, github.com/go-logr/zerologr, go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp · [Compare](https://seerepo.com/compare/authzed/spicedb/vs/harness/harness)
- [Tencent/WeKnora](https://seerepo.com/r/Tencent/WeKnora/built): pgx, Postgres, github.com/pganalyze/pg_query_go/v6, MySQL, Google, go, OpenTelemetry, github.com/aws/aws-sdk-go-v2, github.com/aws/aws-sdk-go-v2/config · [Compare](https://seerepo.com/compare/authzed/spicedb/vs/Tencent/WeKnora)
- [moby/moby](https://seerepo.com/r/moby/moby/built): net/http, Postgres, OpenTelemetry, Prometheus, go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc, github.com/aws/aws-sdk-go-v2, github.com/aws/aws-sdk-go-v2/config, go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp · [Compare](https://seerepo.com/compare/authzed/spicedb/vs/moby/moby)
- [mudler/LocalAI](https://seerepo.com/r/mudler/LocalAI/built): net/http, Postgres, github.com/schollz/progressbar/v3, OpenTelemetry, Prometheus, github.com/aws/aws-sdk-go-v2, github.com/aws/aws-sdk-go-v2/config, go.opentelemetry.io/otel/exporters/prometheus · [Compare](https://seerepo.com/compare/authzed/spicedb/vs/mudler/LocalAI)
- [hashicorp/vault](https://seerepo.com/r/hashicorp/vault/built): pgx, Postgres, MySQL, Google, OpenTelemetry, Prometheus, github.com/aws/aws-sdk-go-v2, github.com/aws/aws-sdk-go-v2/config · [Compare](https://seerepo.com/compare/authzed/spicedb/vs/hashicorp/vault)

## Frequently asked questions

### What language is spicedb written in?

spicedb is written in Go, with 321,105 written lines.

### What framework does spicedb use?

spicedb is built with net/http.

### What database does spicedb use?

spicedb stores its data in Postgres and MySQL and reaches it with github.com/Masterminds/squirrel.

The proof: [internal/datastore/postgres/postgres.go, line 17](https://github.com/authzed/spicedb/blob/4598c8847fca9d85ecd757b59d56ab6313117f77/internal/datastore/postgres/postgres.go#L17)

### What services does spicedb use?

spicedb connects to Google and uses pgx, pgx-zerolog, pq, github.com/authzed/authzed-go, github.com/pganalyze/pg_query_go/v6, HashiCorp, github.com/ngrok/sqlmw, github.com/aws/aws-sdk-go-v2/feature/rds/auth, github.com/jackc/pgio, and github.com/maypok86/otter/v2.

The proof: [internal/datastore/spanner/spanner.go, line 25](https://github.com/authzed/spicedb/blob/4598c8847fca9d85ecd757b59d56ab6313117f77/internal/datastore/spanner/spanner.go#L25)

### Does spicedb have tests?

Yes. spicedb has 637 test files and is tested with rapid, github.com/stretchr/testify, go.uber.org/goleak, github.com/testcontainers/testcontainers-go, github.com/google/go-cmp, Uber, github.com/benbjohnson/clock, github.com/testcontainers/testcontainers-go/modules/cockroachdb, github.com/testcontainers/testcontainers-go/modules/postgres, github.com/moby/moby/api, github.com/moby/moby/client, and github.com/testcontainers/testcontainers-go/modules/mysql.

### Which repos have a stack like spicedb's?

The ones that share most of its stack: infiniflow/ragflow, harness/harness, and Tencent/WeKnora.

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