mothermachine

Browse / Notes and knowledge

BookStack

Opinionated documentation wiki (shelves, books, chapters, pages) with .env config and a token REST API.

AdaptableOperable Business appWeb app Deterministic PHPJavaScript API License: MIT

BookStack is a PHP/Laravel documentation platform that organizes content as shelves, books, chapters, and pages with WYSIWYG and markdown editors, roles and permissions, and many auth methods. Its REST API, documented at /api/docs on every instance, covers content, search, users, permissions, attachments, and audit log with token auth. MIT; development now lives on Codeberg.

Use it when
  • you need an internal manual or client documentation site with roles and SSO, without a per-seat price
  • you want an agent to write and file runbooks into books and chapters over a token API
Gotchas
  • Primary development moved to codeberg.org/bookstack/bookstack; GitHub is a mirror, and issues go to Codeberg
  • Needs PHP and MySQL/MariaDB; the docker-compose.yml in the repo is for development, and Docker images are community-maintained (linuxserver.io, solidnerd)
  • API tokens need the Access System API permission; default rate limit 180 requests per minute

Last activity Sep 2, 2026. Fit: adaptable 3, operable 3.

Editions

Free · Free open source

  • Clonegit clone https://codeberg.org/bookstack/bookstack
  • Installsee installation scripts for Ubuntu and Debian

For agents: JSON · Markdown

Adaptable: what is yours to change

Make it yours

Config only17 things to edit

.env.example names the surface: APP_KEY, APP_URL, DB_HOST, DB_DATABASE, DB_USERNAME, DB_PASSWORD, MAIL_* for email, STORAGE_TYPE for uploads; the docs add AUTH_METHOD (standard, ldap, saml2, oidc), LDAP_*, OIDC_*, and theming through a themes folder. No code edits for a standard deployment; visual and logic overrides go through the documented theme system.

Env vars
APP_KEY APP_URL DB_HOST DB_DATABASE DB_USERNAME DB_PASSWORD MAIL_DRIVER MAIL_HOST MAIL_PORT MAIL_USERNAME MAIL_PASSWORD MAIL_FROM MAIL_FROM_NAME MAIL_ENCRYPTION STORAGE_TYPE AUTH_METHOD
Config files
.env
Prompt files
none
Accounts you need
LDAP, SAML2, or OIDC provider (optional)

Source

Operable: what an agent can drive

Interface

OfficialAPIpublished by the builderlocal

How an agent can drive an Operable Listing, in five levels: native (built for the agent as the primary interface), official (the Builder ships an agent interface), wrapped (a third party wraps the software's API), config (an agent can only drive it by editing files), gui (screen control only). An interface is official only when it is published by the same organization that ships the software. GUI-level Listings are allowed and sorted last.

Docs
demo.bookstackapp.com/api/docs

Reach

Partial coverage. 9 of 10 jobs reachable through the stated interface.

JobThrough the interfaceEvidence
Create and edit pages, chapters, books, and shelvesReachableapi/docs resource groups Pages, Chapters, Books, Shelves
Search contentReachableSearch resource
Attachments and image galleryReachableAttachments and Image Gallery resources
Users, roles, and content permissionsReachableUsers, Roles, Content Permissions resources
Tag contentReachableTags resource plus tags on content payloads
CommentsReachableComments resource listed in api/docs
Export pages and books (HTML, PDF, text, markdown)Reachableexport endpoints on pages, chapters, books
Audit log and recycle binReachableAudit Log and Recycle Bin resources
Import contentReachableImports resource
Diagrams (diagrams.net drawings) and WYSIWYG editingNot reachableeditor-side features; API takes HTML or markdown only

Code stack

Languages
PHPJavaScript
Frameworks
Laravel
Package manager
composer
Database
MySQLMariaDB
Hosting target
linuxdocker (community images)
Built
Human-written (recorded, never ranked)

Evidence and confidence

FieldWhere it was seenConfidence
formFactorREADME: Laravel web app; installation docs95%
executionModelno model in the stack95%
operabilitydemo.bookstackapp.com/api/docs: official API with token auth and resource groups95%
effort.env.example names; docs admin section90%
editionsMIT; no paid edition; sponsors only95%
activeGitHub mirror pushed 2026-09-02–
provenance2015 project, no agent markers60%
reach90%

Open questions

  • If the Curator wants an MCP entry point: pnocera/bookstack-mcp-server (84 stars, MIT, pushed 2026-08-22) leads on stars and breadth; ttpears/bookstack-mcp (31 stars, pushed 2026-08-27) is the runner-up with the more recent push

Sources