优秀开源 建站

GitBook 是一款现代化的文档平台,支持团队协作,可以在上面写产品文档、内部知识分享、接口文档等。


⚠️ Deprecation warning:

As the efforts of the GitBook team are focused on the platform, the CLI is no longer under active development.
All content supported by the CLI are mostly supported by our / GitHub integration.
Content hosted on the will continue working until further notice. For differences with the new version, > check out our documentation.

Join our GitHub community to stay up to date with the latest news at GitBook.


NPM version
Linux Build Status
Windows Build status
Slack Status

GitBook is a command line tool (and Node.js library) for building beautiful books using GitHub/Git and Markdown (or AsciiDoc). Here is an example: Learn Javascript.

You can publish and host books easily online using A desktop editor is also available.

Stay updated by following @GitBookIO on Twitter or GitBook on Facebook.

Complete documentation is available at


Getting started

GitBook can be used either on your computer for building local books or on for hosting them. To get started, check out the installation instructions in the documentation.

Usage examples

GitBook can be used to create book, public documentation, enterprise manual, thesis, research papers, etc.

You can find a list of real-world examples in the documentation.

Help and Support

We're always happy to help out with your books or any other questions you might have. You can ask a question on the following contact form at or signal an issue on GitHub.


Publish your book

The platform is like an "Heroku for books": you can create a book on it (public, or private) and update it using git push.


GitBook is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.