Ronéo

# Ronéo (`roneo`) > A fast, standalone Rust port of [Copier](https://github.com/copier-org/copier) — scaffold and update projects from Jinja2 templates with no Python runtime. The name **Ronéo** comes from the classic stencil duplicator (*"passer à la ronéo"*): reproducing project templates cleanly, quickly, and without friction. ## Installation ### Via `mise` (recommended) ```bash mise plugins install forge https://code.cleyrop.tech/mise.git mise use -g forge:roneo@latest ``` Or declare it in `mise.toml`: ```toml [plugins] forge = "https://code.cleyrop.tech/mise.git" [tools] "forge:roneo" = "latest" ``` Upgrade later with: ```bash mise upgrade forge:roneo ``` ### Via install script (macOS & Linux, SHA-256 verified) ```bash curl -fsSL https://code.cleyrop.tech/roneo/raw/main/install.sh | sh ``` ### From source (`cargo`, Rust `1.100+`) ```bash cargo install --path crates/roneo-cli ``` ## Benchmarks Measured on Apple M3 Pro (macOS, `hyperfine`, release build of `roneo 0.1.0` vs. `copier 9.15.1` on `examples/starter-template`): | Operation | `roneo` | `copier` | Speedup | Peak RAM (`roneo` / `copier`) | | --- | ---: | ---: | ---: | ---: | | `--version` (CLI startup) | **3.0 ms** | 365.0 ms | **121x** | **2.5 MiB** / 55.4 MiB | | `copy --defaults` | **4.3 ms** | 412.7 ms | **96x** | **5.0 MiB** / 55.9 MiB | | `copy --defaults --pretend` | **3.5 ms** | 370.4 ms | **107x** | **5.1 MiB** / 55.9 MiB | | `inspect` | **2.5 ms** | — | — | **3.4 MiB** / — | Reproduce locally: ```bash cargo build --release hyperfine --warmup 2 \ "./target/release/roneo copy ./examples/starter-template /tmp/out-r --defaults --overwrite" \ "copier copy ./examples/starter-template /tmp/out-c --defaults --overwrite" ``` ## Ronéo vs. Copier | Aspect | Ronéo (`roneo`) | Copier (`copier`) | | --- | --- | --- | | Distribution | Single native binary (~5.8 MB) | Python package (`pipx` / `uvx` / virtualenv) | | Runtime dependency | None (static musl on Linux, notarised arm64 on macOS) | Python 3.9+ and dependencies | | Template format | `copier.yml` / `copier.yaml` / `roneo.yml` | `copier.yml` / `copier.yaml` | | Answers file | Interoperable `.copier-answers.yml` (auto-written if omitted) | `.copier-answers.yml` | | Template engine | `minijinja` + `pycompat` (Python methods) | Jinja2 (Python) | | Extensions | Sandboxed WebAssembly (`wasmi`, no disk/network) | Arbitrary Python Jinja extensions (`--trust`) | | Extra CLI tools | `inspect` (`--json`), `diff`, `plugin`, `completions` | — | | Library reuse | `roneo-core` crate (`Prompter` / `Reporter` traits) | Python API | ## Quick Start ```bash # Inspect a template's questions, settings, and tasks roneo inspect ./examples/starter-template # Dry-run without writing any files roneo copy ./examples/starter-template /tmp/my-project --defaults --pretend # Scaffold interactively roneo copy ./examples/starter-template /tmp/my-project # Non-interactive with variable overrides roneo copy ./examples/starter-template /tmp/my-project \ --defaults \ -d project_name=super-api \ -d license=Apache-2.0 ``` ## CLI Reference ### Commands | Command | Purpose | | --- | --- | | `roneo copy