books-for-bots
Rust CLI that converts EPUBs into a single YAML-headed Markdown file with per-chapter byte and line offsets, giving LLM agents a navigation API for token-efficient reading.
File Explorer
- ci.yml
- release.yml
- 2026-05-01-implementation.md
- 2026-05-01-design.md
- 2026-07-11-prebuilt-binaries-ci-design.md
- alice-s-adventures-in-wonderland-lewis-carroll.md
- alice-pg11-images.epub
- assemble.rs
- block.rs
- cli.rs
- error.rs
- extract.rs
- frontmatter.rs
- images.rs
- lib.rs
- load.rs
- main.rs
- render.rs
- slug.rs
- write.rs
- mod.rs
- determinism.rs
- integration.rs
- load_smoke.rs
- offsets.rs
- .gitignore
- ABOUT.md
- Cargo.lock
- Cargo.toml
- catalog-info.yaml
- CHANGELOG.md
- LICENSE
- README.md
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
write
View Details ▼
write
Write data to memory.
write memory
Write current configuration to memory:
write {{username}} {{terminal_id}}
Send a message to a given user on a given terminal ID:
write {{username}} {{terminal_id}}
Send a message to a given user on a given terminal ID:
cargo build
View Details ▼
cargo build
Compile a local package and all of its dependencies.
cargo {{[b|build]}}
Build the package or packages defined by the `Cargo.toml` manifest file in the local path:
cargo {{[b|build]}} {{[-r|--release]}}
Build artifacts in release mode, with optimizations:
cargo {{[b|build]}} --locked
Require that `Cargo.lock` is up to date:
cargo install
View Details ▼
cargo install
Build and install a Rust binary.
cargo install {{package}}@{{version}}
Install a package from <https://crates.io> (the version is optional - latest by default):
cargo install --git {{repo_url}}
Install a package from the specified Git repository:
cargo install --git {{repo_url}} --{{branch|tag|rev}} {{branch_name|tag|commit_hash}}
Build from the specified branch/tag/commit when installing from a Git repository:
cargo test
View Details ▼
cargo test
Execute the unit and integration tests of a Rust package.
cargo {{[t|test]}} {{test_name}}
Only run tests containing a specific string in their names:
cargo {{[t|test]}} -- --test-threads {{count}}
Set the number of simultaneous running test cases:
cargo {{[t|test]}} {{[-r|--release]}}
Test artifacts in release mode, with optimizations:
script
View Details ▼
script
Record all terminal output to a typescript file.
script
Record a new session to a file named `typescript` in the current directory:
exit
Stop recording:
script {{path/to/session.out}}
Record a new session to a custom filepath:
