Source: https://seerepo.com/compare/alibaba/hooks/vs/MHSanaei/3x-ui
Markdown source: https://seerepo.com/compare/alibaba/hooks/vs/MHSanaei/3x-ui.md
Description: hooks and 3x-ui share 3 technologies: React, React Router, and antd. hooks is written in TypeScript and 3x-ui in Go.

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

- [alibaba/hooks](https://seerepo.com/r/alibaba/hooks): A high-quality & reliable React Hooks library.   https://alibaba.github.io/hooks/
- [MHSanaei/3x-ui](https://seerepo.com/r/MHSanaei/3x-ui): Supporting multi-protocol multi-user(Vmess, Vless, Trojan, ShadowSocks, Wireguard, Hysteria, Tunnel, Mixed, HTTP, Tun, MTProto، AmneziaWG) 

## What they share and what sets them apart

- In common: React, React Router, antd
- Only in hooks: screenfull
- 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

| | hooks | 3x-ui |
|---|---|---|
| Size | 27,385 lines written, 315 code files | 351,489 lines written, 762 code files |
| Who writes it | 0.1% of its commits signed by AI. With GitHub Copilot | 1.8% of its commits signed by AI. With Claude Code, GitHub Copilot, and Cursor |
| Activity | Last push October 27, 2026, 2,137 commits, 14,976 stars | Last push November 6, 2026, 3,869 commits, 49,650 stars |
| Tests | 97 test files. 27.3% of its code files have a test that imports them | 893 test files. 63.5% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## 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](https://github.com/MHSanaei/3x-ui/tree/e535df03745c5ad003ae48e812024eb5fdc2124d)

### 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](https://github.com/MHSanaei/3x-ui)

### 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](https://github.com/MHSanaei/3x-ui/tree/e535df03745c5ad003ae48e812024eb5fdc2124d)

### 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](https://github.com/MHSanaei/3x-ui/commits)

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

The proof: [the commits each tool signed in MHSanaei/3x-ui](https://seerepo.com/r/MHSanaei/3x-ui/ai)

## Sources

- alibaba/hooks: Read on November 8, 2026, at commit a0c33c2 (https://github.com/alibaba/hooks/tree/a0c33c21caefda40753fe4b3cbb3b1efbabd1a79)
- MHSanaei/3x-ui: Read on November 10, 2026, at commit e535df0 (https://github.com/MHSanaei/3x-ui/tree/e535df03745c5ad003ae48e812024eb5fdc2124d)

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