renmori gui
renmori gui opens a native Tkinter window for protecting, verifying and editing the configuration file without a terminal.
The GUI is available from 1.1.0 and implements no protection logic of its own: it runs the same renmori protect and renmori verify commands as the terminal in a child process, so plugin auto-download, verification and the JSON result behave exactly as they do in the CLI.
Syntax
The interface language follows the same rules as the CLI: --lang first, then the RENMORI_LANG environment variable, then the system locale; the GUI is available in English and Chinese, any other locale shows English, and --no-color and --quiet have no effect on it.
Requirements
Tkinter ships with CPython, so the GUI adds no dependency, and the CLI never imports Tkinter unless renmori gui is run; the following environments need extra handling:
When it cannot start, renmori gui prints the reason to stderr and exits with code 2:
Window layout
The window has three tabs, Protect, Verify and Config, with a status bar at the bottom that shows Ready and Running…, then ✓ Done or ✗ Failed when a job finishes, and the saved path after a configuration file is saved.
The Protect and Verify tabs each have a log area: when a job starts, its first line shows the full command being run (prefixed with $), followed by the CLI's entire output in real time, including the progress lines on stderr and the JSON result on the last line of stdout; this is the CLI's raw output and can be used directly for troubleshooting.
Only one job runs at a time, and the corresponding button is disabled while it runs; keep the window open until the job finishes.
Protect
The Protect tab corresponds to renmori protect.
Paths
Options
The Protect tab has no exclude list or key source settings; for those, generate a renmori.toml on the Config tab, then select it in Config (-c) or save it into the build directory for auto-detection.
Flow
- Clicking Protect opens a confirmation dialog showing the input and output paths
- Once confirmed, the GUI runs
renmori protectwith-y, so the CLI asks no further questions - On the first full protection, the plugin is downloaded directly without a separate prompt; it is checked against the release's
SHA256SUMSand cached, and to stay offline setRENMORI_PLUGINorRENMORI_NO_DOWNLOAD=1(see Protection Strength and the Closed Plugin) - When the job ends, the status bar shows ✓ Done only if the exit code is 0 and the JSON result's
statusisok
The release guidance printed on success appears in the log area; the GUI does not expose --no-hints, --quiet or --no-color.
Because the GUI always passes -y, its confirmation dialog is the only confirmation before protection; protecting in place overwrites the selected directory, so check the paths before confirming and leave No backup (in-place) unchecked.
Verify
The Verify tab corresponds to renmori verify: use Browse… to pick a protected build directory produced by renmori protect, then click Verify; it checks the same things as the CLI, namely the container hash, the presence of required files and the absence of plaintext scripts and archives on disk, and the result appears as JSON at the end of the log area.
Config
The Config tab is a form editor for renmori.toml that generates, opens and saves configuration files; it does not change the Protect tab's settings directly, so after saving, select the file in Config (-c) on the Protect tab or place it in the build directory, and see Configuration File renmori.toml for the full meaning of each key.
Form fields
Buttons
Notes
- The preview area is for viewing only: Save as… regenerates the text from the form and overwrites the preview, so manual edits in the preview are not saved
- When a file is opened, only the keys listed above are read into the form; other keys and comments are not kept on save
- Reading a configuration file needs Python 3.11+ or the
tomlipackage; if the file cannot be parsed, the GUI reports why and loads the raw text into the preview for viewing - The key fields record only environment variable names; never write a key into the configuration file, and see CI integration for key management in CI
Troubleshooting
Related pages
renmori protect: all options, file handling rules and the execution flowrenmori verify: checks performed and usage- Configuration File renmori.toml: all configuration keys and merge rules
- Protection Strength and the Closed Plugin: obtaining, verifying and caching the plugin