What is lnd built with?

lnd is a Go repo. It stores its data in Postgres and SQLite, is tested with rapid, github.com/stretchr/testify, github.com/pmezard/go-difflib, and Ory, runs in production with github.com/coreos/go-systemd, github.com/grpc-ecosystem/go-grpc-prometheus, and Prometheus, and uses pgx, etcd, github.com/golang-migrate/migrate/v4, github.com/jackc/pgerrcode, and github.com/fergusstrange/embedded-postgres. It has 788,490 written lines, with 784 test files.

Read on November 17, 2026, at commit 5ffce51. Read it as markdown

The card says what it's built with. Its whole map opens it up: every part of the code and how it connects to the rest.

Frontend

Backend

Data 7

Support

Testing 4

  • github.com/stretchr/testify604 files
  • Ory2 files
  • github.com/pmezard/go-difflib3 files
  • rapid

Deploy 3

Tools 3

  • github.com/urfave/cli35 files
  • github.com/davecgh/go-spew10 files
  • golang.org/x/mod1 file

Other 22

  • Google35 files
  • github.com/grpc-ecosystem/grpc-gateway/v217 files
  • github.com/decred/dcrd/dcrec/secp256k1/v44 files
  • github.com/miekg/dns2 files
  • github.com/btcsuite/btcd/btcutil1 file
  • github.com/gorilla/websocket1 file
  • google.golang.org/protobuf13 files
  • golang.org/x/time10 files
  • golang.org/x/crypto7 files
  • github.com/jessevdk/go-flags4 files
  • golang.org/x/sys4 files
  • golang.org/x/exp3 files
10 more
  • golang.org/x/sync3 files
  • golang.org/x/term2 files
  • github.com/andybalholm/brotli1 file
  • github.com/grpc-ecosystem/go-grpc-middleware1 file
  • github.com/jackpal/gateway1 file
  • github.com/jackpal/go-nat-pmp1 file
  • golang.org/x/mobile1 file
  • golang.org/x/net1 file
  • golang.org/x/text1 file
  • compress

Other repos with a similar stack

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

Frequently asked questions

What language is lnd written in?
lnd is written in Go, with 788,490 written lines.
What database does lnd use?
lnd stores its data in Postgres and SQLite.

The proof: kvdb/sqlbase/migration_bulk_postgres.go, line 14

What services does lnd use?
lnd uses pgx, etcd, github.com/golang-migrate/migrate/v4, github.com/jackc/pgerrcode, and github.com/fergusstrange/embedded-postgres.
Does lnd have tests?
Yes. lnd has 784 test files and is tested with rapid, github.com/stretchr/testify, github.com/pmezard/go-difflib, and Ory.
Which repos have a stack like lnd's?
The ones that share most of its stack:harness/harnesshashicorp/vaultphotoprism/photoprism

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.Private repo? Sign in with GitHub

Or look inside SeeRepo's own →

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