Repository navigation
v0.1.0
First release of Template Installer (dev.caloptreyx.templates), requires panel >=1.2.3.
Admins build install templates; users run them on their servers from the Templates page.
Features
- 11 step types run in order: write, replace in (with regex), append to and prepend files; create folders; pull files from a URL; unzip archives (zip, tar.*, rar, 7z); move files or folder contents; delete; and power actions with an optional wait.
- Conditions on every step, and the install stops at the first failing step.
- Jinja2 templating (minijinja, sandboxed) in every field: paths, URLs, contents, search/replace and conditions.
- User variables with Laravel-style validation rules; the install form picks a select, switch, number or text input from the rules.
- Built-in variables for the server, its allocations, egg, nest, node and egg variables, the installing user and the panel, plus
random_string,uuidandnowfunctions. - Validated up front: every step is rendered and checked before anything runs, so a typo or bad path changes nothing.
- Egg filter per template.
- Import/export as JSON; imports start disabled. Includes a Simple Voice Chat example in
examples/. - Live progress per step, the last 20 installs per server, and entries in the server activity log.
- Permissions:
templates.read/templates.install(server),templates.read/templates.manage(admin).
Install
Upload dev_caloptreyx_templates.c7s.zip under Admin → Extensions, or put it in the heavy image's build/extensions/ and run docker compose restart web.