---
name: tomes
description: >
  Read books made with Quarto in your terminal.
license: MIT
compatibility: Requires Python >=3.8.
---

# tomes

Read books made with Quarto in your terminal

## Installation

```bash
pip install tomes
```

## Gotchas

1. tomes reads books made with Quarto. Books made with bookdown aren't supported yet.
2. Inside tmux, real images need `set -g allow-passthrough on`; otherwise tomes draws them with half blocks.
3. Press `?` in the reader for all keys; `:images` shows which image protocol was detected.
4. Set `TOMES_NO_QUERY=1` when the terminal doesn't answer questions (scripts, recordings).

## Best practices

- Use `tomes -b BOOK cat N`, `toc`, `search`, and `commands` to read a book without the interactive reader.
- Point tomes at a Quarto book's output directory (`_book` or `_site`), or at the website itself.

## Resources

- [Full documentation](https://tomes.jeroenjanssens.com/)
- [llms.txt](llms.txt) — Indexed API reference for LLMs
- [llms-full.txt](llms-full.txt) — Comprehensive documentation for LLMs
- [Source code](https://github.com/jeroenjanssens/tomes)
