Get Started
Getting Started With ZeroPress
Choose how you want to manage your content:
- WordPress to keep your editor and publish with ZeroPress Static.
- Studio for writing and publishing in your browser.
- Markdown for a site maintained in Git.
The steps below use the recommended GitHub and Cloudflare starter setup, which requires accounts with both services. The generated static files can also be hosted elsewhere.
Each starter’s Deploy to Cloudflare button creates a GitHub repository and deploys a sample site. Keep the default build command npm run build and deploy command npm run deploy. Cloudflare rebuilds the site when changes are pushed to the connected branch.
Publish From WordPress
ZeroPress Static keeps WordPress as your editor and prepares the files consumed by WXR Starter. Start at a separate site address while your existing WordPress site stays in place.
- Deploy WXR Starter using the button above.
- In WordPress, open Plugins → Add New Plugin, search for ZeroPress Static, then select Install Now and Activate. For manual ZIP installation, see the installation guide.
- Open ZeroPress → Settings. Save your site settings and GitHub publishing target, register a token for that repository with Contents: Read and write, and test the connection.
- Open ZeroPress → Publish, prepare the data, review it, and confirm Publish to GitHub. The plugin updates your content and build settings in one commit, and the connected build service builds and deploys the static site.
Continue editing in WordPress, then use the plugin to publish each update. See WordPress Publishing for setup details, download-based builds, media, and optional WordPress comments.
Try WordPress Content
Use an existing WordPress export (WXR) with the same starter, without installing ZeroPress Static. The original WordPress site can stay offline when media is available and comments are disabled. Follow the starter’s existing-export guide for import and media setup.
Publish With Studio
Use Studio Starter for the public site. Studio itself runs as a separate application.
- If you do not have Studio yet, follow the Studio Quick Start.
- Deploy Studio Starter using the button above.
- Open
zeropress-preview-data.jsonon your new repository’smainbranch and copy its GitHub file URL. - In Studio, open Site Settings → Publishing, paste the URL, and use Create GitHub token to create a token for that repository with Contents: write permission. Enter the token, enable publishing, check the connection, and save. Set your public site URL in Studio’s site settings.
- Create and publish a post in Studio. Open Publish, select Publish to GitHub, and confirm to replace the starter’s sample content.
Studio confirms the GitHub update. Check the Cloudflare build result to see when the public site has been updated. For local preview and theme changes, see the starter README.
Publish Markdown
Markdown Starter includes a documentation theme with navigation, search, and page outlines.
- Deploy the starter using the button above.
- Edit
documents/index.mdin your repository to change the home page. - Set your site title and public URL in
documents/.zeropress/config.json. - Commit and push your changes to update the site.
The sample documents include navigation, frontmatter, and formatting examples. See the Build Pages guide for Markdown and configuration options, or the starter README for local preview commands.
Customize Or Build Locally
Each starter README covers local preview and theme changes. To create your own theme, use Customize a Theme. If you already generate Preview Data, see CLI Tools for direct builds.