feat: extract vnpipe pipeline from faust-vn

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>
This commit is contained in:
dasemuandClaude Opus 5.5 committed 2026-10-19 03:59:33 +02:00
commit ff78dc5b14
68 files changed
+7727

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
# 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)