LibreKB
Web-based knowledge base solution. A simple web app, it runs on pretty much any web server or hosting provider with PHP and MySQL.
Alternatives
Tech stack
No tech stack added yet. Sign in to suggest some
Introduction
LibreKB is a free, open-source knowledge base web application developed by Michael Staake and released under the GPL-3.0 license. It is built on PHP and MySQL/MariaDB, runs on almost any server, shared host, or Docker environment, and installs in just a few minutes. You can write articles, organize them with multi-level categories, and publish them as a responsive help center that matches your own brand.
Key Features
- Free and open source: 100% free and open source under the GPL-3.0 license.
- Custom branding: Easily adjust the look and feel to match your project or company brand, with custom CSS support for the public site.
- TinyMCE editor: Edit articles with TinyMCE, and configure which buttons appear in the editor toolbar.
- Nested categories: Categories can be nested to any depth, and the admin area supports collapsing and filtering categories and articles.
- File attachments: Attach files to articles so readers can download them.
- User groups: Manage users with preset user groups, with password reset by email.
- Grouped settings: Site settings are divided into General, Appearance, Editor, API, and Maintenance groups.
- Responsive design: The interface is built on Bootstrap and adapts to all kinds of devices.
Read-Only JSON API
Starting with version 2.2.0, LibreKB can serve your public knowledge base to other applications as JSON. This feature is off by default and must be enabled by an administrator in the settings:
- Only GET requests are supported, and responses are returned as JSON
- Optional API key authentication via the
X-API-Keyrequest header - Hidden and disabled content is never exposed through the API
- CORS origins are configurable
- Endpoints include article search, fetching articles by ID or slug, and fetching categories
Target Users and Use Cases
It suits individual developers, open-source projects, small and medium-sized businesses, and support teams who want control over their own documentation data. Use it to build product help centers, FAQs, internal knowledge bases, or technical documentation sites.
Technical Requirements
- PHP 8.4 or later
- MySQL or MariaDB
- A web server that supports
.htaccess(Apache, LiteSpeed, OpenLiteSpeed, or Lighttpd) - The following PHP extensions must be enabled:
pdo_mysql,curl,mbstring,fileinfo
Installation and Deployment
Standard Installation (Six Steps)
- Make sure your server meets the technical requirements above.
- Upload the files and set the web root to the folder containing
index.php. URL rewriting is handled by the bundled.htaccess. - Copy
config.example.phptoconfig.php, fill in your database details, and setsystemURLto the public address. - Create the database. The database user needs permission to create tables, and PHP must be able to write to
storage/uploadsandstorage/cache. - Visit
/installto run the installer and enter an administrator email and password. - Log in at
/login. Once the administrator account has been created,/installcan no longer be run.
Docker Deployment
The repository includes a Dockerfile and a docker-compose.yml with a MySQL 8.0 service. Start it by running:
docker compose up -d
Upgrading
Overwrite the old files with the new version's files, keep your existing config.php, and then visit /upgrade.
Notable Points
- It uses a traditional PHP + MySQL stack and can run even on ordinary shared hosting, so the barrier to deployment is low.
- The API is off by default and never exposes hidden content when enabled, balancing integration needs with security.
- The project is hosted on GitHub, where you can report issues and request features through GitHub Issues.
Discover more
Digimindmap
Create simple mindmaps (documentation in French).
AFFiNE Community Edition
There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
Atomic Server
Knowledge graph database with documents (similar to Notion), tables, search, and a powerful linked data API. Lightweight, very fast and no runtime dependencies.
Baïkal
Lightweight CalDAV and CardDAV server based on sabre/dav.
Chamilo LMS
Create a virtual campus for the provision of online or semi-online training.
Collective Access - Providence
Highly configurable Web-based framework for management, description, and discovery of digital and physical collections supporting a variety of metadata standards, data types, and media formats.