Source: https://seerepo.com/compare/iyear/tdl/vs/Wei-Shaw/sub2api
Markdown source: https://seerepo.com/compare/iyear/tdl/vs/Wei-Shaw/sub2api.md
Description: tdl and sub2api share 3 technologies: github.com/go-playground/validator/v10, go.uber.org/zap, and gopkg.in/natefinch/lumberjack.v2. Both are written in Go.

# tdl vs sub2api

tdl and sub2api share 3 technologies: github.com/go-playground/validator/v10, go.uber.org/zap, and gopkg.in/natefinch/lumberjack.v2. Both are written in Go.

- [iyear/tdl](https://seerepo.com/r/iyear/tdl): 📥 A Telegram toolkit written in 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: github.com/go-playground/validator/v10, go.uber.org/zap, gopkg.in/natefinch/lumberjack.v2
- Only in tdl: Gorilla, etcd, GitHub, github.com/jedib0t/go-pretty/v6, github.com/AlecAivazis/survey/v2, github.com/skip2/go-qrcode, github.com/yapingcat/gomedia
- Only in sub2api: Gin, go-redis, pq, s3, Redis, Postgres, 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, 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/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, Tailwind CSS, Chart.js, vue-chartjs, driver.js, TanStack, vue-draggable-plus, dompurify, marked, qrcode, xlsx

## Side by side

| | tdl | sub2api |
|---|---|---|
| Size | 12,557 lines written, 115 code files | 1,208,231 lines written, 1,720 code files |
| Who writes it | 0% of its commits signed by AI | 18.2% of its commits signed by AI. With Codex, Claude Code, Cursor, GitHub Copilot, and Factory |
| Activity | Last push November 16, 2026, 985 commits, 8,281 stars | Last push November 13, 2026, 5,553 commits, 45,985 stars |
| Tests | 17 test files. 18.3% 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, tdl or sub2api?

sub2api, with 1,208,231 lines written; tdl has 12,557.

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

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

sub2api, with 45,985 stars; tdl has 8,281.

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

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

sub2api, with 2,122 test files; tdl has 17.

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

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

tdl: its last push was on November 16, 2026, and sub2api's on November 13, 2026.

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

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

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

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

## Sources

- iyear/tdl: Read on November 17, 2026, at commit 70c561c (https://github.com/iyear/tdl/tree/70c561c0a6d44d8d7fffdea14988fc4104bc56d2)
- 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.
