hooks vs 3x-ui
hooks and 3x-ui share 3 technologies: React, React Router, and antd. hooks is written in TypeScript and 3x-ui in Go.
What they share and what sets them apart
alibaba
hooks
A high-quality & reliable React Hooks library. https://alibaba.github.io/hooks/
TypeScript15kRead on November 8, 2026, at commit a0c33c2What is hooks built with?Only in hooks
In common
MHSanaei
3x-ui
Supporting multi-protocol multi-user(Vmess, Vless, Trojan, ShadowSocks, Wireguard, Hysteria, Tunnel, Mixed, HTTP, Tun, MTProto، AmneziaWG)
Go49.7kRead on November 10, 2026, at commit e535df0What is 3x-ui built with?Only in 3x-ui
- Gin
- go-sqlite3
- pgx
- SQLite
- Postgres
- github.com/valyala/fasthttp
- Vite
- gorm.io/gorm
github.com/gin-contrib/sessions
github.com/go-ldap/ldap/v3
- github.com/xlzd/gotp
- github.com/skip2/go-qrcode
github.com/go-playground/validator/v10
- github.com/op/go-logging
- gopkg.in/natefinch/lumberjack.v2
- @codemirror/theme-one-dark
- React Hook Form
- codemirror
- persian-calendar-suite
- Swagger
uplot
- Ant Design
- otpauth
- Zod
@hookform/resolvers
Side by side
hooks3x-ui
SizeLines written by people and agents, without generated ones; code files, without tests.
hooks27,385 lines written315 code files
3x-ui351,489 lines written762 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.
hooks0.1% of its commits signed by AIWith GitHub Copilot
3x-ui1.8% of its commits signed by AIWith Claude Code, GitHub Copilot, and Cursor
ActivityFrom GitHub and its history, on the day SeeRepo read it.
hooksLast push October 27, 20262,137 commits14,976 stars
3x-uiLast push November 6, 20263,869 commits49,650 stars
TestsThe files that test the code, and the share of code files a test imports.
hooks97 test files27.3% of its code files have a test that imports them
3x-ui893 test files63.5% of its code files have a test that imports them
Frequently asked questions
Which is bigger, hooks or 3x-ui?
3x-ui, with 351,489 lines written; hooks has 27,385.
The proof: MHSanaei/3x-ui's code at commit e535df0
Which has more GitHub stars, hooks or 3x-ui?
3x-ui, with 49,650 stars; hooks has 14,976.
The proof: MHSanaei/3x-ui on GitHub
Which has more tests, hooks or 3x-ui?
3x-ui, with 893 test files; hooks has 97.
The proof: MHSanaei/3x-ui's code at commit e535df0
Which was updated more recently, hooks or 3x-ui?
3x-ui: its last push was on November 6, 2026, and hooks's on October 27, 2026.
The proof: MHSanaei/3x-ui's commits on GitHub
Which has more commits signed by AI, hooks or 3x-ui?
3x-ui: an AI signed 1.8% of its commits, with Claude Code, GitHub Copilot, and Cursor; in hooks, 0.1%.
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.

