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.
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
- Echo
- pgx
- redigo
github.com/go-redsync/redsync/v4
- MySQL
github.com/labstack/echo-contrib
github.com/lestrrat-go/jwx/v2
- golang.org/x/oauth2
- github.com/russellhaering/gosaml2
- github.com/labstack/echo-jwt/v4
github.com/coreos/go-oidc/v3
- github.com/russellhaering/goxmldsig
- gopkg.in/gomail.v2
- github.com/beevik/etree
github.com/invopop/jsonschema
- github.com/mattermost/xml-roundtrip-validator
- github.com/rs/zerolog
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
- Gin
- go-redis
s3
- 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/aws/aws-sdk-go-v2/credentials
- Model Context Protocol
- github.com/tiktoken-go/tokenizer
- golang.org/x/image
- go.uber.org/zap
github.com/aws/aws-sdk-go-v2
- 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
hankosub2api
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%.
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

