dbmate vs new-api
dbmate and new-api share 3 technologies: MySQL, ClickHouse, and yaml. Both are written in Go.
What they share and what sets them apart
amacneil
dbmate
🚀 A lightweight, framework-agnostic database migration tool.
Go7.6kRead on November 19, 2026, at commit 9824ed8What is dbmate built with?Only in dbmate
In common
QuantumNous
new-api
Open-source AI gateway. Self-hosted LLM gateway with OpenAI-, Claude- and Gemini-compatible APIs, model routing, access control, usage tracking and cost accounting.
Go52.1kRead on November 18, 2026, at commit 669d774What is new-api built with?Only in new-api
- Gin
- pgx
- Redis
- github.com/samber/hot
- Postgres
- github.com/glebarez/go-sqlite
- github.com/glebarez/sqlite
- Stripe
github.com/MoeForge/moejs
github.com/gin-contrib/static
Electron
React
- @tanstack
- gorm.io/gorm
- gorm.io/driver/clickhouse
github.com/go-webauthn/webauthn
github.com/casbin/casbin/v2
github.com/golang-jwt/jwt/v5
- github.com/aws/aws-sdk-go-v2/credentials
- github.com/Azure/go-ntlmssp
github.com/coreos/go-oidc/v3
- github.com/pquerna/otp
- golang.org/x/oauth2
openai-go
relaykit
tokenkit
github.com/aws/aws-sdk-go-v2/service/bedrockruntime
- github.com/tiktoken-go/tokenizer
- golang.org/x/image
github.com/abema/go-mp4
github.com/go-audio/aiff
github.com/go-audio/wav
- github.com/HugoSmits86/nativewebp
- github.com/jfreymuth/oggvorbis
- github.com/ledongthuc/pdf
github.com/mewkiz/flac
- github.com/tcolgate/mp3
- github.com/yapingcat/gomedia
github.com/go-playground/validator/v10
- github.com/aws/aws-sdk-go-v2
- github.com/grafana/pyroscope-go
- Prometheus
- Tailwind CSS
class-variance-authority
tailwind-merge
sonner
- React Hook Form
- @tanstack/react-table
Base UI
motion
visactor
- xyflow
- CodeMirror
react-day-picker
- @lezer/highlight
yace
auto-skeleton-react
- cmdk
embla-carousel-react
input-otp
react-resizable-panels
- react-top-loading-bar
recharts
- use-stick-to-bottom
vaul
- Lucide
hugeicons
@lobehub/icons
react-icons
ai
tokenlens
stream-markdown-parser
marked
- dompurify
shiki
katex
- qrcode.react
- Zod
@hookform/resolvers
Side by side
dbmatenew-api
SizeLines written by people and agents, without generated ones; code files, without tests.
dbmate10,550 lines written19 code files
new-api641,830 lines written2,073 code files
Who writes itA commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
dbmate2.5% of its commits signed by AIWith Cursor and Claude Code
new-api0.7% of its commits signed by AIWith Claude Code, CodeRabbit, Codex, Jules, and Cursor
ActivityFrom GitHub and its history, on the day SeeRepo read it.
dbmateLast push November 18, 2026528 commits7,555 stars
new-apiLast push November 17, 20265,458 commits52,102 stars
TestsThe files that test the code, and the share of code files a test imports.
dbmate15 test files68.4% of its code files have a test that imports them
new-api573 test files41.4% of its code files have a test that imports them
Frequently asked questions
Which is bigger, dbmate or new-api?
new-api, with 641,830 lines written; dbmate has 10,550.
The proof: QuantumNous/new-api's code at commit 669d774
Which has more GitHub stars, dbmate or new-api?
new-api, with 52,102 stars; dbmate has 7,555.
The proof: QuantumNous/new-api on GitHub
Which has more tests, dbmate or new-api?
new-api, with 573 test files; dbmate has 15.
The proof: QuantumNous/new-api's code at commit 669d774
Which was updated more recently, dbmate or new-api?
dbmate: its last push was on November 18, 2026, and new-api's on November 17, 2026.
The proof: amacneil/dbmate's commits on GitHub
Which has more commits signed by AI, dbmate or new-api?
dbmate: an AI signed 2.5% of its commits, with Cursor and Claude Code; in new-api, 0.7%.
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

