mirror of
https://github.com/Dasemu/vnpipe.git
synced 2026-11-26 15:26:27 +00:00
Generic "classic novels to visual novels" pipeline extracted from faust-vn (source commit 6486ab1). The work-specific data (Faust text, annotations, assets, generated project) stays in faust-vn. Changes versus the source: --work defaults to the current directory, the renpy command writes to <work root>/vn, the Ren'Py SDK is located through RENPY_SDK, and tests only use fixtures. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
28 lines
904 B
Markdown
28 lines
904 B
Markdown
# vnpipe
|
|
|
|
A pipeline that turns public-domain classic novels and plays into Ren'Py visual novels:
|
|
Project Gutenberg text → parsed JSON → LLM-annotated JSON → Ren'Py project.
|
|
|
|
`vnpipe` is work-agnostic. Everything specific to a text (source, scope, cast, staging)
|
|
lives in a *work repo* next to this one, in a `work.toml`. Example: `faust-vn`.
|
|
|
|
## Quick start
|
|
|
|
```bash
|
|
uv sync
|
|
uv run pytest -q
|
|
uv run vnpipe --help
|
|
```
|
|
|
|
In a work repo (a directory with `work.toml`), depend on this package and run
|
|
`uv run vnpipe parse`, `uv run vnpipe annotate ...`, `uv run vnpipe renpy`.
|
|
`--work DIR` selects another work directory (default: the current directory).
|
|
|
|
## Docs
|
|
|
|
- [Pipeline overview](docs/pipeline.md)
|
|
- [Annotation stage](docs/annotation.md)
|
|
- [Work configuration (`work.toml`)](docs/work-config.md)
|
|
- [Adaptation rules](docs/adaptation-rules.md)
|
|
- [Running, linting and building](docs/running.md)
|