mirror of
https://github.com/Dasemu/vnpipe.git
synced 2026-11-26 07:16:23 +00:00
782d04b8294445878ce0d78464c0f3e0c6232d5e
- Place a group's clips on the translated say boxes by speaker, falling back to position, so ensemble lines keep their clip; an unplaced clip is an error. - A speaker label may map to a list of cast ids, one per occurrence. - Store a hash of the mapping keys of [translations.<code>] and refuse a mapping built with another configuration. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
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
- Annotation stage
- Work configuration (
work.toml) - Adaptation rules
- Running, linting and building
License
MIT.
Languages
Python
72.8%
Ren'Py
27.2%