Source: https://seerepo.com/compare/0xJacky/nginx-ui/vs/Wei-Shaw/sub2api
Markdown source: https://seerepo.com/compare/0xJacky/nginx-ui/vs/Wei-Shaw/sub2api.md
Description: nginx-ui and sub2api share 13 technologies: Gin, SQLite, MCP, Vite, Vue, vue-router, github.com/go-webauthn/webauthn, github.com/pquerna/otp, github.com/golang-jwt/jwt/v5, github.com/go-playground/validator/v10, go.uber.org/zap, github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common, and marked. Both are written in Go.

# nginx-ui vs sub2api

nginx-ui and sub2api share 13 technologies: Gin, SQLite, MCP, Vite, Vue, vue-router, github.com/go-webauthn/webauthn, github.com/pquerna/otp, github.com/golang-jwt/jwt/v5, github.com/go-playground/validator/v10, go.uber.org/zap, github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common, and marked. Both are written in Go.

- [0xJacky/nginx-ui](https://seerepo.com/r/0xJacky/nginx-ui): Yet another WebUI for Nginx
- [Wei-Shaw/sub2api](https://seerepo.com/r/Wei-Shaw/sub2api): Sub2API 一站式开源中转服务，让 Claude、Openai 、Gemini、Grok订阅统一接入，支持拼车共享，更高效分摊成本，原生工具无缝使用。

## What they share and what sets them apart

- In common: Gin, SQLite, MCP, Vite, Vue, vue-router, github.com/go-webauthn/webauthn, github.com/pquerna/otp, github.com/golang-jwt/jwt/v5, github.com/go-playground/validator/v10, go.uber.org/zap, github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common, marked
- Only in nginx-ui: go-sqlite3, github.com/dgraph-io/ristretto/v2, github.com/oschwald/maxminddb-golang/v2, OpenAI, MinIO, Telegram, github.com/gin-contrib/static, @vueuse/router, dbresolver, gorm.io/gorm, github.com/go-gormigrate/gormigrate/v2, gorm.io/gen, gorm.io/datatypes, github.com/Azure/azure-sdk-for-go/sdk/azidentity, github.com/casdoor/casdoor-go-sdk, github.com/coreos/go-oidc/v3, golang.org/x/oauth2, go-openai, mcp-go, github.com/go-acme/lego/v5, Docker, github.com/Azure/azure-sdk-for-go/sdk/azcore, antdv-next, @vueuse/components, ace-builds, vue3-apexcharts, vuedraggable, xterm, echarts, nprogress, vue-echarts, @formkit/auto-animate, apexcharts, splitpanes, vue3-ace-editor, @simplewebauthn/browser, highlight.js, marked-highlight, vue-dompurify-html
- Only in sub2api: go-redis, pq, s3, Redis, Postgres, Dgraph, github.com/patrickmn/go-cache, Alibaba Cloud, Alipay, Stripe, github.com/zeromicro/go-zero, entgo.io/ent, github.com/aws/aws-sdk-go-v2/credentials, Model Context Protocol, github.com/tiktoken-go/tokenizer, golang.org/x/image, github.com/aws/aws-sdk-go-v2, github.com/aws/aws-sdk-go-v2/config, github.com/hashicorp/go-hclog, gopkg.in/natefinch/lumberjack.v2, Tailwind CSS, Chart.js, vue-chartjs, driver.js, TanStack, vue-draggable-plus, dompurify, qrcode, xlsx

## Side by side

| | nginx-ui | sub2api |
|---|---|---|
| Size | 402,961 lines written, 1,716 code files | 1,207,828 lines written, 1,720 code files |
| Who writes it | 12.6% of its commits signed by AI. With Claude Code, Codex, Cursor, and GitHub Copilot | 18.3% of its commits signed by AI. With Codex, Claude Code, Cursor, GitHub Copilot, and Factory |
| Activity | Last push November 11, 2026, 3,166 commits, 11,760 stars | Last push November 10, 2026, 5,549 commits, 45,793 stars |
| Tests | 764 test files. 45.9% of its code files have a test that imports them | 2,119 test files. 79.4% 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, nginx-ui or sub2api?

sub2api, with 1,207,828 lines written; nginx-ui has 402,961.

The proof: [Wei-Shaw/sub2api's code at commit e2c9812](https://github.com/Wei-Shaw/sub2api/tree/e2c9812190dd71bb309c8ad020a1211da1e0d3b4)

### Which has more GitHub stars, nginx-ui or sub2api?

sub2api, with 45,793 stars; nginx-ui has 11,760.

The proof: [Wei-Shaw/sub2api on GitHub](https://github.com/Wei-Shaw/sub2api)

### Which has more tests, nginx-ui or sub2api?

sub2api, with 2,119 test files; nginx-ui has 764.

The proof: [Wei-Shaw/sub2api's code at commit e2c9812](https://github.com/Wei-Shaw/sub2api/tree/e2c9812190dd71bb309c8ad020a1211da1e0d3b4)

### Which was updated more recently, nginx-ui or sub2api?

nginx-ui: its last push was on November 11, 2026, and sub2api's on November 10, 2026.

The proof: [0xJacky/nginx-ui's commits on GitHub](https://github.com/0xJacky/nginx-ui/commits)

### Which has more commits signed by AI, nginx-ui or sub2api?

sub2api: an AI signed 18.3% of its commits, with Codex, Claude Code, Cursor, GitHub Copilot, and Factory; in nginx-ui, 12.6%.

The proof: [the commits each tool signed in Wei-Shaw/sub2api](https://seerepo.com/r/Wei-Shaw/sub2api/ai)

## Sources

- 0xJacky/nginx-ui: Read on November 12, 2026, at commit 4a73492 (https://github.com/0xJacky/nginx-ui/tree/4a734920987b1902dee7b7553d2c24781a520152)
- Wei-Shaw/sub2api: Read on November 10, 2026, at commit e2c9812 (https://github.com/Wei-Shaw/sub2api/tree/e2c9812190dd71bb309c8ad020a1211da1e0d3b4)

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