typress
An editorial workshop.日本語

CLI

Beyond the HTTP server mode, the typress binary has two subcommand modes: admin (operator recovery / management) and plugin-process (used internally by the plugin host).

typress admin

typress admin reset-password <email>     # reset password (TTY prompt)
typress admin list-users                  # list every user
typress admin make-admin <email>          # promote to admin
typress admin totp-disable <email>        # remove TOTP (lost device)
typress admin self-update <manifest-url>  # signed update

These commands open the SQLite database directly, even while the typress server is running. WAL mode keeps the writes safe.

self-update

Fetches a JSON manifest signed by a key in TYPRESS_UPDATE_KEYS, recomputes SHA-256, and atomically swaps the binary on match. The previous binary is kept at ${TYPRESS_DATA_DIR}/typress.previous, so rolling back is one mv. See Upgrading for the full procedure.

typress admin self-update https://example.com/typress/manifest.json

Rollback:

sudo systemctl stop typress
sudo mv $TYPRESS_DATA_DIR/typress.previous /opt/typress/typress
sudo systemctl start typress