mirror of
https://github.com/Dasemu/vnpipe.git
synced 2026-11-26 07:16:23 +00:00
docs: clarify reproducible setup and platform-specific builds
This commit is contained in:
1 parent
b6c1fb0319
commit
71b0ec6c1d
1 file changed
+26
-6
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user