BookStack README

The project's README from github.com/BookStackApp/BookStack. As one markdown file: README.md.

BookStack

Codeberg release license Crowdin Build Status Lint Status php-metrics
Alternate Source Community Discussions Mastodon
PeerTube YouTube

A platform for storing and organising information and documentation. Details for BookStack can be found on the official website at https://www.bookstackapp.com/.

📚 Project Definition

BookStack is an opinionated documentation platform that provides a pleasant and simple out-of-the-box experience. New users to an instance should find the experience intuitive and only basic word-processing skills should be required to get involved in creating content on BookStack. The platform should provide advanced power features to those that desire it, but they should not interfere with the core simple user experience.

BookStack is not designed as an extensible platform to be used for purposes that differ from the statement above.

In regard to development philosophy, BookStack has a relaxed, open & positive approach. We aim to slowly yet continuously evolve the platform while providing a stable & easy upgrade path.

You can read more about the project and its origins in our FAQ here.

🌟 Project Sponsors

Shown below are our bronze, silver and gold project sponsors. Big thanks to these companies for supporting the project. Note: The listed services are not tested, vetted nor supported by the official BookStack project in any manner.

Project donation details - GitHub Sponsors Page - Ko-fi Page

Gold Sponsor

Diagrams.net
onyx.app

Bronze Sponsors

Cloudabove Practicali
Stellar Hosted NETWAYS Web Services
Practinet Route4Me - Route Optimizer and Route Planner Software
phamos SiteSpeakAI
Admin Intelligence BookHost

🛠️ Development & Testing

Please see our development docs for full details regarding work on the BookStack source code.

If you're just looking to customize or extend your own BookStack instance, take a look at our Hacking BookStack documentation page for details on various options to achieve this without altering the BookStack source code.

Details about BookStack's versioning scheme and the general release process can be found here.

🌎 Translations

Translations for text within BookStack are managed through the BookStack project on Crowdin. Some strings have colon-prefixed variables such as :userName. Leave these values as they are as they will be replaced at run-time.

Please use Crowdin to contribute translations instead of opening a pull request. The translations within the working codebase can be out-of-date, and merging via code can cause conflicts & sync issues. If for some reason you can't use Crowdin feel free to open an issue to discuss alternative options.

If you'd like a new language to be added to Crowdin, for you to be able to provide translations for, please open a new issue here.

Please note, translations in BookStack are provided to the "Crowdin Global Translation Memory" which helps BookStack and other projects with finding translations. If you are not happy with contributing to this then providing translations to BookStack, even manually via code, is not advised.

🎁 Contributing, Issues & Pull Requests

Feel free to create issues to request new features or to report bugs & problems. Just please follow the template given when creating the issue.

Pull requests are welcome but, unless it's a small tweak, it may be best to open the pull request early or create an issue for your intended change to discuss how it will fit into the project and plan out the merge. Just because a feature request exists, or is tagged, does not mean that feature would be accepted into the core project.

Pull requests should be created from the development branch since they will be merged back into development once done. Please do not build from or request a merge into the release branch as this is only for publishing releases. If you are looking to alter CSS or JavaScript content please edit the source files found in resources/. Any CSS or JS files within public are built from these source files and therefore should not be edited directly. See the Development & Testing section above for further development guidance.

The project's community rules, including those for raising issues and making code contributions, can be found here.

🔒 Security

Security information for administering a BookStack instance can be found on the documentation site here.

If you'd like to be notified of new potential security concerns you can sign-up to the BookStack security mailing list.

If you would like to report a security concern, details of doing so can be found here.

♿ Accessibility

We want BookStack to remain accessible to as many people as possible. We aim for at least WCAG 2.1 Level A standards where possible although we do not strictly test this upon each release. If you come across any accessibility issues please feel free to open an issue.

🖥️ Website, Docs & Blog

The website which contains the project docs & blog can be found in the bookstack/website repo.

⚖️ License

The BookStack source is provided under the MIT License.

The libraries used by, and included with, BookStack are provided under their own licenses and copyright. The licenses for many of our core dependencies can be found in the attribution list below, but this is not an exhaustive list of all projects used within BookStack.

👪 Attribution

The great people that have worked to build and improve BookStack can be seen here. The wonderful people that have provided translations, either through GitHub, Codeberg or via Crowdin can be seen here.

Below are the great open-source projects used to help build BookStack. Note: This is not an exhaustive list of all libraries and projects that would be used in an active BookStack instance.

For a detailed breakdown of the JavaScript & PHP projects imported and used via NPM & composer package managers, along with their licenses, please see the dev/licensing/js-library-licenses.txt and dev/licensing/php-library-licenses.txt files.

BookStack (BookStackApp/BookStack)

Searching Database…

19.1K ·GitHub
这是什么?这是一个免费开源的平台,用来存储和整理信息与文档——一个自托管的、类似 wiki 的网页应用,用 PHP 编写,从 2015 年就有了,GitHub 上大约有 19,000 颗星。
所以它是我装在自己服务器上的网站吗?对——它是一个自托管的网页应用:装在你自己的服务器上,通过浏览器使用。它既不是代码库,也不是桌面软件或托管在云上的服务。
我怎么把它跑起来?按照官方安装说明操作,或者把仓库里自带的 docker-compose 配置启动起来。如果你想先试用再安装,官网上有公开的演示实例链接。
它运行的服务器需要什么?这是一个基于 Laravel 框架的 PHP 应用。仓库自带了用于部署的 docker-compose 配置;如果从源码构建,则需要用 npm 工具(Sass 和 esbuild)编译前端资源。
我能把它改造成别的东西吗,比如通用的应用平台?基本不行——BookStack 的设计理念就是有明确立场,并没有打算做成文档之外的可扩展平台。想做一些调整的话,有一份 'Hacking BookStack' 指南,提供了不改源代码的几种办法。
团队里不懂技术的人真的能用吗?这正是它的设计目标:新用户应该觉得它直观好用,创建内容只需要基本的文字处理能力。高级功能也提供给有需要的人,但不会把简洁的核心体验弄乱。
它开箱即用能做什么?从它自带的组件库来看:富文本编辑(TinyMCE、Lexical)、代码编辑器(CodeMirror)、内嵌的 diagrams.net 画图、通过 Dompdf 和 WKHTMLtoPDF 导出 PDF,还支持 SAML、OAuth2 和两步验证登录。
开发现在还在 GitHub 上进行吗?不在了——仓库本身现在写明项目改在 Codeberg 上管理,代码、议题(issue)和拉取请求(pull request)都在那边。翻译则通过 Crowdin 单独处理。
升级我的实例会很麻烦吗?团队的目标是让平台缓慢而持续地演进,同时提供稳定、简单的升级路径,所以常态是稳步更新,而不是颠覆性的重写。
配合辅助技术能用吗?无障碍是明确的目标:BookStack 在可能的情况下至少以 WCAG 2.1 Level A 为标准,不过并非每个版本都严格测试,官方也希望用户把遇到的问题反馈上来。
What are similar projects?docs, outline, showdoc, GEOFlow, jevbox, gollum, wiki, PandaWiki
Size
52.4 MB
Stars
19.1K
Age
11y
Commits · 90 Days