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

# What is chatgpt2api built with?

chatgpt2api is a Go repo built with Gin. It stores its data in MySQL and Postgres, reaches it with gorm.io/gorm, uses AI through github.com/tiktoken-go/tokenizer, makes its content with github.com/disintegration/imaging and golang.org/x/image, and uses github.com/glebarez/sqlite and github.com/studio-b12/gowebdav. It has 14,813 written lines, with 14 test files.

Read on November 20, 2026, at commit 89a8ad0.

Repository: https://github.com/basketikun/chatgpt2api

## Backend

### The base

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

### Data

- **[MySQL](https://seerepo.com/uses/mysql)**: 2 files · [internal/repository/db.go, line 14](https://github.com/basketikun/chatgpt2api/blob/89a8ad01736e69d30dbbb398df751af3a54da8ef/internal/repository/db.go#L14)
- **[Postgres](https://seerepo.com/uses/postgres)**: 2 files · [internal/repository/db.go, line 15](https://github.com/basketikun/chatgpt2api/blob/89a8ad01736e69d30dbbb398df751af3a54da8ef/internal/repository/db.go#L15)
- **[github.com/glebarez/sqlite](https://seerepo.com/uses/githubcom-glebarez-sqlite)**: 1 file
- **github.com/studio-b12/gowebdav**: 1 file

### Data access

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

### AI

- **github.com/tiktoken-go/tokenizer**: 1 file

## Support

### Content

- **[github.com/disintegration/imaging](https://seerepo.com/uses/githubcom-disintegration-imaging)**: 3 files
- **[golang.org/x/image](https://seerepo.com/uses/golangorg-x-image)**: 2 files

### Other

- **[Google](https://seerepo.com/uses/google)**: 8 files
- **github.com/bogdanfinn/fhttp**: 5 files
- **github.com/bogdanfinn/tls-client**: 2 files
- **golang.org/x/net**: 2 files
- **github.com/shirou/gopsutil/v4**: 1 file
- **golang.org/x/sys**: 1 file
- **gopkg.in/yaml.v3**: 1 file

## Other repos with a similar stack

- [QuantumNous/new-api](https://seerepo.com/r/QuantumNous/new-api/built): Gin, MySQL, Postgres, github.com/glebarez/sqlite, gorm.io/gorm, github.com/tiktoken-go/tokenizer, golang.org/x/image · [Compare](https://seerepo.com/compare/basketikun/chatgpt2api/vs/QuantumNous/new-api)
- [AlistGo/alist](https://seerepo.com/r/AlistGo/alist/built): Gin, MySQL, Postgres, gorm.io/gorm, github.com/disintegration/imaging, golang.org/x/image · [Compare](https://seerepo.com/compare/AlistGo/alist/vs/basketikun/chatgpt2api)
- [Tencent/WeKnora](https://seerepo.com/r/Tencent/WeKnora/built): Gin, MySQL, Postgres, gorm.io/gorm, github.com/tiktoken-go/tokenizer, golang.org/x/image · [Compare](https://seerepo.com/compare/basketikun/chatgpt2api/vs/Tencent/WeKnora)
- [1Panel-dev/1Panel](https://seerepo.com/r/1Panel-dev/1Panel/built): Gin, MySQL, Postgres, github.com/glebarez/sqlite, gorm.io/gorm, golang.org/x/image · [Compare](https://seerepo.com/compare/1Panel-dev/1Panel/vs/basketikun/chatgpt2api)
- [infiniflow/ragflow](https://seerepo.com/r/infiniflow/ragflow/built): Gin, MySQL, Postgres, gorm.io/gorm, golang.org/x/image · [Compare](https://seerepo.com/compare/basketikun/chatgpt2api/vs/infiniflow/ragflow)
- [gogs/gogs](https://seerepo.com/r/gogs/gogs/built): MySQL, Postgres, github.com/glebarez/sqlite, gorm.io/gorm, golang.org/x/image · [Compare](https://seerepo.com/compare/basketikun/chatgpt2api/vs/gogs/gogs)

## Frequently asked questions

### What language is chatgpt2api written in?

chatgpt2api is written in Go, with 14,813 written lines.

### What framework does chatgpt2api use?

chatgpt2api is built with Gin.

### What database does chatgpt2api use?

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

The proof: [internal/repository/db.go, line 14](https://github.com/basketikun/chatgpt2api/blob/89a8ad01736e69d30dbbb398df751af3a54da8ef/internal/repository/db.go#L14)

### Does chatgpt2api use AI?

Yes. chatgpt2api uses AI through github.com/tiktoken-go/tokenizer.

### What services does chatgpt2api use?

chatgpt2api uses github.com/glebarez/sqlite and github.com/studio-b12/gowebdav.

### Does chatgpt2api have tests?

Yes. chatgpt2api has 14 test files.

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

The ones that share most of its stack: QuantumNous/new-api, AlistGo/alist, 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.
