Skip to content

v0.1.2

Choose a tag to compare

@github-actions github-actions released this 29 Nov 22:12
· 82 commits to main since this release

What's new in 0.1.2

Fast pages behind Cloudflare. Public pages now tell CDNs they may keep them
(Cache-Control: public, max-age=0, s-maxage=…), while pages for logged-in people and
commenters are private, no-store. The new Settings › Speed screen sets how long a CDN may
keep pages, purges Cloudflare's cache automatically whenever something changes (zone ID and an
API token with only the Cache Purge permission, stored encrypted), and shows the exact Cloudflare
Cache Rule to paste. Before, every page went through to the server (cf-cache-status: DYNAMIC)
even though RustPress answered it from memory.

Also: a one-line installer for Linux and macOS:

curl -fsSL https://raw.githubusercontent.com/Witsberry/RustPress/main/install.sh | sh

Download

system file
Linux, Intel/AMD (any distribution) rustpress-…-linux-x64.tar.gz
Linux, ARM (Raspberry Pi 4/5, Graviton) rustpress-…-linux-arm64.tar.gz
macOS, Apple Silicon rustpress-…-macos-arm64.tar.gz
macOS, Intel rustpress-…-macos-x64.tar.gz
Windows 10/11, Server rustpress-…-windows-x64.zip

SHA256SUMS.txt has the checksums.

Get started

Unpack, then run:

./rp serve --root mysite          # Windows: rp.exe serve --root mysite

Open http://127.0.0.1:8080/rp-admin/install and follow the wizard: choose a database
(SQLite needs no setup; MySQL, MariaDB, PostgreSQL or an existing WordPress database also
work), then create your administrator account.

Nothing else to install: no Rust, PHP, web server or database server. Shared hosting, Docker
and cloud platforms: see HOSTING.md › "Where can I host it?". On macOS, allow the
unsigned program once with xattr -d com.apple.quarantine ./rp.

Updating

From 0.1.1 on: Dashboard › Updates in the admin, or rp update on the server. Running sites
switch to the new version without dropping a request. Earlier versions: replace the rp program
and restart once.

To put a site online (systemd service, HTTPS with Caddy or nginx, Docker, Windows and macOS
services, email, backups, updates), follow
HOSTING.md, which is also
inside every download.

Full Changelog: v0.1.1...v0.1.2