Source: https://seerepo.com/r/komari-monitor/komari/built
Markdown source: https://seerepo.com/r/komari-monitor/komari/built.md
Description: komari is a Go repo built with Gin. It stores its data in MySQL, SQLite, and Postgres and reaches it with gorm.io/gorm.

# What is komari built with?

komari is a Go repo built with Gin. It stores its data in MySQL, SQLite, and Postgres, reaches it with gorm.io/gorm, signs people in with github.com/pquerna/otp, is tested with github.com/stretchr/testify, and uses go-sqlite3, pgx, and github.com/patrickmn/go-cache. It has 81,797 written lines, with 101 test files.

Read on November 20, 2026, at commit ae1ae2a.

Repository: https://github.com/komari-monitor/komari

## Backend

### The base

- **[Gin](https://seerepo.com/uses/gin)**: 48 files

### Data

- **[go-sqlite3](https://seerepo.com/uses/go-sqlite3)**
- **[pgx](https://seerepo.com/uses/pgx)**
- **[github.com/patrickmn/go-cache](https://seerepo.com/uses/githubcom-patrickmn-go-cache)**: 9 files
- **[MySQL](https://seerepo.com/uses/mysql)**: 3 files · [utils/log/log.go, line 12](https://github.com/komari-monitor/komari/blob/ae1ae2a2e2df78dfdc262639f6d20734fd9dacbb/utils/log/log.go#L12)
- **[SQLite](https://seerepo.com/uses/sqlite)**: 3 files · [database/dbcore/dbcore.go, line 19](https://github.com/komari-monitor/komari/blob/ae1ae2a2e2df78dfdc262639f6d20734fd9dacbb/database/dbcore/dbcore.go#L19)
- **[Postgres](https://seerepo.com/uses/postgres)**: 2 files · [pkg/metric/store.go, line 16](https://github.com/komari-monitor/komari/blob/ae1ae2a2e2df78dfdc262639f6d20734fd9dacbb/pkg/metric/store.go#L16)

### Data access

- **[gorm.io/gorm](https://seerepo.com/uses/gormio-gorm)**: 17 files

### Sign-in

- **[github.com/pquerna/otp](https://seerepo.com/uses/githubcom-pquerna-otp)**: 2 files

## Support

### Testing

- **github.com/stretchr/testify**: 1 file

### Tools

- **github.com/spf13/cobra**: 5 files

### Other

- **github.com/Calcium-Ion/moejs**: 38 files
- **github.com/gorilla/websocket**: 9 files
- **[Google](https://seerepo.com/uses/google)**: 5 files
- **golang.org/x/sys**: 3 files
- **github.com/klauspost/compress**: 2 files
- **github.com/oschwald/maxminddb-golang**: 1 file
- **golang.org/x/crypto**: 1 file
- **golang.org/x/net**: 1 file
- **golang.org/x/sync**: 1 file
- **golang.org/x/text**: 1 file

## Other repos with a similar stack

- [photoprism/photoprism](https://seerepo.com/r/photoprism/photoprism/built): Gin, go-sqlite3, pgx, github.com/patrickmn/go-cache, MySQL, SQLite, Postgres, gorm.io/gorm, github.com/pquerna/otp · [Compare](https://seerepo.com/compare/komari-monitor/komari/vs/photoprism/photoprism)
- [QuantumNous/new-api](https://seerepo.com/r/QuantumNous/new-api/built): Gin, pgx, MySQL, Postgres, gorm.io/gorm, github.com/pquerna/otp · [Compare](https://seerepo.com/compare/komari-monitor/komari/vs/QuantumNous/new-api)
- [AlistGo/alist](https://seerepo.com/r/AlistGo/alist/built): Gin, MySQL, SQLite, Postgres, gorm.io/gorm, github.com/pquerna/otp · [Compare](https://seerepo.com/compare/AlistGo/alist/vs/komari-monitor/komari)
- [MHSanaei/3x-ui](https://seerepo.com/r/MHSanaei/3x-ui/built): Gin, go-sqlite3, pgx, SQLite, Postgres, gorm.io/gorm · [Compare](https://seerepo.com/compare/komari-monitor/komari/vs/MHSanaei/3x-ui)
- [Tencent/WeKnora](https://seerepo.com/r/Tencent/WeKnora/built): Gin, pgx, MySQL, SQLite, Postgres, gorm.io/gorm · [Compare](https://seerepo.com/compare/komari-monitor/komari/vs/Tencent/WeKnora)
- [1Panel-dev/1Panel](https://seerepo.com/r/1Panel-dev/1Panel/built): Gin, pgx, github.com/patrickmn/go-cache, MySQL, Postgres, gorm.io/gorm · [Compare](https://seerepo.com/compare/1Panel-dev/1Panel/vs/komari-monitor/komari)

## Frequently asked questions

### What language is komari written in?

komari is written in Go, with 81,797 written lines.

### What framework does komari use?

komari is built with Gin.

### What database does komari use?

komari stores its data in MySQL, SQLite, and Postgres and reaches it with gorm.io/gorm.

The proof: [utils/log/log.go, line 12](https://github.com/komari-monitor/komari/blob/ae1ae2a2e2df78dfdc262639f6d20734fd9dacbb/utils/log/log.go#L12)

### What does komari sign people in with?

komari signs people in with github.com/pquerna/otp.

### What services does komari use?

komari uses go-sqlite3, pgx, and github.com/patrickmn/go-cache.

### Does komari have tests?

Yes. komari has 101 test files and is tested with github.com/stretchr/testify.

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

The ones that share most of its stack: photoprism/photoprism, QuantumNous/new-api, and AlistGo/alist.

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