| Crates.io | aozora2 |
| lib.rs | aozora2 |
| version | 0.2.0 |
| created_at | 2026-01-03 16:50:39.20931+00 |
| updated_at | 2026-01-04 16:18:56.673917+00 |
| description | Aozora Bunko format converter CLI |
| homepage | |
| repository | https://github.com/takahashim/aozora2 |
| max_upload_size | |
| id | 2020451 |
| size | 102,922 |
A Rust tool for converting Aozora Bunko format text.
cargo install aozora2
Removes ruby annotations and notes, converting to plain text.
aozora2 strip input.txt -o output.txt
aozora2 strip --zip archive.zip -o output.txt
cat input.txt | aozora2 strip > output.txt
Converts Aozora Bunko format to HTML.
aozora2 html input.txt -o output.html
aozora2 html input.txt --title "Title" -o output.html
Options:
--title <TITLE> - Document title--gaiji-dir <DIR> - Gaiji (external character) image directory--css-files <FILES> - CSS files (comma-separated)| Package | crates.io | Description |
|---|---|---|
| aozora2 | Main CLI (strip, html subcommands) | |
| aozora-core | Core library (tokenizer, parser, gaiji conversion, etc.) | |
| aozora2text | Backward-compatible CLI (wrapper for aozora2 strip) |
MIT