| Crates.io | docki |
| lib.rs | docki |
| version | 1.3.0 |
| created_at | 2023-01-22 15:25:31.096131+00 |
| updated_at | 2025-11-14 11:39:35.557034+00 |
| description | cli for building and publishing documentation using asciidoctor |
| homepage | |
| repository | |
| max_upload_size | |
| id | 765208 |
| size | 181,791 |
[!NOTE] This project is under renovations. It can be used, but it might not be completely stable yet.

Docki is cli for converting asciidoctor files into html files.
[!NOTE] This works in a directory with a directory called
docs, which contains the asciidoctor documentation.
docki build
docki serve
brew tap quirinecker/homebrew-docki https://github.com/quirinecker/homebrew-docki
brew install docki
If you just want to try it out real quick and the nix package manager is available on your system you can use the following command.
nix develop github:quirinecker/docki#preview
This will open a shell evnironment with docki installed. If you want to install it permanently with nix, i would recommend following the instructions in the Nix (Advanced, Flake) section.
[!NOTE] This is the most basic installation. It will not include asciidoctor_revealjs and asciidoctor itself. Installing asciidoctor has to be done manually, while installing asciidoctor_revealjs can be done with
docki install-reveal
cargo install docki
There is also a docker image available to use. It is primarily used for the gh actions.
docker pull ghcr.io/quirinecker/docki:latest
You can also build it yourself with nix.
nix build .#docker && docker load -i result
[!NOTE] There are multiple ways to install docki with nix. This is the way I installed it on my machine.
docki = {
url = "github:quirinecker/docki";
inputs.nixpkgs.follows = "nixpkgs";
};
@inputs at the end of the outputs (if you haven't already)outputs = {
nixpkgs
...
}@inputs:
...Rest of your flake...
environment.systemPackages = with pkgs; [
inputs.docki.packages.${system}.default
]
or
home.packages = with pkgs; [
inputs.docki.packages.${system}.default
]
You can configure some of the cli arguments with a config file. It is always located relatively to the current directory under ./docki.config.toml. Available options and their defaults can be found in the docki.config.toml file. CLI arguments with the same names as in the config usually have also the same default values. As a fallback you can also use the config.rs file for reference.
If you just want to run it, you can use the nix run command. This will install all the build dependencies, build the binary and run it.
nix run
You can also use the development shell with the command below. In this shell all dependencies for building and running the project are installed.
nix develop
Afterwards it can be built and run with cargo
cargo run -- <args>