Softwr

Documentation · head to head

BookStack vs Stimulus

BookStack logo

BookStack

Documentation

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

From
Free
Free plan
Yes
Stimulus logo

Stimulus

Web Development

Small JavaScript framework that adds behaviour to existing server rendered HTML

From
Free
Free plan
Yes

The short version

  • Stimulus is an MIT licensed JavaScript framework.
  • Both are free.
  • Only BookStack lists shelves, books, chapters, pages; only Stimulus lists works with server rendered HTML.
  • Where Stimulus falls short: does not render templates, so HTML must come from the server or another tool.

How do BookStack and Stimulus differ?

BookStack and Stimulus differ on pricing model, platforms (Web, Self-hosted against Web) and category (Documentation against Web Development). Only the attributes on which BookStack and Stimulus actually diverge.

Attributes where BookStack and Stimulus differ
AttributeBookStackStimulus
Pricing modelOpen source, no licence feeOpen-source
PlatformsWeb, Self-hostedWeb
CategoryDocumentationWeb Development

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

Not yet recorded: founded for BookStack.

Which features does each one have?

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

  • Controllers attached through data-controller
  • Actions that bind DOM events to controller methods
  • Targets for locating elements inside a controller
  • Values that read, write and observe data attributes
  • Works with server rendered HTML
  • Designed to pair with Turbo in Hotwire
  • MIT licensed open source

What is each one used for?

Stimulus is most often brought in for adding small interactions to Rails views. 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 Stimulus
  • Documenting procedures and runbooks where a fixed structure prevents the tree sprawl a free-form wiki producesnot Stimulus
  • Replacing a Confluence licence for a team that needs pages, permissions and search but none of the surrounding suitenot Stimulus
  • Publishing customer-facing manuals from the same instance as internal documentation using per-book permissionsnot Stimulus

Stimulus

  • Adding small interactions to Rails viewsnot BookStack
  • Progressive enhancement of server rendered pagesnot BookStack
  • Pairing with Turbo for fast page updatesnot BookStack
  • Replacing scattered jQuery codenot BookStack
  • Form and widget behaviour on existing HTMLnot BookStack

Where do BookStack and Stimulus fall short?

Stimulus's most cited limit: does not render templates, so HTML must come from the server or another tool. 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

Stimulus

  • Does not render templates, so HTML must come from the server or another tool
  • No built in routing, data fetching or client side state management
  • Behaviour is tied to data attributes in markup, which some teams find harder to trace
  • Not a component framework, so large interactive interfaces need other libraries

How much do BookStack and Stimulus cost?

BookStack is free to use; Stimulus 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

Stimulus

Free

No published plan breakdown. See the Stimulus review.

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

  • You need controllers attached through data-controller.
  • You want to start without paying.
  • You also want actions that bind dom events to controller methods.

Questions people ask

Is BookStack or Stimulus better?
It depends on the job. BookStack fits running an internal knowledge base on infrastructure inside a network that cannot reach external SaaS; Stimulus fits adding small interactions to Rails views. BookStack starts at Free and Stimulus at Free.
Which is cheaper, BookStack or Stimulus?
BookStack starts at Free and Stimulus at Free.
Does BookStack or Stimulus run on more platforms?
BookStack runs on Web, Self-hosted. Stimulus runs on Web.
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 Stimulus is typically brought in for.
What can BookStack do that Stimulus cannot?
BookStack covers Shelves, books, chapters, pages, Dual editors, Granular permissions, Full text search. Stimulus covers Controllers attached through data-controller, Actions that bind DOM events to controller methods, Targets for locating elements inside a controller, Values that read, write and observe data attributes.

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.

Stimulus: What is Stimulus used for?

Stimulus enhances HTML that already exists on the page by connecting JavaScript controllers to elements through data attributes. It does not generate the HTML itself.

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.

Stimulus: What are the core concepts in Stimulus?

Controllers are the main unit, and they are joined by actions, targets and values. Actions link events to methods, targets find elements and values store state in data attributes.

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.

Stimulus: What licence does Stimulus use?

The GitHub repository states that Stimulus is released under the MIT licence. It is free to use.

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.

Stimulus: Why was Stimulus created?

According to the project's origin page, Basecamp used a mix of jQuery, vanilla JavaScript and object oriented subsystems that were hard to reuse and learn. Stimulus condensed those patterns into a small, consistent framework.

Source
Share

Related pages

Other head to heads