From 71b0ec6c1da3280022dea3d4eb6ec1c6b8469dfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dar=C3=ADo=20Sevilla=20Mu=C3=B1oz?= Date: Mon, 26 Oct 2026 08:52:59 +0100 Subject: [PATCH] docs: clarify reproducible setup and platform-specific builds --- README.md | 32 ++++++++++++++++++++++++++------ 1 file changed, 26 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 190a423..239c110 100644 --- a/README.md +++ b/README.md @@ -4,19 +4,39 @@ A pipeline that turns public-domain classic novels and plays into Ren'Py visual 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`. +lives in a *work repo* in any directory, in a `work.toml`. +Example: [faust-vn](https://github.com/Dasemu/faust-vn). A sibling checkout is not required. -## Quick start +## Develop vnpipe ```bash -uv sync +git clone https://github.com/Dasemu/vnpipe.git +cd vnpipe +uv sync --locked 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). +## Generate an existing work + +Follow the work repository's dependency configuration. For faust-vn, from its root: + +```bash +uv sync --locked +uv run vnpipe --work . renpy +``` + +Its Git dependency is pinned by its lockfile; no local vnpipe clone or source-path +edit is needed. Existing committed annotated data can be generated directly: +fetch/parse/annotate/translation commands are for developing the content. +`--work DIR` selects the directory containing `work.toml` (default: current directory). + +For desktop execution, web and Android prerequisites, follow the +[faust-vn running guide](https://github.com/Dasemu/faust-vn/blob/main/docs/running.md) +or the [generic guide](docs/running.md). Generating a project does not launch it. + +To test an unpublished vnpipe checkout from a work root, use +`uv run --with-editable /absolute/path/to/vnpipe vnpipe --work . renpy`. ## Docs