Source: https://seerepo.com/compare/smartcontractkit/chainlink/vs/Wei-Shaw/sub2api
Markdown source: https://seerepo.com/compare/smartcontractkit/chainlink/vs/Wei-Shaw/sub2api.md
Description: chainlink and sub2api share 8 technologies: Gin, pq, Postgres, github.com/patrickmn/go-cache, github.com/golang-jwt/jwt/v5, github.com/go-webauthn/webauthn, go.uber.org/zap, and gopkg.in/natefinch/lumberjack.v2. Both are written in Go.

# chainlink vs sub2api

chainlink and sub2api share 8 technologies: Gin, pq, Postgres, github.com/patrickmn/go-cache, github.com/golang-jwt/jwt/v5, github.com/go-webauthn/webauthn, go.uber.org/zap, and gopkg.in/natefinch/lumberjack.v2. Both are written in Go.

- [smartcontractkit/chainlink](https://seerepo.com/r/smartcontractkit/chainlink): node of the decentralized oracle network, bridging on and off-chain computation
- [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, github.com/patrickmn/go-cache, github.com/golang-jwt/jwt/v5, github.com/go-webauthn/webauthn, go.uber.org/zap, gopkg.in/natefinch/lumberjack.v2
- Only in chainlink: net/http, pgx, github.com/pressly/goose/v3, Sentry, github.com/graph-gophers/graphql-go, github.com/olekukonko/tablewriter, github.com/c-bata/go-prompt, github.com/jmoiron/sqlx, github.com/gin-contrib/sessions, github.com/go-ldap/ldap/v3, golang.org/x/oauth2, github.com/coreos/go-oidc/v3, github.com/gorilla/securecookie, OpenTelemetry, Prometheus, github.com/rs/zerolog, github.com/grafana/pyroscope-go, github.com/moby/moby/client, github.com/aws/aws-sdk-go, github.com/grafana/otel-profiling-go, go.opentelemetry.io/contrib/bridges/prometheus, go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin
- Only in sub2api: go-redis, s3, Redis, Dgraph, SQLite, Alibaba Cloud, Alipay, MCP, Stripe, github.com/zeromicro/go-zero, Vite, Vue, vue-router, entgo.io/ent, 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, 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

| | chainlink | sub2api |
|---|---|---|
| Size | 779,754 lines written, 1,499 code files | 1,208,231 lines written, 1,720 code files |
| Who writes it | 0.6% of its commits signed by AI. With Claude Code, GitHub Copilot, and Cursor | 18.2% of its commits signed by AI. With Codex, Claude Code, Cursor, GitHub Copilot, and Factory |
| Activity | Last push November 17, 2026, 24,957 commits, 8,253 stars | Last push November 13, 2026, 5,553 commits, 45,985 stars |
| Tests | 1,537 test files. 69.7% 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, chainlink or sub2api?

sub2api, with 1,208,231 lines written; chainlink has 779,754.

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

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

sub2api, with 45,985 stars; chainlink has 8,253.

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

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

sub2api, with 2,122 test files; chainlink has 1,537.

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

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

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

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

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

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

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

## Sources

- smartcontractkit/chainlink: Read on November 17, 2026, at commit 63a2056 (https://github.com/smartcontractkit/chainlink/tree/63a20562b000f4207a3c8ca5ac18922567dae2ae)
- 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.
