Softwr

Developer Tools · head to head

Hanko vs Trunk Code Quality

Hanko logo

Hanko

Developer Tools

Open-source, passkey-first authentication and user management you can self-host or run in the cloud

From
Free
Free plan
Yes
Trunk Code Quality logo

Trunk Code Quality

Developer Tools

Metalinter that runs and manages linters, formatters and security scanners

From
Free
Free plan
Yes

The short version

  • Trunk Code Quality is free; Hanko starts at $29/mo.
  • Only Hanko lists passkeys, passwords and passcodes; only Trunk Code Quality lists version pinning through trunk.yaml.
  • Where Hanko falls short: organisations, roles and permissions are not yet released.
  • Where Trunk Code Quality falls short: private repositories with more than five active committers need a paid licence.

How do Hanko and Trunk Code Quality differ?

Hanko and Trunk Code Quality differ on pricing model (Open-source against Freemium) and platforms. Only the attributes on which Hanko and Trunk Code Quality actually diverge.

Attributes where Hanko and Trunk Code Quality differ
AttributeHankoTrunk Code Quality
Pricing modelOpen-sourceFreemium
PlatformsWebmacOS, Linux, Windows

Identical on both: starting price (Free), free tier (Yes).

Not yet recorded: category for Hanko, founded for Hanko.

Which features does each one have?

They share no listed features; 8 appear only for Hanko and 8 only for Trunk Code Quality. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Hanko

  • Passkeys, passwords and passcodes
  • Social and OAuth login
  • MFA with TOTP and security keys
  • SAML enterprise SSO
  • Hanko Elements web components
  • Webhooks and admin API
  • Server-side sessions and revocation
  • Self-hosting or managed cloud

Only in Trunk Code Quality

  • Installs and runs over 100 linters and formatters
  • Version pinning through trunk.yaml
  • Hold the Line checks on new changes only
  • Background daemon that precomputes results
  • VS Code and Neovim editor integration
  • GitHub integration for pull request checks
  • Security scanning tools such as trivy and gitleaks
  • Runs in any CI environment

What is each one used for?

Hanko is most often brought in for passkey-first login for consumer apps; Trunk Code Quality for running one lint command across a polyglot repository. The jobs each tool is most often brought in to do.

Hanko

  • Passkey-first login for consumer appsnot Trunk Code Quality
  • Self-hosted auth for privacy-sensitive productsnot Trunk Code Quality
  • Replacing a Firebase or Cognito loginnot Trunk Code Quality
  • Adding MFA to a web appnot Trunk Code Quality
  • EU-hosted authenticationnot Trunk Code Quality

Trunk Code Quality

  • Running one lint command across a polyglot repositorynot Hanko
  • Gradually fixing legacy code with Hold the Linenot Hanko
  • Pinning linter versions across a teamnot Hanko
  • Enforcing the same checks locally and in CInot Hanko
  • Adding security scanners to pull requestsnot Hanko

Where do Hanko and Trunk Code Quality fall short?

Hanko's most cited limit: organisations, roles and permissions are not yet released. Trunk Code Quality's: private repositories with more than five active committers need a paid licence. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Hanko

  • Organisations, roles and permissions are not yet released
  • Native iOS, Android and Flutter SDKs are still on the roadmap
  • AGPL-3.0 licence may need a commercial licence for some products
  • SAML SSO costs $49 a month per connection on top of Pro

Trunk Code Quality

  • Private repositories with more than five active committers need a paid licence
  • Paid Team and Enterprise prices are not published; quotes come from sales
  • Core CLI is closed source, with only plugins and the GitHub Action under MIT
  • Results depend on the underlying linters, so rule coverage is not Trunk's own

How much do Hanko and Trunk Code Quality cost?

Hanko has a free plan, with paid plans from $29/mo; Trunk Code Quality is free to use. Plan by plan below, from each vendor's own pricing page.

Hanko

Free
  • StarterFree
    • 10,000 monthly active users
    • 2 projects
    • Passkeys, passwords, MFA, social login
  • Pro$29/mo
    • $0.01 per monthly active user above 10,000
    • 5 projects
    • Webhooks and admin API

Trunk Code Quality

Free
  • Free (up to 5 active committers on private repos)Free
  • Team (per seat)On request
  • Enterprise (annual site licence)On request

Which should you pick?

Choose Hanko if

  • You need passkeys, passwords and passcodes.
  • You want to start without paying.
  • You also want social and oauth login.

Choose Trunk Code Quality if

  • You need installs and runs over 100 linters and formatters.
  • You want to start without paying.
  • You work on macOS, Linux, Windows.
  • You also want version pinning through trunk.yaml.

Questions people ask

Is Hanko or Trunk Code Quality better?
It depends on the job. Hanko fits passkey-first login for consumer apps; Trunk Code Quality fits running one lint command across a polyglot repository. Hanko starts at Free and Trunk Code Quality at Free.
Which is cheaper, Hanko or Trunk Code Quality?
Hanko starts at Free and Trunk Code Quality at Free.
Does Hanko or Trunk Code Quality run on more platforms?
Hanko runs on Web. Trunk Code Quality runs on macOS, Linux, Windows.
Can I use Hanko for free?
Both have a free tier, so you can try either at no cost before committing.
What is Hanko best used for?
Hanko is most often used for passkey-first login for consumer apps, self-hosted auth for privacy-sensitive products, replacing a firebase or cognito login, adding mfa to a web app. Of those, passkey-first login for consumer apps and self-hosted auth for privacy-sensitive products are not what Trunk Code Quality is typically brought in for.
What can Hanko do that Trunk Code Quality cannot?
Hanko covers Passkeys, passwords and passcodes, Social and OAuth login, MFA with TOTP and security keys, SAML enterprise SSO. Trunk Code Quality covers Installs and runs over 100 linters and formatters, Version pinning through trunk.yaml, Hold the Line checks on new changes only, Background daemon that precomputes results.

Answered from the vendors’ own pages

Hanko: Is Hanko open source?

Yes. Hanko is open-source under the AGPL-3.0 licence and can be self-hosted, or used as the managed Hanko Cloud.

Source
Trunk Code Quality: What does Trunk Code Quality do?

It is a metalinter that installs, pins and runs third party linters, formatters and security scanners from one CLI. A background daemon precomputes results for editor annotations.

Source
Hanko: How much does Hanko Cloud cost?

Starter is free with 10,000 monthly active users. Pro is $29 a month plus $0.01 per user above 10,000.

Source
Trunk Code Quality: Is Trunk Code Quality free?

Public and open source repositories have no stated usage limit, and private repositories with five or fewer active committers can use the CLI at no cost. Larger private teams need a paid licence.

Source
Hanko: Does Hanko support SAML SSO?

Yes. SAML SSO is available on Pro at $49 a month per connection.

Source
Trunk Code Quality: Which operating systems are supported?

The launcher supports macOS and Linux. Windows is supported from CLI version 1.13.0, using git-bash, msys2 or a PowerShell launcher.

Source
Hanko: What counts as a monthly active user?

A user who is issued a session token at least once in a month, or whose session token is validated through Hanko, counts once for that month.

Source
Trunk Code Quality: How many linters does it support?

The supported linters page claims over 100 linters and formatters. They cover many languages plus infrastructure, security, SQL and Markdown tooling.

Source
Share

Related pages

Other head to heads