Source: https://seerepo.com/compare/MHSanaei/3x-ui/vs/toeverything/AFFiNE
Markdown source: https://seerepo.com/compare/MHSanaei/3x-ui/vs/toeverything/AFFiNE.md
Description: 3x-ui and AFFiNE share 3 technologies: React, Vite, and Postgres. 3x-ui is written in Go and AFFiNE in TypeScript.

# 3x-ui vs AFFiNE

3x-ui and AFFiNE share 3 technologies: React, Vite, and Postgres. 3x-ui is written in Go and AFFiNE in TypeScript.

- [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) 
- [toeverything/AFFiNE](https://seerepo.com/r/toeverything/AFFiNE): There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use. 

## What they share and what sets them apart

- In common: React, Vite, Postgres
- Only in 3x-ui: Gin
- Only in AFFiNE: Express, Redis, Sentry

## Side by side

| | 3x-ui | AFFiNE |
|---|---|---|
| Size | 333,041 lines written, 744 code files | 1,015,236 lines written, 7,022 code files |
| Who writes it | 1.9% of its commits signed by AI. With Claude Code, GitHub Copilot, and Cursor | 0.1% of its commits signed by AI. With CodeRabbit, Devin, and GitHub Copilot |
| Activity | Last push October 25, 2026, 3,710 commits, 48,772 stars | Last push October 27, 2026, 10,950 commits, 73,902 stars |
| Tests | 854 test files. 62.6% of its code files have a test that imports them | 772 test files. 10.3% 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, 3x-ui or AFFiNE?

AFFiNE, with 1,015,236 lines written in 7,022 code files; 3x-ui has 333,041 in 744.

The proof: [toeverything/AFFiNE's code at commit 8cef09e](https://github.com/toeverything/AFFiNE/tree/8cef09e1dd62b47a3cbc9f352aa10b3a90c75d34)

### Which has more GitHub stars, 3x-ui or AFFiNE?

AFFiNE, with 73,902 stars; 3x-ui has 48,772.

The proof: [toeverything/AFFiNE on GitHub](https://github.com/toeverything/AFFiNE)

### Which has more tests, 3x-ui or AFFiNE?

3x-ui, with 854 test files; AFFiNE has 772.

The proof: [MHSanaei/3x-ui's code at commit c621ba9](https://github.com/MHSanaei/3x-ui/tree/c621ba9014a6aa21fd7c9ecf45655e44e24ebf13)

### Which was updated more recently, 3x-ui or AFFiNE?

AFFiNE: its last push was on October 27, 2026, and 3x-ui's on October 25, 2026.

The proof: [toeverything/AFFiNE's commits on GitHub](https://github.com/toeverything/AFFiNE/commits)

### Which has more commits signed by AI, 3x-ui or AFFiNE?

3x-ui: an AI signed 1.9% of its commits, with Claude Code, GitHub Copilot, and Cursor; in AFFiNE, 0.1%.

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

## Sources

- MHSanaei/3x-ui: Read on October 28, 2026, at commit c621ba9 (https://github.com/MHSanaei/3x-ui/tree/c621ba9014a6aa21fd7c9ecf45655e44e24ebf13)
- toeverything/AFFiNE: Read on October 27, 2026, at commit 8cef09e (https://github.com/toeverything/AFFiNE/tree/8cef09e1dd62b47a3cbc9f352aa10b3a90c75d34)

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