Softwr

Documentation · head to head

Fumadocs vs Trunk Code Quality

Fumadocs logo

Fumadocs

Documentation

Documentation framework for Next.js that treats the docs site as an application rather than a static export

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

  • Fumadocs is a set of Next.
  • Both are free.
  • Only Fumadocs lists next.js App Router native; only Trunk Code Quality lists version pinning through trunk.yaml.
  • Where Trunk Code Quality falls short: private repositories with more than five active committers need a paid licence.

How do Fumadocs and Trunk Code Quality differ?

Fumadocs and Trunk Code Quality differ on pricing model, platforms and category (Documentation against Developer Tools). Only the attributes on which Fumadocs and Trunk Code Quality actually diverge.

Attributes where Fumadocs and Trunk Code Quality differ
AttributeFumadocsTrunk Code Quality
Pricing modelOpen source, no licence feeFreemium
PlatformsWeb, macOS, Windows, LinuxmacOS, Linux, Windows
CategoryDocumentationDeveloper Tools

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

Not yet recorded: founded for Fumadocs.

Which features does each one have?

They share no listed features; 7 appear only for Fumadocs 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 Fumadocs

  • Next.js App Router native
  • Multiple content sources
  • OpenAPI page generation
  • Built in search
  • Headless and styled layers
  • Type safe frontmatter
  • Code and content colocation

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?

Trunk Code Quality is most often brought in for running one lint command across a polyglot repository. The jobs each tool is most often brought in to do.

Fumadocs

  • Documentation that must sit behind login and show different content to different customer plansnot Trunk Code Quality
  • A Next.js product team that wants docs to deploy in the same pipeline as the applicationnot Trunk Code Quality
  • API reference pages generated from an OpenAPI document alongside hand written guides in one navigation treenot Trunk Code Quality
  • A design system site where the component documentation must render the live components from the same codebasenot Trunk Code Quality

Trunk Code Quality

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

Where do Fumadocs and Trunk Code Quality fall short?

Trunk Code Quality's most cited limit: 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.

Fumadocs

  • It is a library rather than a finished theme, so the initial setup is meaningfully longer than a generator that ships a working site from one command
  • Maintenance is concentrated in a very small group, so an unresponsive week is a blocked upgrade and there is no support contract to escalate to
  • It only targets Next.js, so adopting it commits the documentation to that framework and a later migration means rewriting the site rather than swapping a theme
  • Breaking changes have arrived across minor versions during rapid development, so pinning versions and reading migration notes is a recurring cost rather than a one off
  • Running docs inside the application means docs traffic hits your application infrastructure and shares its failure modes, where a separate static site would have stayed up

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 Fumadocs and Trunk Code Quality cost?

Fumadocs is free to use; Trunk Code Quality is free to use. Plan by plan below, from each vendor's own pricing page.

Fumadocs

Free
  • Open sourceFree
    • MIT licence
    • All packages included
    • Self hosted or deployed with your Next.js application

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 Fumadocs if

  • You need next.js app router native.
  • You want to start without paying.
  • You work on Web, macOS, Windows, Linux.
  • You also want multiple content sources.

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 Fumadocs or Trunk Code Quality better?
It depends on the job. Fumadocs fits documentation that must sit behind login and show different content to different customer plans; Trunk Code Quality fits running one lint command across a polyglot repository. Fumadocs starts at Free and Trunk Code Quality at Free.
Which is cheaper, Fumadocs or Trunk Code Quality?
Fumadocs starts at Free and Trunk Code Quality at Free.
Does Fumadocs or Trunk Code Quality run on more platforms?
Fumadocs runs on Web, macOS, Windows, Linux. Trunk Code Quality runs on macOS, Linux, Windows.
Can I use Fumadocs for free?
Both have a free tier, so you can try either at no cost before committing.
What is Fumadocs best used for?
Fumadocs is most often used for documentation that must sit behind login and show different content to different customer plans, a next.js product team that wants docs to deploy in the same pipeline as the application, api reference pages generated from an openapi document alongside hand written guides in one navigation tree, a design system site where the component documentation must render the live components from the same codebase. Of those, documentation that must sit behind login and show different content to different customer plans and a next.js product team that wants docs to deploy in the same pipeline as the application are not what Trunk Code Quality is typically brought in for.
What can Fumadocs do that Trunk Code Quality cannot?
Fumadocs covers Next.js App Router native, Multiple content sources, OpenAPI page generation, Built in search. 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

Fumadocs: Can I put documentation behind authentication?

Yes. Pages are Next.js server components, so the same session and authorisation checks the rest of the application uses apply.

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
Fumadocs: Does it work outside Next.js?

No. The UI layer depends on the Next.js App Router.

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
Fumadocs: Can it generate pages from an OpenAPI spec?

Yes, including operation pages, schema rendering and an interactive request playground.

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
Fumadocs: Who maintains it and is that a risk?

A very small maintainer group. For a long lived commercial documentation set, treat the low bus factor as a real risk and budget for owning a fork.

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
Fumadocs: Do I still need a separate docs deployment?

No, and avoiding one is the main reason to choose it. The cost is that docs share your application uptime.

Share

Related pages

Other head to heads