Source: https://seerepo.com/r/chaitin/SafeLine/built
Markdown source: https://seerepo.com/r/chaitin/SafeLine/built.md
Description: SafeLine is a Go repo built with Gin. It stores its data in Postgres, reaches it with gorm.io/gorm, and signs people in with github.com/pquerna/otp.

# What is SafeLine built with?

SafeLine is a Go repo built with Gin. It stores its data in Postgres, reaches it with gorm.io/gorm, signs people in with github.com/pquerna/otp, deploys with github.com/sirupsen/logrus and go.uber.org/zap, and uses MCP. It has 14,197 written lines, with 12 test files.

Read on November 4, 2026, at commit 9b72ba6.

Repository: https://github.com/chaitin/SafeLine

## Backend

### The base

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

### Data

- **[Postgres](https://seerepo.com/uses/postgres)**: 2 files · [management/webserver/pkg/database/postgres.go, line 4](https://github.com/chaitin/SafeLine/blob/9b72ba6ad4d7e042e7a79ee2e062305179312c98/management/webserver/pkg/database/postgres.go#L4)

### Data access

- **gorm.io/gorm**: 10 files

### Sign-in

- **github.com/pquerna/otp**: 1 file

### Services

- **[MCP](https://seerepo.com/uses/mcp)**: 2 files · [mcp_server/internal/tools/analyze/get_atttack_events.go, line 11](https://github.com/chaitin/SafeLine/blob/9b72ba6ad4d7e042e7a79ee2e062305179312c98/mcp_server/internal/tools/analyze/get_atttack_events.go#L11)

## Support

### Deploy

- **[github.com/sirupsen/logrus](https://seerepo.com/uses/githubcom-sirupsen-logrus)**: 2 files
- **go.uber.org/zap**: 2 files

### Other

- **[Google](https://seerepo.com/uses/google)**: 5 files
- **github.com/robfig/cron/v3**: 2 files
- **github.com/rogpeppe/go-internal**: 1 file
- **gopkg.in/yaml.v3**: 1 file

## Other repos with a similar stack

- [infiniflow/ragflow](https://seerepo.com/r/infiniflow/ragflow/built): Gin, Postgres, MCP, go.uber.org/zap · [Compare](https://seerepo.com/compare/chaitin/SafeLine/vs/infiniflow/ragflow)
- [router-for-me/CLIProxyAPI](https://seerepo.com/r/router-for-me/CLIProxyAPI/built): Gin, Postgres, github.com/sirupsen/logrus · [Compare](https://seerepo.com/compare/chaitin/SafeLine/vs/router-for-me/CLIProxyAPI)
- [AlistGo/alist](https://seerepo.com/r/AlistGo/alist/built): Gin, Postgres, MCP · [Compare](https://seerepo.com/compare/AlistGo/alist/vs/chaitin/SafeLine)
- [Wei-Shaw/sub2api](https://seerepo.com/r/Wei-Shaw/sub2api/built): Gin, Postgres, MCP · [Compare](https://seerepo.com/compare/chaitin/SafeLine/vs/Wei-Shaw/sub2api)
- [photoprism/photoprism](https://seerepo.com/r/photoprism/photoprism/built): Gin, Postgres, MCP · [Compare](https://seerepo.com/compare/chaitin/SafeLine/vs/photoprism/photoprism)
- [Tencent/WeKnora](https://seerepo.com/r/Tencent/WeKnora/built): Gin, Postgres, MCP · [Compare](https://seerepo.com/compare/chaitin/SafeLine/vs/Tencent/WeKnora)

## Frequently asked questions

### What language is SafeLine written in?

SafeLine is written in Go, with 14,197 written lines.

### What framework does SafeLine use?

SafeLine is built with Gin.

### What database does SafeLine use?

SafeLine stores its data in Postgres and reaches it with gorm.io/gorm.

The proof: [management/webserver/pkg/database/postgres.go, line 4](https://github.com/chaitin/SafeLine/blob/9b72ba6ad4d7e042e7a79ee2e062305179312c98/management/webserver/pkg/database/postgres.go#L4)

### What does SafeLine sign people in with?

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

### What services does SafeLine use?

SafeLine uses MCP.

The proof: [mcp_server/internal/tools/analyze/get_atttack_events.go, line 11](https://github.com/chaitin/SafeLine/blob/9b72ba6ad4d7e042e7a79ee2e062305179312c98/mcp_server/internal/tools/analyze/get_atttack_events.go#L11)

### Does SafeLine have tests?

Yes. SafeLine has 12 test files.

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

The ones that share most of its stack: infiniflow/ragflow, router-for-me/CLIProxyAPI, 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.
