Softwr

Documentation · head to head

BookStack vs Keycloak

BookStack logo

BookStack

Documentation

Self-hosted documentation wiki with a fixed shelf, book, chapter and page structure

From
Free
Free plan
Yes
Keycloak logo

Keycloak

Developer Tools

Open-source identity and access management server.

From
Free
Free plan
Yes

The short version

  • Keycloak is an open-source IAM platform supporting OpenID Connect, OAuth 2.
  • Both are free.
  • Where Keycloak falls short: requires self-hosted deployment and operational expertise to install, configure and maintain.

How do BookStack and Keycloak differ?

BookStack and Keycloak differ on pricing model, platforms and category (Documentation against Developer Tools). Only the attributes on which BookStack and Keycloak actually diverge.

Attributes where BookStack and Keycloak differ
AttributeBookStackKeycloak
Pricing modelOpen source, no licence feeOpen-source
PlatformsWeb, Self-hostedSelf-hosted, Linux, Windows, API
CategoryDocumentationDeveloper Tools

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

Which features does each one have?

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

  • Shelves, books, chapters, pages
  • Dual editors
  • Granular permissions
  • Full text search
  • Page revisions
  • REST API
  • External authentication
  • Export

Only in Keycloak

Nothing recorded that BookStack does not also cover.

What is each one used for?

Keycloak is most often brought in for open-source projects and communities requiring free IAM without licensing costs. The jobs each tool is most often brought in to do.

BookStack

  • Running an internal knowledge base on infrastructure inside a network that cannot reach external SaaSnot Keycloak
  • Documenting procedures and runbooks where a fixed structure prevents the tree sprawl a free-form wiki producesnot Keycloak
  • Replacing a Confluence licence for a team that needs pages, permissions and search but none of the surrounding suitenot Keycloak
  • Publishing customer-facing manuals from the same instance as internal documentation using per-book permissionsnot Keycloak

Keycloak

  • Organisations requiring self-hosted identity infrastructure for compliance or data residencynot BookStack
  • Companies with existing LDAP/Active Directory systems needing federated authenticationnot BookStack
  • Open-source projects and communities requiring free IAM without licensing costsnot BookStack
  • Enterprises building custom identity workflows requiring fine-grained authorisationnot BookStack
  • Teams with sufficient operational expertise to manage infrastructurenot BookStack

Where do BookStack and Keycloak fall short?

Keycloak's most cited limit: requires self-hosted deployment and operational expertise to install, configure and maintain. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

BookStack

  • There is no vendor-hosted option at all, so you own the server, TLS certificates, database backups and upgrades, or you pay a third-party host that has no support relationship with the project and no ability to fix a bug
  • The shelf, book, chapter, page hierarchy is fixed at four levels and cannot be reshaped, so migrating a deeply nested Confluence or MediaWiki space means flattening content by hand and losing the original structure
  • It requires PHP and MySQL or MariaDB, which is a stack many engineering teams no longer run, so adopting it usually means introducing a database and runtime nobody else in the organisation maintains
  • Development is concentrated on a single maintainer, which makes the bus factor a legitimate procurement question for anything the organisation intends to depend on for a decade
  • Content lives in the database rather than in files under version control, so there is no docs-as-code workflow, no review by pull request and no branch per release
  • Export is per page, chapter or book, so moving a large instance to another platform means writing a script against the REST API rather than copying a directory of Markdown

Keycloak

  • Requires self-hosted deployment and operational expertise to install, configure and maintain
  • No managed cloud option provided by Red Hat; organisations must operate infrastructure themselves or use third-party distributions
  • Clustering and high-availability configurations require additional operational knowledge
  • Community support only; commercial support requires third-party vendors or distributions

How much do BookStack and Keycloak cost?

BookStack is free to use; Keycloak is free to use. Plan by plan below, from each vendor's own pricing page.

BookStack

Free
  • BookStackFree
    • MIT licence with no paid edition
    • All features included, no seat limits
    • Self-hosted on your own infrastructure

Keycloak

Free
  • Open-sourceFree
    • Full platform functionality
    • Self-hosted deployment
    • Community support

Which should you pick?

Choose BookStack if

  • You need shelves, books, chapters, pages.
  • You want to start without paying.
  • You work on Web, Self-hosted.
  • You also want dual editors.

Choose Keycloak if

  • You want to start without paying.
  • You work on Self-hosted, Linux, Windows, API.

Questions people ask

Is BookStack or Keycloak better?
It depends on the job. BookStack fits running an internal knowledge base on infrastructure inside a network that cannot reach external SaaS; Keycloak fits organisations requiring self-hosted identity infrastructure for compliance or data residency. BookStack starts at Free and Keycloak at Free.
Which is cheaper, BookStack or Keycloak?
BookStack starts at Free and Keycloak at Free.
Does BookStack or Keycloak run on more platforms?
BookStack runs on Web, Self-hosted. Keycloak runs on Self-hosted, Linux, Windows, API.
Can I use BookStack for free?
Both have a free tier, so you can try either at no cost before committing.
What is BookStack best used for?
BookStack is most often used for running an internal knowledge base on infrastructure inside a network that cannot reach external saas, documenting procedures and runbooks where a fixed structure prevents the tree sprawl a free-form wiki produces, replacing a confluence licence for a team that needs pages, permissions and search but none of the surrounding suite, publishing customer-facing manuals from the same instance as internal documentation using per-book permissions. Of those, running an internal knowledge base on infrastructure inside a network that cannot reach external saas and documenting procedures and runbooks where a fixed structure prevents the tree sprawl a free-form wiki produces are not what Keycloak is typically brought in for.
What can BookStack do that Keycloak cannot?
BookStack covers Shelves, books, chapters, pages, Dual editors, Granular permissions, Full text search.

Answered from the vendors’ own pages

BookStack: Is there a paid or hosted version?

No. BookStack is MIT-licensed with no commercial edition and no official hosted service. Third-party hosts exist but are unaffiliated with the project.

Keycloak: What protocols does Keycloak support?

Keycloak supports OpenID Connect, OAuth 2.0 and SAML 2.0 protocols for authentication and authorisation.

Source
BookStack: Can I nest pages more deeply?

No. Four levels is the design, not a limitation waiting to be fixed, and content that needs deeper nesting has to be restructured.

Keycloak: Can Keycloak integrate with existing user directories?

Yes. Keycloak supports user federation with LDAP and Active Directory systems, allowing organisations to leverage existing user directories.

Source
BookStack: Does it support single sign-on?

Yes, through LDAP, SAML2 or OpenID Connect, with group to role mapping, and none of it is gated behind a paid tier because there is no paid tier.

Keycloak: Is Keycloak free?

Yes. Keycloak is fully open-source and free to deploy and use. No licensing fees are required.

Source
BookStack: How hard is it to migrate content in?

Straightforward for flat content through the REST API, awkward for deeply nested wikis, because the structure has to be collapsed to fit.

Share

Related pages

Other head to heads