mirror of
https://github.com/Dasemu/vnpipe.git
synced 2026-11-26 15:26:27 +00:00
3d2a91af49a36516803966268b449856a3843d40
The LLM now only labels speech emotions, music changes and sprite exits; speaker, kind, location, time of day and positions are derived deterministically. Adds `annotate run` (claude CLI by default, any stdin/stdout command), a hash-keyed text cache and a usage log; removes the per-line JSON format and its schema. 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
Languages
Python
72.8%
Ren'Py
27.2%