honkit/honkit
Acerca de
:book: HonKit permite crear libros atractivos con Markdown. Es un fork de GitBook.
Diseño y multimediaWhat you can do
- Write using Markdown or AsciiDoc
- Output as a website or ebook (pdf, epub, mobi)
- Multi-Languages
- Lexicon / Glossary
Crecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- +2
- in 1 month
- +9
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
OriginalHonKit
HonKit is building beautiful books using GitHub/Git and Markdown.

Documentation and Demo
HonKit documentation is built by HonKit!
Quick Start
Installation
The best way to install HonKit is via NPM or Yarn.
$ npm init --yes
$ npm install honkit --save-dev
⚠️ Warning:
- If you have installed
honkitglobally, you must install each plugins globally as well - If you have installed
honkitlocally, you must install each plugins locally as well
We recommend installing honkit locally.
Create a book
HonKit can set up a boilerplate book:
$ npx honkit init
If you wish to create the book into a new directory, you can do so by running honkit init ./directory
Preview and serve your book using:
$ npx honkit serve
Or build the static website using:
$ npx honkit build
You can start to write your book!
For more details, see HonKit's documentation.
Docker support
Honkit provide docker image at ghcr.io/honkit/honkit.
This docker image includes built-in dependencies for PDF/epub.
docker pull ghcr.io/honkit/honkit
docker run -v `pwd`:`pwd` -w `pwd` --rm -it ghcr.io/honkit/honkit honkit build
docker run -v `pwd`:`pwd` -w `pwd` --rm -it ghcr.io/honkit/honkit honkit pdf
For more details, see docker/.
Usage examples
HonKit can be used to create a book, public documentation, enterprise manual, thesis, research papers, etc.
You can find a list of real-world examples in the documentation.
Features
- Write using Markdown or AsciiDoc
- Output as a website or ebook (pdf, epub, mobi)
- Multi-Languages
- Lexicon / Glossary
- Cover
- Variables and Templating
- Content References
- Plugins
- Beautiful default theme
Fork of GitBook
HonKit is a fork of GitBook (Legacy). GitBook (Legacy) is deprecated and an inactive project.
HonKit aims to smooth the migration from GitBook (Legacy) to HonKit.
Compatibility with GitBook
- Almost all plugins work without changes!
- Support
gitbook-plugin-*packages- You should install these plugins via npm or yarn
npm install gitbook-plugin-<example> --save-dev
Differences with GitBook
- Node.js 22.12.0+ supports
- Improve
build/serveperformancehonkit build: use file cache by defaulthonkit serve: 28.2s → 0.9s in examples/benchmark- Also, support
--reloadflag for force refresh
- Improve plugin loading logic
- Reduce cost of finding
honkit-plugin-*andgitbook-plugin-* - Support
honkit-plugin-*and@scope/honkit-plugin-*(GitBook does not support a scoped module)
- Reduce cost of finding
- Remove
installcommand- Instead of it, just use
npm installoryarn install
- Instead of it, just use
- Remove
global-npmdependency- You can use HonKit with another npm package manager like
npmoryarn
- You can use HonKit with another npm package manager like
- Update dependencies
- Upgrade to nunjucks@2, highlight.js etc...
- It will reduce bugs
- TypeScript
- Rewritten by TypeScript
- Monorepo codebase
- Easy to maintain
- Docker support
Migration from GitBook
Replace gitbook-cli with honkit.
npm uninstall gitbook-cli
npm install honkit --save-dev
Replace gitbook command with honkit command.
"scripts": {
- "build": "gitbook build",
+ "build": "honkit build",
- "serve": "gitbook serve"
+ "serve": "honkit serve"
},
After that, HonKit just works!
Examples of migration:
- Add a Github action to deploy · DjangoGirls/tutorial
- Migrate from GitBook to Honkit · swaroopch/byte-of-python
- replace Gitbook into Honkit · yamat47/97-things-every-programmer-should-know
- Migrate misp-book from GitBook to honkit
Benchmarks
honkit build benchmark:
Licensing
HonKit is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.
HonKit is a fork of GitBook (Legacy). GitBook is licensed under the Apache License, Version 2.0.
Also, HonKit includes bignerdranch/gitbook works.
Sponsors
Explorar proyectos relacionados
Cargando…