Deploy px0
Browser review workbench for AI-generated code and pull requests
Just deployed
/data
Deploy and Host px0 on Railway
px0 is an open-source (MIT) review workbench and fast browser IDE for AI-generated code. It opens GitHub, GitLab, Gitea/Forgejo and Bitbucket pull requests as scoped diffs, lets you search and navigate large repositories, edit files in place and keep review drafts between sessions. It is a single Go binary.
About Hosting px0
px0 has no login of its own and its workbench can browse the server's file system, so this template puts it on a loopback port behind Caddy with HTTP basic auth. You sign in as admin with the password Railway generates (PX0_PASSWORD on the service's Variables tab). The workbench list, review drafts and cloned repositories live in /data on a Railway volume, so they survive redeploys. The service starts in about a minute and peaked at about 50 MB of RAM in our test while reviewing a pull request (larger repositories need more), so it runs on Railway's Free plan (0.5 GB). Telemetry and px0's self-update are switched off.
Common Use Cases
- Review pull requests opened by coding agents (Claude Code, Codex, Cursor) in a fast browser diff view, from any device
- Read and search a large repository without installing an editor
- Keep a shared, always-on review workbench with drafts that persist between sessions
Dependencies for px0 Hosting
- px0 v0.1.21, built from the upstream release commit
- Caddy 2.11 (basic auth and reverse proxy, in the same container)
Deployment Dependencies
Implementation Details
After deploy, open the public URL, sign in as admin with PX0_PASSWORD, then paste a pull request URL (for example https://github.com/OWNER/REPO/pull/123) or a folder path into the workbench. Public pull requests work without a token. For private repositories, higher GitHub API limits or posting review comments, set GITHUB_TOKEN (a fine-grained token with Pull requests and Contents access). GitLab, Gitea and Bitbucket work the same way with GITLAB_TOKEN + GITLAB_HOST, GITEA_TOKEN + GITEA_HOST or BITBUCKET_TOKEN + BITBUCKET_EMAIL, added on the Variables tab.
Coding-agent CLIs and language servers are not installed in the image, so px0's "send to agent" buttons and LSP features stay unavailable; reviewing, searching and editing work, and posting review comments works once a token is set. Requests from other sites are rejected. Updates: the service builds from the template repo, and Railway shows "update available" when a new px0 version is pinned there; read the changelog first.
Why Deploy px0 on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying px0 on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Template Content

