What is hydra built with?

hydra is a Go repo built with net/http. It stores its data in Postgres and SQLite, reaches it with github.com/jmoiron/sqlx, signs people in with github.com/gorilla/sessions, golang.org/x/oauth2, github.com/golang-jwt/jwt/v5, jsonwebtoken, and github.com/lestrrat-go/jwx, validates its data with govalidator and github.com/asaskevich/govalidator, is tested with github.com/stretchr/testify, Uber, github.com/go-faker/faker/v4, goleak, and Ory, deploys with OpenTelemetry, go.opentelemetry.io/otel/trace, github.com/sirupsen/logrus, go.opentelemetry.io/otel/sdk, go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp, and 8 more, and uses pgx, ristretto, github.com/dgraph-io/ristretto/v2, github.com/cockroachdb/cockroach-go/v2, and MySQL. It has 114,964 written lines, with 268 test files.

Read on November 6, 2026, at commit 4174065. Read it as markdown

Backend

The base 1

Data 7

Sign-in 5

Data access 1

  • github.com/jmoiron/sqlx3 files

Support

Validation 2

  • github.com/asaskevich/govalidator1 file
  • govalidator

Testing 5

  • github.com/stretchr/testify214 files
  • Uber43 files
  • Ory1 file
  • github.com/go-faker/faker/v42 files
  • goleak

Deploy 13

1 more
  • go.opentelemetry.io/otel/exporters/zipkin1 file

Tools 2

  • github.com/pkg/profile1 file
  • github.com/spf13/cobra56 files

Other 48

  • github.com/pkg/errors138 files
  • github.com/tidwall/gjson16 files
  • HashiCorp14 files
  • Google8 files
  • github.com/tidwall/sjson7 files
  • dayjs2 files
  • github.com/google/go-jsonnet2 files
  • github.com/goccy/go-yaml1 file
  • github.com/gofrs/flock1 file
  • github.com/landlock-lsm/go-landlock1 file
  • github.com/Masterminds/sprig/v31 file
  • go.opentelemetry.io/contrib/samplers/jaegerremote1 file
36 more
  • go.uber.org/automaxprocs1 file
  • uuid1 file
  • go.opentelemetry.io/proto/otlp
  • websocket
  • github.com/spf13/pflag9 files
  • golang.org/x/crypto9 files
  • github.com/rs/cors7 files
  • golang.org/x/text7 files
  • github.com/mohae/deepcopy6 files
  • github.com/knadh/koanf/v25 files
  • golang.org/x/sync4 files
  • github.com/gobwas/glob3 files
  • github.com/knadh/koanf/parsers/json3 files
  • github.com/fsnotify/fsnotify2 files
  • github.com/inhies/go-bytesize2 files
  • github.com/knadh/koanf/maps2 files
  • github.com/knadh/koanf/providers/posflag2 files
  • github.com/pborman/uuid2 files
  • github.com/spf13/cast2 files
  • go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace2 files
  • golang.org/x/net2 files
  • github.com/evanphx/json-patch/v51 file
  • github.com/fatih/structs1 file
  • github.com/knadh/koanf/parsers/toml1 file
  • github.com/miekg/pkcs111 file
  • github.com/tomnomnom/linkheader1 file
  • github.com/toqueteos/webbrowser1 file
  • github.com/twmb/murmur31 file
  • golang.org/x/exp1 file
  • deepcopy
  • go-toml
  • net
  • protobuf
  • rawbytes
  • text
  • yaml

Other repos with a similar stack

Ordered by how much of its stack they share with hydra, then by stars.

Frequently asked questions

What language is hydra written in?
hydra is written in Go, with 114,964 written lines.
What framework does hydra use?
hydra is built with net/http.
What database does hydra use?
hydra stores its data in Postgres and SQLite and reaches it with github.com/jmoiron/sqlx.

The proof: driver/registry_sql.go, line 16

What does hydra sign people in with?
hydra signs people in with github.com/gorilla/sessions, golang.org/x/oauth2, github.com/golang-jwt/jwt/v5, jsonwebtoken, and github.com/lestrrat-go/jwx.
What services does hydra use?
hydra uses pgx, ristretto, github.com/dgraph-io/ristretto/v2, github.com/cockroachdb/cockroach-go/v2, and MySQL.
Does hydra have tests?
Yes. hydra has 268 test files and is tested with github.com/stretchr/testify, Uber, github.com/go-faker/faker/v4, goleak, and Ory.
Which repos have a stack like hydra's?
The ones that share most of its stack:istio/istioprometheus/prometheusinfiniflow/ragflow

See inside your code, today.

Paste your repo and see it drawn, part by part: a medium one in under a minute.

Free, no account.

Or look inside SeeRepo's own →

Is it your repo? Add its badge, keep it up to date or take it down →