Source: https://seerepo.com/compare/Wei-Shaw/sub2api/vs/YaoApp/yao
Markdown source: https://seerepo.com/compare/Wei-Shaw/sub2api/vs/YaoApp/yao.md
Description: sub2api and yao share 8 technologies: Gin, pq, s3, Postgres, github.com/aws/aws-sdk-go-v2/credentials, github.com/pquerna/otp, github.com/aws/aws-sdk-go-v2, and gopkg.in/natefinch/lumberjack.v2. Both are written in Go.

# sub2api vs yao

sub2api and yao share 8 technologies: Gin, pq, s3, Postgres, github.com/aws/aws-sdk-go-v2/credentials, github.com/pquerna/otp, github.com/aws/aws-sdk-go-v2, and gopkg.in/natefinch/lumberjack.v2. Both are written in Go.

- [Wei-Shaw/sub2api](https://seerepo.com/r/Wei-Shaw/sub2api): Sub2API 一站式开源中转服务，让 Claude、Openai 、Gemini、Grok订阅统一接入，支持拼车共享，更高效分摊成本，原生工具无缝使用。
- [YaoApp/yao](https://seerepo.com/r/YaoApp/yao): ✨ All your agents and workspaces in one place, on every device you own. Track tasks on a board, accessible from desktop, mobile, browser, or API. Self-hosted.

## What they share and what sets them apart

- In common: Gin, pq, s3, Postgres, github.com/aws/aws-sdk-go-v2/credentials, github.com/pquerna/otp, github.com/aws/aws-sdk-go-v2, gopkg.in/natefinch/lumberjack.v2
- Only in sub2api: go-redis, Redis, Dgraph, github.com/patrickmn/go-cache, SQLite, Alibaba Cloud, Alipay, MCP, Stripe, github.com/zeromicro/go-zero, Vite, Vue, vue-router, entgo.io/ent, github.com/golang-jwt/jwt/v5, github.com/go-webauthn/webauthn, Model Context Protocol, github.com/tiktoken-go/tokenizer, golang.org/x/image, github.com/go-playground/validator/v10, go.uber.org/zap, github.com/aws/aws-sdk-go-v2/config, github.com/hashicorp/go-hclog, github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common, Tailwind CSS, Chart.js, vue-chartjs, driver.js, TanStack, vue-draggable-plus, dompurify, marked, qrcode, xlsx
- Only in yao: go.mongodb.org/mongo-driver, MongoDB, github.com/golang-jwt/jwt/v4, github.com/dchest/captcha, github.com/pkoukk/tiktoken-go, github.com/PuerkitoBio/goquery, github.com/xuri/excelize/v2, github.com/emersion/go-imap, github.com/kaptinlin/jsonschema

## Side by side

| | sub2api | yao |
|---|---|---|
| Size | 1,208,231 lines written, 1,720 code files | 209,303 lines written, 531 code files |
| Who writes it | 18.2% of its commits signed by AI. With Codex, Claude Code, Cursor, GitHub Copilot, and Factory | 5.4% of its commits signed by AI. With Cursor and Claude Code |
| Activity | Last push November 13, 2026, 5,553 commits, 45,985 stars | Last push November 17, 2026, 3,024 commits, 8,313 stars |
| Tests | 2,122 test files. 79.4% of its code files have a test that imports them | 336 test files. 63.1% 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, sub2api or yao?

sub2api, with 1,208,231 lines written; yao has 209,303.

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

### Which has more GitHub stars, sub2api or yao?

sub2api, with 45,985 stars; yao has 8,313.

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

### Which has more tests, sub2api or yao?

sub2api, with 2,122 test files; yao has 336.

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

### Which was updated more recently, sub2api or yao?

yao: its last push was on November 17, 2026, and sub2api's on November 13, 2026.

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

### Which has more commits signed by AI, sub2api or yao?

sub2api: an AI signed 18.2% of its commits, with Codex, Claude Code, Cursor, GitHub Copilot, and Factory; in yao, 5.4%.

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

## Sources

- Wei-Shaw/sub2api: Read on November 13, 2026, at commit 530c5e3 (https://github.com/Wei-Shaw/sub2api/tree/530c5e3a4f9c73ca2b0881191d0ef8e0d82c5484)
- YaoApp/yao: Read on November 17, 2026, at commit aba6302 (https://github.com/YaoApp/yao/tree/aba63025911a58c2a04286e6543d22870609fd8f)

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