Install
HyScribe is one binary in a tar.gz. There is no web server, PHP or extension to install. It needs a MySQL or MariaDB server, normally the one your WordPress site already uses.
Requirements
Section titled “Requirements”- Linux on amd64 or arm64. The binary is static, so any distribution works
- A MySQL or MariaDB database holding a WordPress 7.0 or 7.1 site (
db_version61833). Older sites: upgrade with PHP WordPress first - An unprivileged user account to run it: HyScribe refuses to run as root
- A reverse proxy (nginx, Caddy, Traefik) for HTTPS. HyScribe serves plain HTTP
Download and verify
Section titled “Download and verify”Each release on GitHub (hyscaler/HyScribe) has:
hyscribe_<version>_linux_<arch>.tar.gz,<arch>beingamd64orarm64hyscribe-latest-linux-<arch>.tar.gz, the same archive under a name that stays the sameSHA256SUMS.txt, an SBOM (hyscribe-sbom.cdx.json) and signed build provenance
sha256sum -c SHA256SUMS.txt --ignore-missinggh attestation verify hyscribe_<version>_linux_amd64.tar.gz --repo hyscaler/HyScribeNo release has been published yet; until the first one, build the archive from source with scripts/package.sh x86_64-unknown-linux-musl dist (it needs the Rust target and clang).
Extract
Section titled “Extract”tar -xzf hyscribe_<version>_linux_amd64.tar.gzcd hyscribe./hyscribe versionThe hyscribe/ folder is the whole installation. Put it anywhere the service user owns, for example next to the WordPress folder. It holds:
hyscribe: the binaryLICENSE,README.txt.env.example: every configuration keydocs/: these pages
The binary creates the rest when first needed, each with owner only permissions:
.env: the configuration, mode0600logs/:hyscribe.logand its rotated copies, andsetup-secretwhile setup mode runs without a terminalrun/:hyscribe.pidsessions/: login sessions, one file per user (primary mode)
Set up
Section titled “Set up”There are three ways to write .env. All of them read an existing site’s wp-config.php without running it.
Browser wizard
Section titled “Browser wizard”./hyscribe service startWithout .env, the server starts in setup mode. At a terminal, service start prints a line like:
Setup mode: Open http://127.0.0.1:8080/installation/step-1 and enter the one-time setup secret <32 letters and digits>-
Run without a terminal, it says the line is in
logs/setup-secretinstead (cat logs/setup-secret). That file is mode0600and is deleted when setup mode ends, however it ends. The secret never goes intologs/hyscribe.log -
./hyscribe startin the foreground at a terminal prints the line itself and writes no file -
Setup mode listens on
BIND_HOSTandPORTfrom the environment,127.0.0.1:8080by default. On a remote server, use an SSH tunnel (ssh -L 8080:127.0.0.1:8080 server), or start once withBIND_HOST=0.0.0.0 ./hyscribe service start -
Every page redirects to
/installation/step-1until setup is done. Enter the secret there; it works once, for one browser -
Step 2 asks for the WordPress folder, or the contents of
wp-config.phppasted in, or neither for manual entry -
Step 3 asks for what
wp-config.phpdid not give, the mode, the optional read only database user, the network and the uploads folder, then runs the checks and writes.env -
The same process then serves the site. After 30 minutes without
.envit stops; start again for a new secret. A lost browser session also needs a restart
At a terminal, ./hyscribe start and ./hyscribe service start without .env first ask No .env found. Set up in the browser or in the terminal? [browser/terminal]. Browser is the default, and the only choice when standard input is not a terminal. terminal runs the terminal wizard below, then starts the site.
Terminal wizard
Section titled “Terminal wizard”./hyscribe setupIt asks, in order:
<path>/.env exists. Replace it? [y/N], only when it exists. Anything but yes writes nothing- The WordPress folder or its
wp-config.php, defaulting to the first one found in the folder abovehyscribe/or in a folder beside it;nonefor manual entry (database name, user, password, host, port, table prefix) - Whatever
wp-config.phpdoes not give as a literal value; computed values are listed and asked for Start in shadow mode (read only) first? [Y/n]- A database user granted only
SELECT, and its password (empty for none) Running HyScribe behind a proxy? [y/N], the address (default127.0.0.1) and the port (default8080)- The site’s uploads folder (empty for
hyscribe/uploads)
Passwords are read with echo off, and no password, key or salt is printed. Keys and salts missing from wp-config.php are generated. Then start the site with ./hyscribe service start.
Checks both wizards run
Section titled “Checks both wizards run”They only read, and stop on a failure:
- Both database users connect
db_versionis one this release supports- The read only user, when given, has
SELECTand nothing more, roles included - In primary mode, every table HyScribe writes is InnoDB; in shadow mode the others are listed as warnings
- A
wp-content/object-cache.phpdrop-in is a warning: HyScribe’s writes do not clear a persistent object cache, so PHP WordPress may show stale data until it expires
By hand
Section titled “By hand”cp .env.example .envchmod 600 .env$EDITOR .env./hyscribe config checkEvery key is in Configuration. Copy the eight keys and salts from wp-config.php, or existing logins stop working.
./hyscribe service start./hyscribe service statusThe log’s first lines say the version, the mode and the address:
hyscribe 0.1.0 running (pid 12345) in shadow (read only) mode, listening on http://127.0.0.1:8080outbound fetches offNext: Service to keep it running, Switching to move a site over.
WordPress is a registered trademark of the WordPress Foundation. HyScribe is an independent project and is not affiliated with, sponsored by or endorsed by the WordPress Foundation or Automattic.
Code under AGPL-3.0-or-later. The HyScribe name and logo are not covered by that licence. HyScribe is a product of HyScaler.