Source: https://seerepo.com/compare/appleboy/gorush/vs/Wei-Shaw/sub2api
Markdown source: https://seerepo.com/compare/appleboy/gorush/vs/Wei-Shaw/sub2api.md
Description: gorush and sub2api share 3 technologies: Gin, go-redis, and Dgraph. Both are written in Go.

# gorush vs sub2api

gorush and sub2api share 3 technologies: Gin, go-redis, and Dgraph. Both are written in Go.

- [appleboy/gorush](https://seerepo.com/r/appleboy/gorush): A push notification server written in Go (Golang).
- [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, go-redis, Dgraph
- Only in gorush: github.com/asdine/storm/v3, github.com/syndtr/goleveldb, github.com/tidwall/buntdb, github.com/sirupsen/logrus, Prometheus, github.com/grpc-ecosystem/go-grpc-prometheus, github.com/rs/zerolog, go.opencensus.io
- Only in sub2api: pq, s3, Redis, Postgres, 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, github.com/aws/aws-sdk-go-v2/credentials, github.com/pquerna/otp, 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, 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, marked, qrcode, xlsx

## Side by side

| | gorush | sub2api |
|---|---|---|
| Size | 12,397 lines written, 36 code files | 1,208,231 lines written, 1,720 code files |
| Who writes it | 2.2% of its commits signed by AI. With Claude Code and GitHub Copilot | 18.2% of its commits signed by AI. With Codex, Claude Code, Cursor, GitHub Copilot, and Factory |
| Activity | Last push July 25, 2026, 1,131 commits, 8,799 stars | Last push November 13, 2026, 5,553 commits, 45,985 stars |
| Tests | 24 test files. 77.8% of its code files have a test that imports them | 2,122 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, gorush or sub2api?

sub2api, with 1,208,231 lines written; gorush has 12,397.

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

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

sub2api, with 45,985 stars; gorush has 8,799.

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

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

sub2api, with 2,122 test files; gorush has 24.

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

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

sub2api: its last push was on November 13, 2026, and gorush's on July 25, 2026.

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

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

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

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

## Sources

- appleboy/gorush: Read on November 16, 2026, at commit 891b453 (https://github.com/appleboy/gorush/tree/891b4530db8f5db2beeb44b42665999ab802799f)
- Wei-Shaw/sub2api: Read on November 13, 2026, at commit 530c5e3 (https://github.com/Wei-Shaw/sub2api/tree/530c5e3a4f9c73ca2b0881191d0ef8e0d82c5484)

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