Source: https://seerepo.com/compare/apache/answer/vs/Wei-Shaw/sub2api
Markdown source: https://seerepo.com/compare/apache/answer/vs/Wei-Shaw/sub2api.md
Description: answer and sub2api share 10 technologies: Gin, pq, Postgres, SQLite, MCP, Vite, golang.org/x/image, github.com/go-playground/validator/v10, marked, and qrcode. Both are written in Go.

# answer vs sub2api

answer and sub2api share 10 technologies: Gin, pq, Postgres, SQLite, MCP, Vite, golang.org/x/image, github.com/go-playground/validator/v10, marked, and qrcode. Both are written in Go.

- [apache/answer](https://seerepo.com/r/apache/answer): A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
- [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, pq, Postgres, SQLite, MCP, Vite, golang.org/x/image, github.com/go-playground/validator/v10, marked, qrcode
- Only in answer: MySQL, OpenAI, React, react-router-dom, xorm.io/xorm, xorm.io/builder, go-openai, mcp-go, github.com/microcosm-cc/bluemonday, github.com/disintegration/imaging, github.com/yuin/goldmark, github.com/asaskevich/govalidator, classnames, Bootstrap, react-bootstrap, CodeMirror, react-helmet-async, front-matter
- Only in sub2api: go-redis, s3, Redis, Dgraph, github.com/patrickmn/go-cache, Stripe, Vue, vue-router, github.com/golang-jwt/jwt/v5, github.com/go-webauthn/webauthn, github.com/aws/aws-sdk-go-v2/credentials, github.com/pquerna/otp, Model Context Protocol, github.com/tiktoken-go/tokenizer, go.uber.org/zap, github.com/aws/aws-sdk-go-v2, github.com/aws/aws-sdk-go-v2/config, github.com/hashicorp/go-hclog, github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common, gopkg.in/natefinch/lumberjack.v2, Tailwind CSS, Chart.js, vue-chartjs, driver.js, TanStack, vue-draggable-plus, dompurify, xlsx

## Side by side

| | answer | sub2api |
|---|---|---|
| Size | 138,281 lines written, 837 code files | 1,195,971 lines written, 1,709 code files |
| Who writes it | 0.1% of its commits signed by AI. With Claude Code and GitHub Copilot | 17.7% of its commits signed by AI. With Codex, Claude Code, Cursor, Gemini CLI, GitHub Copilot, and Factory |
| Activity | Last push November 5, 2026, 4,029 commits, 15,711 stars | Last push November 6, 2026, 5,468 commits, 45,539 stars |
| Tests | 58 test files. 13.1% of its code files have a test that imports them | 2,063 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, answer or sub2api?

sub2api, with 1,195,971 lines written; answer has 138,281.

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

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

sub2api, with 45,539 stars; answer has 15,711.

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

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

sub2api, with 2,063 test files; answer has 58.

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

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

sub2api: its last push was on November 6, 2026, and answer's on November 5, 2026.

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

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

sub2api: an AI signed 17.7% of its commits, with Codex, Claude Code, Cursor, Gemini CLI, GitHub Copilot, and Factory; in answer, 0.1%.

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

## Sources

- apache/answer: Read on November 7, 2026, at commit 6744295 (https://github.com/apache/answer/tree/6744295fa888e0621fc9f9a8ace04f1a4daf8554)
- Wei-Shaw/sub2api: Read on November 6, 2026, at commit 9432aa0 (https://github.com/Wei-Shaw/sub2api/tree/9432aa05fc21e3fe3bd042268d11158c7c1a2561)

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