hanko vs sub2api

hanko and sub2api share 7 technologies: pq, Redis, Postgres, github.com/go-webauthn/webauthn, github.com/pquerna/otp, github.com/go-playground/validator/v10, and github.com/aws/aws-sdk-go-v2/config. Both are written in Go.

Read it as markdown

What they share and what sets them apart

teamhanko

hanko

Modern authentication, on your terms. Open source alternative to Auth0, Clerk, WorkOS, Stytch.

Go9.1kRead on November 15, 2026, at commit 31909b8What is hanko built with?

Only in hanko

In common

Wei-Shaw

sub2api

Sub2API 一站式开源中转服务,让 Claude、Openai 、Gemini、Grok订阅统一接入,支持拼车共享,更高效分摊成本,原生工具无缝使用。

Go46kRead on November 13, 2026, at commit 530c5e3What is sub2api built with?

Only in sub2api

Side by side

SizeLines written by people and agents, without generated ones; code files, without tests.
hanko78,772 lines written553 code files
sub2api1,208,231 lines written1,720 code files
Who writes itA commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
hanko0.5% of its commits signed by AIWith Claude Code and GitHub Copilot
sub2api18.2% of its commits signed by AIWith Codex, Claude Code, Cursor, GitHub Copilot, and Factory
ActivityFrom GitHub and its history, on the day SeeRepo read it.
hankoLast push November 14, 20262,277 commits9,072 stars
sub2apiLast push November 13, 20265,553 commits45,985 stars
TestsThe files that test the code, and the share of code files a test imports.
hanko134 test files25.9% of its code files have a test that imports them
sub2api2,122 test files79.4% of its code files have a test that imports them

Frequently asked questions

Which is bigger, hanko or sub2api?
sub2api, with 1,208,231 lines written; hanko has 78,772.

The proof: Wei-Shaw/sub2api's code at commit 530c5e3

Which has more GitHub stars, hanko or sub2api?
sub2api, with 45,985 stars; hanko has 9,072.

The proof: Wei-Shaw/sub2api on GitHub

Which has more tests, hanko or sub2api?
sub2api, with 2,122 test files; hanko has 134.

The proof: Wei-Shaw/sub2api's code at commit 530c5e3

Which was updated more recently, hanko or sub2api?
hanko: its last push was on November 14, 2026, and sub2api's on November 13, 2026.

The proof: teamhanko/hanko's commits on GitHub

Which has more commits signed by AI, hanko or sub2api?
sub2api: an AI signed 18.2% of its commits, with Codex, Claude Code, Cursor, GitHub Copilot, and Factory; in hanko, 0.5%.

The proof: the commits each tool signed in Wei-Shaw/sub2api

See inside your code, today.

Paste your repo and see it drawn, part by part: a medium one in under a minute.

Free, no account.Private repo? Sign in with GitHub

Or look inside SeeRepo's own →