BookStack
BookStack is an open-source wiki and documentation platform, and a self-hosted alternative to Confluence. Content is organized into a deliberate three-level hierarchy — shelves hold books, books hold chapters and pages — which keeps large knowledge bases navigable. It ships WYSIWYG and Markdown editors, a diagrams.net integration, full-text search, page revisions, and SSO via SAML2, OIDC, and LDAP.
Overview
Description
BookStack is an open-source platform for organizing and storing information, and a self-hosted alternative to Confluence. Its opinionated structure — shelves, books, chapters, and pages — is the main idea: rather than a flat pile of documents, teams get a predictable tree that stays usable as it grows. Pages are written in a WYSIWYG or Markdown editor, every edit is versioned, and access is controlled by a role and permission system that can go down to the individual page.
Features
- Structured content: Shelves → books → chapters → pages, with cross-linking and a table of contents.
- Dual editors: WYSIWYG (with drawn diagrams via diagrams.net) and a Markdown editor with live preview.
- Search: Full-text search across all content, scoped searches, and page-level linking.
- Revisions: Full page history with diffs and rollback.
- Permissions: Role-based access control with per-shelf, per-book, and per-page overrides.
- SSO & API: SAML2, OIDC, and LDAP authentication, a REST API, and outgoing webhooks.
Technology Stack
- PHP / Laravel application
- MySQL or MariaDB
- Docker images (community LinuxServer.io image is common) or a manual LAMP install
- Optional Redis for cache/sessions and S3-compatible object storage
Requirements
- Docker, or a PHP 8.2+ web server with MySQL/MariaDB
- ~1 GB RAM for a small instance
- SMTP for invitations and notifications
Learning resources
Bookstack on Docker | Open Source Wiki Software that is Simple, Searchable, and Customizable
A run-through of deploying BookStack with Docker, then building out the shelves, books, chapters, and pages that make up its documentation structure.
By · Invalid Date
ArticleBookStack Installation
The official installation reference: the recommended Docker images, a manual LAMP setup, server requirements, and the configuration needed to put BookStack behind a domain.
By BookStack · Invalid Date